Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release SDK v2.0.0-alpah-1 #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 66 additions & 1 deletion .github/config/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,75 @@
"config_file": "default"
},
{
"name": "bluetooth-le-central",
"name": "Bootloader",
"example_name": "bootloader-app",
"config_file": "default"
},
{
"name": "bluetooth-le-central-data-rate",
"example_name": "bluetooth-le/central/central-data-rate",
"config_file": "default"
},
{
"name": "bluetooth-le-central-trsp",
"example_name": "bluetooth-le/central/central-trsp",
"config_file": "default"
},
{
"name": "bluetooth-le-multi-1c1p",
"example_name": "bluetooth-le/multi-link/multi-1c1p",
"config_file": "default"
},
{
"name": "bluetooth-le-power-management",
"example_name": "bluetooth-le/multi-link/power-management",
"config_file": "default"
},
{
"name": "bluetooth-le-at-command",
"example_name": "bluetooth-le/others/at-command",
"config_file": "default"
},
{
"name": "bluetooth-le-ibeacon",
"example_name": "bluetooth-le/others/ibeacon",
"config_file": "default"
},
{
"name": "bluetooth-le-script-test",
"example_name": "bluetooth-le/others/script-test",
"config_file": "default_1link"
},
{
"name": "bluetooth-le-periph-data-rate",
"example_name": "bluetooth-le/peripheral/periph-data-rate",
"config_file": "default"
},
{
"name": "bluetooth-le-periph-hogp",
"example_name": "bluetooth-le/peripheral/periph-hogp",
"config_file": "default"
},
{
"name": "bluetooth-le-periph-hrs",
"example_name": "bluetooth-le/peripheral/periph-hrs",
"config_file": "default"
},
{
"name": "bluetooth-le-periph-iot-test",
"example_name": "bluetooth-le/peripheral/periph-iot-test",
"config_file": "default"
},
{
"name": "bluetooth-le-periph-trsp",
"example_name": "bluetooth-le/peripheral/periph-trsp",
"config_file": "default"
},
{
"name": "bluetooth-le-periph-trsp-fota",
"example_name": "bluetooth-le/peripheral/periph-trsp-fota",
"config_file": "default"
},
{
"name": "Multi-RCP-Default-EVB",
"example_name": "multi-rcp",
Expand Down
2 changes: 1 addition & 1 deletion cmake/extension.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,10 @@ endfunction()
function(app_git_version git_version)
execute_process(
COMMAND git describe --dirty=-test --always --tags --long --match "${CONFIG_BUILD_PORJECT}*"
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_REV OUTPUT_STRIP_TRAILING_WHITESPACE
ERROR_QUIET
)
message("${CONFIG_BUILD_PORJECT}-" "${GIT_REV}")
string(REPLACE "${CONFIG_BUILD_PORJECT}-" "" var ${GIT_REV})
set(${git_version} ${var} PARENT_SCOPE)
endfunction()
Expand Down
2 changes: 2 additions & 0 deletions components/network/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_RUCI ${CMAKE_CURRENT_LIST_DIR}
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_LMAC5P4 ${CMAKE_CURRENT_LIST_DIR}/lmac15p4)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_BLUETOOTH ${CMAKE_CURRENT_LIST_DIR}/bluetooth)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_ZIGBEE ${CMAKE_CURRENT_LIST_DIR}/zigbee)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_SUBG_CTRL ${CMAKE_CURRENT_LIST_DIR}/subg_ctrl)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD ${CMAKE_CURRENT_LIST_DIR}/thread)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD_SUBG ${CMAKE_CURRENT_LIST_DIR}/thread)
endif()
56 changes: 50 additions & 6 deletions components/network/bluetooth/ble-host/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
sdk_add_static_library(ble_host)
sdk_add_static_library(ble_cmd_api)
sdk_add_static_library(ble_service)
sdk_add_include_directories(
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/include
${CMAKE_CURRENT_LIST_DIR}/hci/include
${CMAKE_CURRENT_LIST_DIR}/lib-host/include
${CMAKE_CURRENT_LIST_DIR}/fota/include
)
sdk_add_include_directories(
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/include
sdk_library_add_sources(
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_advertising.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_att_gatt.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_common.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_connect_cte.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_gap.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_privacy.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_scan.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_cmd_security_manager.c
${CMAKE_CURRENT_LIST_DIR}/ble-cmd-api/src/ble_host_ref.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_FOTA ${CMAKE_CURRENT_LIST_DIR}/fota/src/ble_fota.c
)

sdk_add_include_directories(
Expand All @@ -23,4 +31,40 @@ sdk_add_include_directories(
${CMAKE_CURRENT_LIST_DIR}/ble-service/mesh_prov/include
${CMAKE_CURRENT_LIST_DIR}/ble-service/mesh_proxy/include
${CMAKE_CURRENT_LIST_DIR}/ble-service/trsps/include
)
sdk_library_add_sources(
${CMAKE_CURRENT_LIST_DIR}/ble-service/common/src/ble_service_common.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_BAS ${CMAKE_CURRENT_LIST_DIR}/ble-service/bas/src/ble_service_bas.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_BLS ${CMAKE_CURRENT_LIST_DIR}/ble-service/bls/src/ble_service_bls.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_DIS ${CMAKE_CURRENT_LIST_DIR}/ble-service/dis/src/ble_service_dis.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_FOTA ${CMAKE_CURRENT_LIST_DIR}/ble-service/fota/src/ble_service_fotas.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_GAP ${CMAKE_CURRENT_LIST_DIR}/ble-service/gaps/src/ble_service_gaps.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_GATT ${CMAKE_CURRENT_LIST_DIR}/ble-service/gatts/src/ble_service_gatts.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_HID ${CMAKE_CURRENT_LIST_DIR}/ble-service/hids/src/ble_service_hids.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_HRS ${CMAKE_CURRENT_LIST_DIR}/ble-service/hrs/src/ble_service_hrs.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_MESH ${CMAKE_CURRENT_LIST_DIR}/ble-service/mesh_prov/src/ble_service_mesh_prov.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_MESH ${CMAKE_CURRENT_LIST_DIR}/ble-service/mesh_proxy/src/ble_service_mesh_proxy.c
)
sdk_library_add_sources_ifdef(
CONFIG_BLUETOOTH_LE_SERVICE_TRSP ${CMAKE_CURRENT_LIST_DIR}/ble-service/trsps/src/ble_service_trsps.c
)
Binary file modified components/network/bluetooth/ble-host/libble_host.a
Binary file not shown.
62 changes: 34 additions & 28 deletions components/network/lmac15p4/Inc/lmac15p4.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@
#include <stdlib.h>
#include <string.h>

typedef enum
{
LMAC15P4_SUBG_FSK = 1,
typedef enum {
LMAC15P4_SUBG_FSK = 1,
LMAC15P4_2P4G_OQPSK = 2,
LMAC15P4_SUBG_OQPSK = 4,
} lmac15p4_modem_t;

typedef enum
{
typedef enum {
LMAC154_CHANNEL_11 = 0,
LMAC154_CHANNEL_12,
LMAC154_CHANNEL_13,
Expand All @@ -42,49 +40,57 @@ typedef enum
LMAC154_CHANNEL_25,
LMAC154_CHANNEL_26,
} lmac154_channel_t;
typedef void(pf_rx_done_cb)(uint16_t packet_length, uint8_t *pdata,

typedef void(pf_rx_done_cb)(uint16_t packet_length, uint8_t* pdata,
uint8_t crc_status, uint8_t rssi, uint8_t snr);
typedef void(pf_tx_done_cb)(uint32_t tx_status);
typedef struct
{
pf_rx_done_cb *rx_cb;
pf_tx_done_cb *tx_cb;
} lmac15p4_callback_t;

typedef struct {
pf_rx_done_cb* rx_cb;
pf_tx_done_cb* tx_cb;
} lmac15p4_callback_t;

void lmac15p4_RxDoneEvent(uint16_t packet_length, uint8_t *pdata,
void lmac15p4_RxDoneEvent(uint16_t packet_length, uint8_t* pdata,
uint8_t crc_status, uint8_t rssi, uint8_t snr);
void lmac15p4_TxDoneEvent(uint32_t tx_status);
int lmac15p4_init(lmac15p4_modem_t modem, uint8_t band_type);
void lmac15p4_cb_set(uint32_t pan_idx, lmac15p4_callback_t *callback_set);
void lmac15p4_cb_set(uint32_t pan_idx, lmac15p4_callback_t* callback_set);
int lmac15p4_read_rssi(void);
char *lmac15p4_get_version(void);
int lmac15p4_tx_data_send(uint32_t pan_idx, uint8_t *tx_data_address, uint16_t packet_length, uint8_t mac_control, uint8_t mac_dsn);
char* lmac15p4_get_version(void);
int lmac15p4_tx_data_send(uint32_t pan_idx, uint8_t* tx_data_address,
uint16_t packet_length, uint8_t mac_control,
uint8_t mac_dsn);
void lmac15p4_address_filter_set(uint32_t pan_idx, uint8_t mac_promiscuous_mode,
uint16_t short_source_address,
uint32_t long_source_address_0, uint32_t long_source_address_1,
uint32_t long_source_address_0,
uint32_t long_source_address_1,
uint16_t pan_id, uint8_t is_coordinator);
void lmac15p4_mac_pib_set(uint32_t a_unit_backoff_period,
uint32_t mac_ack_wait_duration, uint8_t mac_max_BE,
uint8_t mac_max_CSMA_backoffs, uint32_t mac_max_frame_total_wait_time,
uint8_t mac_max_CSMA_backoffs,
uint32_t mac_max_frame_total_wait_time,
uint8_t mac_max_frame_retries, uint8_t mac_min_BE);
void lmac15p4_phy_pib_set(uint16_t a_turnaround_time, uint8_t phy_cca_mode,
uint8_t phy_cca_threshold, uint16_t phy_cca_duration);
void lmac15p4_auto_ack_set(uint32_t auto_ack_enable);
void lmac15p4_auto_state_set(uint32_t auto_state_enable);
void lmac15p4_channel_set(lmac154_channel_t ch);
void lmac15p4_ack_pending_bit_set(uint32_t pan_idx, uint32_t pending_bit_enable);
void lmac15p4_ack_pending_bit_set(uint32_t pan_idx,
uint32_t pending_bit_enable);
void lmac15p4_src_match_ctrl(uint32_t pan_idx, uint32_t enable);
void lmac15p4_src_match_short_entry(uint8_t control_type, uint8_t *short_addr);
void lmac15p4_src_match_extended_entry(uint8_t control_type, uint8_t *extended_addr);
void lmac15p4_src_match_short_entry(uint8_t control_type, uint8_t* short_addr);
void lmac15p4_src_match_extended_entry(uint8_t control_type,
uint8_t* extended_addr);
void lmac15p4_csl_receiver_ctrl(uint8_t csl_receiver_ctrl, uint16_t csl_period);
void lmac15p4_csl_accuracy_get(uint8_t *csl_accuracy);
void lmac15p4_csl_uncertainty_get(uint8_t *csl_uncertainty);
void lmac15p4_csl_accuracy_get(uint8_t* csl_accuracy);
void lmac15p4_csl_uncertainty_get(uint8_t* csl_uncertainty);
void lmac15p4_csl_sample_time_update(uint32_t csl_sample_time);
uint32_t lmac15p4_read_ack(uint8_t *ack_data, uint8_t *ack_time);
void lmac15p4_key_set(uint32_t pan_idx, uint8_t *key);
void lmac15p4_rtc_time_read(uint32_t *rtc_time);
void lmac15p4_rx_rtc_time_read(uint8_t rx_cnt, uint32_t *rx_rtc_time);
uint32_t lmac15p4_frame_counter_get(void);
void lmac15p4_2ch_scan_set(uint32_t eanble, lmac154_channel_t ch1, lmac154_channel_t ch2);
uint32_t lmac15p4_read_ack(uint8_t* ack_data, uint8_t* ack_time,
uint8_t is2bytephr);
void lmac15p4_key_set(uint32_t pan_idx, uint8_t* key);
void lmac15p4_rtc_time_read(uint32_t* rtc_time);
void lmac15p4_rx_rtc_time_read(uint8_t rx_cnt, uint32_t* rx_rtc_time);
uint32_t lmac15p4_frame_counter_get(void);
void lmac15p4_2ch_scan_set(uint32_t eanble, lmac154_channel_t ch1,
lmac154_channel_t ch2);
#endif
57 changes: 55 additions & 2 deletions components/network/thread/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ elseif(CONFIG_OT_DEVICE_TYPE_MTD)
option(OT_FTD "" OFF)
option(OT_MTD "" ON)
option(OT_RCP "" OFF)
# add_definitions(-DOPENTHREAD_CONFIG_LOG_LEVEL=OT_LOG_LEVEL_DEBG)
elseif(CONFIG_OT_DEVICE_TYPE_RCP)
sdk_add_link_libraries(openthread-rcp)
sdk_add_link_libraries(openthread-cli-radio)
Expand Down Expand Up @@ -71,11 +72,63 @@ add_compile_options(
-Wimplicit-fallthrough=0 -Wno-switch-default
-DOPENTHREAD_CONFIG_MLE_MAX_CHILDREN=16
)

if(CONFIG_BUILD_COMPONENT_OPENTHREAD)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD ${CMAKE_CURRENT_LIST_DIR}/openthread)
add_definitions(
-DOPENTHREAD_CONFIG_RADIO_2P4GHZ_OQPSK_SUPPORT=1
-DOPENTHREAD_CONFIG_RADIO_915MHZ_OQPSK_SUPPORT=0
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_SUPPORT=0
)
elseif(CONFIG_BUILD_COMPONENT_OPENTHREAD_SUBG)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD ${CMAKE_CURRENT_LIST_DIR}/subg_openthread)
add_definitions(
-DOPENTHREAD_CONFIG_RADIO_2P4GHZ_OQPSK_SUPPORT=0
-DOPENTHREAD_CONFIG_RADIO_915MHZ_OQPSK_SUPPORT=0
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_SUPPORT=1
-DOPENTHREAD_CONFIG_DEFAULT_CHANNEL=1
-DOPENTHREAD_CONFIG_MLE_ATTACH_BACKOFF_MINIMUM_INTERVAL=1024
-DOPENTHREAD_CONFIG_MLE_ATTACH_BACKOFF_MAXIMUM_INTERVAL=300000
-DOPENTHREAD_CONFIG_MLE_LINK_REQUEST_MARGIN_MIN=30
)
if(CONFIG_SUBG_FREQUENCY_BAND_433) #433-435(spacing 500)
add_definitions(
-DOPENTHREAD_CONFIG_CHANNEL_FREQUENCY=433000
-DOPENTHREAD_CONFIG_CHANNEL_SPACING=500
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK=0x0000001f
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MIN=1
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MAX=4
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_PAGE=5
)
elseif(CONFIG_SUBG_FREQUENCY_BAND_470) #470-510(spacing 2000)
add_definitions(
-DOPENTHREAD_CONFIG_CHANNEL_FREQUENCY=470000
-DOPENTHREAD_CONFIG_CHANNEL_SPACING=2000
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK=0x001fffff
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MIN=1
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MAX=20
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_PAGE=4
)
elseif(CONFIG_SUBG_FREQUENCY_BAND_868) #863-870(spacing 500)
add_definitions(
-DOPENTHREAD_CONFIG_CHANNEL_FREQUENCY=868000
-DOPENTHREAD_CONFIG_CHANNEL_SPACING=500
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK=0x00007fff
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MIN=1
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MAX=14
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_PAGE=3
)
elseif(CONFIG_SUBG_FREQUENCY_BAND_915) #920-925(spacing 500), 915 MHZ range is (902~928), but Taiwan range is (920~925)
add_definitions(
-DOPENTHREAD_CONFIG_CHANNEL_FREQUENCY=920000
-DOPENTHREAD_CONFIG_CHANNEL_SPACING=500
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MASK=0x000007ff
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MIN=1
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_MAX=10
-DOPENTHREAD_CONFIG_PLATFORM_RADIO_PROPRIETARY_CHANNEL_PAGE=2
)
endif()
endif()
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD_SUBG ${CMAKE_CURRENT_LIST_DIR}/openthread)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD ${CMAKE_CURRENT_LIST_DIR}/openthread)
sdk_add_subdirectory_ifdef(CONFIG_BUILD_COMPONENT_OPENTHREAD_PORT ${CMAKE_CURRENT_LIST_DIR}/openthread_port)

# if(${${CONFIG_THREAD_DISABLE_PRINT}})
Expand Down
23 changes: 19 additions & 4 deletions components/network/thread/Kconfig
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
menu "THREAD"

config RADIO_2P4GHZ_OQPSK_SUPPORT
# depends on BUILD_COMPONENT_OPENTHREAD
# bool "2.4G"
depends on BUILD_COMPONENT_OPENTHREAD
bool "2.4G"
def_bool false
help
2.4G

config RADIO_SUBGHZ_OQPSK_SUPPORT
# depends on BUILD_COMPONENT_OPENTHREAD_SUBG
# bool "Sub-G"
depends on BUILD_COMPONENT_OPENTHREAD_SUBG
bool "Sub-G"
def_bool false
help
Sub-G
choice RADIO_BAND_SELECTION
prompt "RADIO BAND SELECTION"
default SUBG_FREQUENCY_BAND_915
config SUBG_FREQUENCY_BAND_915
bool "915MHz"
config SUBG_FREQUENCY_BAND_868
bool "868MHz"
config SUBG_FREQUENCY_BAND_470
bool "470MHz"
config SUBG_FREQUENCY_BAND_433
bool "433MHz"

endchoice


config OPENTHREAD_TASK_SIZE
int "OPENTHREAD TASK SIZE"
default 4096
Expand Down
2 changes: 1 addition & 1 deletion components/network/thread/openthread/src/core/config/mac.h
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT
#define OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT 100
#define OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT 1000
#endif

#endif // CONFIG_MAC_H_
2 changes: 1 addition & 1 deletion components/network/thread/openthread/src/core/mac/mac.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace Mac {

constexpr uint32_t kDataPollTimeout =
OPENTHREAD_CONFIG_MAC_DATA_POLL_TIMEOUT; ///< Timeout for receiving Data Frame (in msec).
constexpr uint32_t kSleepDelay = 300; ///< Max sleep delay when frame is pending (in msec)
constexpr uint32_t kSleepDelay = 500; ///< Max sleep delay when frame is pending (in msec)

constexpr uint16_t kScanDurationDefault = OPENTHREAD_CONFIG_MAC_SCAN_DURATION; ///< Duration per channel (in msec).

Expand Down
Loading
Loading