|
Wirepas SDK
|
|
Go to the documentation of this file.
16 #ifndef APP_LIB_JOINING_H_
17 #define APP_LIB_JOINING_H_
29 #define APP_LIB_JOINING_NAME 0x000a2336
32 #define APP_LIB_JOINING_VERSION 0x200
40 #define APP_LIB_JOINING_MIN_INTERVAL 100
48 #define APP_LIB_JOINING_MAX_INTERVAL 8000
56 #define APP_LIB_JOINING_MIN_TIMEOUT 100
64 #define APP_LIB_JOINING_MAX_TIMEOUT 10000
73 #define APP_LIB_JOINING_MAX_PAYLOAD_NUM_BYTES 64
157 app_lib_joining_received_beacon_t;
170 const app_lib_joining_received_beacon_t * beacons,
@ APP_LIB_JOINING_RX_STATUS_STOPPED
app_lib_joining_beacon_rx_cb_f cb
uint8_t app_lib_settings_net_channel_t
Network channel type definition.
@ APP_LIB_JOINING_RX_STATUS_INTERRUPTED
app_res_e(* app_lib_joining_stop_joining_beacon_rx_f)(void)
Stop receiving joining beacons.
app_lib_joining_enable_remote_api_f enableRemoteApi
app_res_e(* app_lib_joining_enable_remote_api_f)(bool enable)
Enable or disable Remote API control for transmitting joining beacons.
app_res_e(* app_lib_joining_start_joining_beacon_tx_f)(const app_lib_joining_beacon_tx_param_t *param)
Start transmitting joining beacons.
@ APP_LIB_JOINING_RX_STATUS_DONE
app_lib_joining_start_joining_beacon_tx_f startJoiningBeaconTx
app_lib_settings_net_channel_t channel
uint32_t app_lib_settings_net_addr_t
Network address type definition.
app_res_e(* app_lib_joining_start_joining_process_f)(app_lib_settings_net_addr_t addr, app_lib_settings_net_channel_t channel)
Start the joining process by joining a cluster as a joining member.
Parameters for receiving joining beacons.
app_res_e(* app_lib_joining_stop_joining_process_f)(void)
Stop the joining process and restore network address and channel.
List of library functions.
app_lib_joining_start_joining_beacon_rx_f startJoiningBeaconRx
uint32_t app_lib_time_timestamp_coarse_t
Coarse timestamp type.
app_lib_joining_stop_joining_beacon_rx_f stopJoiningBeaconRx
app_lib_time_timestamp_coarse_t time
uint32_t max_exec_time_us
app_lib_settings_net_addr_t addr
app_res_e(* app_lib_joining_stop_joining_beacon_tx_f)(void)
Stop transmitting joining beacons.
@ APP_LIB_JOINING_RX_STATUS_OUT_OF_SPACE
app_lib_joining_start_joining_process_f startJoiningProcess
app_res_e(* app_lib_joining_start_joining_beacon_rx_f)(const app_lib_joining_beacon_rx_param_t *param)
Start receiving joining beacons.
Parameters for sending joining beacons.
struct app_lib_joining_received_beacon_s * next
void(* app_lib_joining_beacon_rx_cb_f)(app_lib_joining_rx_status_e status, const app_lib_joining_received_beacon_t *beacons, size_t num_beacons)
Function type for joining beacon RX callback.
app_lib_joining_enable_proxy_f enableProxy
app_lib_joining_stop_joining_beacon_tx_f stopJoiningBeaconTx
app_lib_joining_rx_status_e
Status values for beacon reception callback.
app_res_e(* app_lib_joining_enable_proxy_f)(bool enable)
Enable or disable built-in proxy for handling joining data packets.
app_lib_joining_stop_joining_process_f stopJoiningProcess