File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 7
7
#include " Arduino.h"
8
8
9
9
ZigbeeCore::ZigbeeCore () {
10
- _radio_config = ZIGBEE_DEFAULT_RADIO_CONFIG ();
11
- _host_config = ZIGBEE_DEFAULT_HOST_CONFIG ();
10
+ _radio_config. radio_mode = ZB_RADIO_MODE_NATIVE; // Use the native 15.4 radio
11
+ _host_config. host_connection_mode = ZB_HOST_CONNECTION_MODE_NONE; // Disable host connection
12
12
_zb_ep_list = esp_zb_ep_list_create ();
13
13
_primary_channel_mask = ESP_ZB_TRANSCEIVER_ALL_CHANNELS_MASK;
14
14
_open_network = 0 ;
Original file line number Diff line number Diff line change @@ -65,13 +65,6 @@ typedef enum {
65
65
} \
66
66
}
67
67
68
- // default Zigbee radio and host configuration
69
- #define ZIGBEE_DEFAULT_RADIO_CONFIG () \
70
- { .radio_mode = ZB_RADIO_MODE_NATIVE, }
71
-
72
- #define ZIGBEE_DEFAULT_HOST_CONFIG () \
73
- { .host_connection_mode = ZB_HOST_CONNECTION_MODE_NONE, }
74
-
75
68
class ZigbeeCore {
76
69
private:
77
70
esp_zb_radio_config_t _radio_config;
You can’t perform that action at this time.
0 commit comments