Wirepas SDK
msap_frames.h
Go to the documentation of this file.
1 /* Copyright 2017 Wirepas Ltd. All Rights Reserved.
2  *
3  * See file LICENSE.txt for full license details.
4  *
5  */
6 
7 #ifndef MSAP_FRAMES_H_
8 #define MSAP_FRAMES_H_
9 
10 #include <stdbool.h>
11 #include "multicast.h"
12 
18 #define APP_CONF_MAX 80
19 
25 typedef uint8_t otap_seq_t;
26 
33 #define MSAP_MAX_NBORS 8
34 
36 #define MSAP_AUTOSTART 1
37 
43 typedef enum
44 {
52 
54 typedef struct __attribute__ ((__packed__))
55 {
59  uint8_t link_rel;
61  int8_t rssi_norm;
63  uint8_t cost_0;
65  uint8_t channel;
67  uint8_t type;
69  int8_t tx_power;
71  int8_t rx_power;
73  uint16_t last_update;
75 
76 /* MSAP attributes */
77 
78 typedef enum
79 {
80  /* Read only */
91  /* Read / Write */
92  MSAP_ATTR_RESERVED_1 = 5, /* Old MSAP_ATTR_ENERGY */
96 } msap_attr_e;
97 
98 /* MSAP attributes lengths */
99 typedef enum
100 {
114  MULTICAST_ADDRESS_AMOUNT * sizeof(w_addr_t),
117 
118 /* FUNC_WAPS_MSAP_STACK_START_REQUEST */
119 
120 typedef struct __attribute__ ((__packed__))
121 {
122  uint8_t start_options;
124 
125 typedef struct __attribute__ ((__packed__))
126 {
128  uint8_t result;
130 
131 /* FUNC_WAPS_MSAP_STACK_START_CONFIRMATION */
132 /* FUNC_WAPS_MSAP_STACK_STOP_CONFIRMATION */
133 
134 typedef struct __attribute__ ((__packed__))
135 {
137  uint8_t seq;
138  uint16_t interval;
139  uint8_t config[APP_CONF_MAX];
141 
142 typedef struct __attribute__ ((__packed__))
143 {
145  uint8_t base_cost;
147 
148 typedef struct __attribute__ ((__packed__))
149 {
151  uint8_t result;
153  uint8_t base_cost;
155 
156 typedef struct __attribute__ ((__packed__))
157 {
159  uint8_t seq;
161  uint16_t interval;
163  uint8_t config[APP_CONF_MAX];
165 
166 typedef struct __attribute__ ((__packed__))
167 {
169  uint8_t result;
171  uint8_t seq;
172  uint16_t interval;
173  uint8_t config[APP_CONF_MAX];
175 
176 typedef struct __attribute__ ((__packed__))
177 {
178  uint8_t queued;
180 
182 typedef enum
183 {
191 
193 typedef struct __attribute__ ((__packed__))
194 {
196  uint32_t num_bytes;
200 
202 typedef enum
203 {
215 
217 #define MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES 112
218 
220 typedef struct __attribute__ ((__packed__))
221 {
223  uint32_t start_addr;
225  uint8_t num_bytes;
229 
230 #define FRAME_MSAP_SCRATCHPAD_BLOCK_REQ_HEADER_SIZE \
231  (sizeof(msap_scratchpad_block_req_t) - MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES)
232 
234 typedef enum
235 {
253 
255 typedef struct __attribute__ ((__packed__))
256 {
258  uint32_t num_bytes;
259  uint16_t crc;
260  uint8_t seq;
261  uint8_t type;
262  uint8_t status;
268  uint16_t processed_crc;
269  uint8_t processed_seq;
270  uint32_t area_id;
272  uint8_t major_version;
273  uint8_t minor_version;
274  uint8_t maint_version;
275  uint8_t devel_version;
277 
279 typedef enum
280 {
286 
288 typedef struct __attribute__ ((__packed__))
289 {
293 
298 typedef enum
299 {
302 
304 typedef struct __attribute__ ((__packed__))
305 {
309  uint32_t num_bytes;
310  uint16_t crc;
311  uint8_t seq;
312  uint8_t type;
313  uint8_t status;
319  uint16_t processed_crc;
320  uint8_t processed_seq;
321  uint32_t area_id;
323  uint8_t major_version;
324  uint8_t minor_version;
325  uint8_t maint_version;
326  uint8_t devel_version;
329 
331 typedef enum
332 {
337 
339 typedef enum
340 {
344 
346 typedef struct __attribute__ ((__packed__))
347 {
349  uint8_t scan_ready;
351 
353 typedef struct __attribute__ ((__packed__))
354 {
356  uint8_t result;
360 
362 typedef enum
363 {
370 
372 typedef struct __attribute__ ((__packed__))
373 {
375  uint32_t seconds;
377  uint32_t app_config_nrls;
379 
381 typedef struct __attribute__ ((__packed__))
382 {
384  uint8_t sleep_started;
385  uint32_t sleep_seconds;
386 
388 
390 typedef struct __attribute__ ((__packed__))
391 {
394 
396 
398 typedef struct
399 {
401  uint8_t result;
403  uint8_t quality;
405  uint8_t error_codes;
407 
409 typedef enum
410 {
424 
426 typedef struct __attribute__ ((__packed__))
427 {
431  uint16_t target_crc;
433  uint8_t action;
435  uint8_t param;
437 
439 typedef enum
440 {
450 
452 typedef struct __attribute__ ((__packed__))
453 {
455  uint8_t result;
458  uint16_t target_crc;
459  uint8_t action;
460  uint8_t param;
462 
464 #define MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES (MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES)
465 
467 typedef struct __attribute__ ((__packed__))
468 {
470  uint32_t start_addr;
472  uint8_t num_bytes;
474 
476 typedef enum
477 {
491 
493 typedef struct __attribute__ ((__packed__))
494 {
496  uint8_t result;
500 
501 #define FRAME_MSAP_SCRATCHPAD_BLOCK_READ_CNF_HEADER_SIZE \
502  (sizeof(msap_scratchpad_block_read_cnf_t) - MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES)
503 
504 typedef union
505 {
529 } frame_msap;
530 
531 #endif /* MSAP_FRAMES_H_ */
MSAP_SCRATCHPAD_TARGET_INVALID_ROLE
@ MSAP_SCRATCHPAD_TARGET_INVALID_ROLE
Definition: msap_frames.h:444
MSAP_ATTR_CURRENT_AC
@ MSAP_ATTR_CURRENT_AC
Definition: msap_frames.h:88
msap_sink_cost_write_req_t::base_cost
uint8_t base_cost
Definition: msap_frames.h:145
msap_neighbor_type_e
msap_neighbor_type_e
MSAP nbor type.
Definition: msap_frames.h:43
frame_msap::int_ind
msap_int_ind_t int_ind
Definition: msap_frames.h:513
MSAP_SCRATCHPAD_BLOCK_READ_INVALID_START_ADDR
@ MSAP_SCRATCHPAD_BLOCK_READ_INVALID_START_ADDR
Definition: msap_frames.h:483
msap_scratchpad_status_cnf_t::processed_num_bytes
uint32_t processed_num_bytes
Definition: msap_frames.h:267
MSAP_SLEEP_INVALID_VALUE
@ MSAP_SLEEP_INVALID_VALUE
Definition: msap_frames.h:367
MSAP_SCRATCHPAD_START_ACCESS_DENIED
@ MSAP_SCRATCHPAD_START_ACCESS_DENIED
Definition: msap_frames.h:213
MSAP_ATTR_SCRATCHPAD_BLOCK_MAX
@ MSAP_ATTR_SCRATCHPAD_BLOCK_MAX
Definition: msap_frames.h:89
frame_msap::remote_status_ind
msap_remote_status_ind_t remote_status_ind
Definition: msap_frames.h:519
msap_remote_status_ind_t::update_req_timeout
uint16_t update_req_timeout
Definition: msap_frames.h:327
frame_msap::scratchpad_block_read_req
msap_scratchpad_block_read_req_t scratchpad_block_read_req
Definition: msap_frames.h:527
msap_scratchpad_status_cnf_t::devel_version
uint8_t devel_version
Definition: msap_frames.h:275
frame_msap::remote_status_req
msap_remote_status_req_t remote_status_req
Definition: msap_frames.h:518
MSAP_SCRATCHPAD_START_SUCCESS
@ MSAP_SCRATCHPAD_START_SUCCESS
Definition: msap_frames.h:205
MSAP_SCRATCHPAD_BLOCK_READ_ACCESS_DENIED
@ MSAP_SCRATCHPAD_BLOCK_READ_ACCESS_DENIED
Definition: msap_frames.h:489
MSAP_ATTR_RESERVED_1_SIZE
@ MSAP_ATTR_RESERVED_1_SIZE
Definition: msap_frames.h:105
MSAP_NRLS_SLEEP_NOT_STARTED
@ MSAP_NRLS_SLEEP_NOT_STARTED
Definition: msap_frames.h:342
msap_scratchpad_target_write_res_e
msap_scratchpad_target_write_res_e
Definition: msap_frames.h:439
MSAP_SCRATCHPAD_BLOCK_INVALID_NUM_BYTES
@ MSAP_SCRATCHPAD_BLOCK_INVALID_NUM_BYTES
Definition: msap_frames.h:249
msap_attr_size_e
msap_attr_size_e
Definition: msap_frames.h:99
MSAP_SLEEP_INVALID_STATE
@ MSAP_SLEEP_INVALID_STATE
Definition: msap_frames.h:365
msap_scratchpad_target_write_req_t::target_sequence
uint8_t target_sequence
Definition: msap_frames.h:429
MSAP_ATTR_NBOR_COUNT
@ MSAP_ATTR_NBOR_COUNT
Definition: msap_frames.h:84
MSAP_ATTR_AUTOSTART_SIZE
@ MSAP_ATTR_AUTOSTART_SIZE
Definition: msap_frames.h:106
msap_remote_status_e
msap_remote_status_e
Definition: msap_frames.h:298
frame_msap::int_write_req
msap_int_write_req_t int_write_req
Definition: msap_frames.h:508
MSAP_ATTR_ROUTE_COUNT
@ MSAP_ATTR_ROUTE_COUNT
Definition: msap_frames.h:85
msap_int_ind_t
Definition: msap_frames.h:134
msap_start_req_t
Definition: msap_frames.h:120
frame_msap::scratchpad_target_read_cnf
msap_scratchpad_target_read_cnf_t scratchpad_target_read_cnf
Definition: msap_frames.h:526
NEIGHBOR_IS_MEMBER
@ NEIGHBOR_IS_MEMBER
Definition: msap_frames.h:48
MSAP_SCRATCHPAD_BLOCK_INVALID_DATA
@ MSAP_SCRATCHPAD_BLOCK_INVALID_DATA
Definition: msap_frames.h:251
otap_seq_t
uint8_t otap_seq_t
Type for OTAP sequence number.
Definition: msap_frames.h:25
msap_neighbor_entry_t::rx_power
int8_t rx_power
Definition: msap_frames.h:71
msap_scratchpad_status_cnf_t
Definition: msap_frames.h:255
msap_scratchpad_status_cnf_t::minor_version
uint8_t minor_version
Definition: msap_frames.h:273
msap_scratchpad_status_cnf_t::processed_seq
uint8_t processed_seq
Definition: msap_frames.h:269
msap_start_req_t::start_options
uint8_t start_options
Definition: msap_frames.h:122
frame_msap::inst_qual_cnf
msap_install_quality_cnf_t inst_qual_cnf
Definition: msap_frames.h:524
msap_scratchpad_target_write_req_t::action
uint8_t action
Definition: msap_frames.h:433
msap_int_ind_t::seq
uint8_t seq
Definition: msap_frames.h:137
msap_install_quality_cnf_t::quality
uint8_t quality
Definition: msap_frames.h:403
MSAP_SCRATCHPAD_ACTION_LEGACY
@ MSAP_SCRATCHPAD_ACTION_LEGACY
Definition: msap_frames.h:422
msap_scratchpad_target_read_cnf_t
Definition: msap_frames.h:452
msap_scratchpad_block_e
msap_scratchpad_block_e
Definition: msap_frames.h:234
MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES
#define MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES
Definition: msap_frames.h:464
MSAP_SCRATCHPAD_TARGET_INVALID_VALUE
@ MSAP_SCRATCHPAD_TARGET_INVALID_VALUE
Definition: msap_frames.h:446
msap_remote_status_ind_t
Definition: msap_frames.h:304
msap_sleep_state_rsp_t::sleep_seconds
uint32_t sleep_seconds
Definition: msap_frames.h:385
msap_neighbor_entry_t::tx_power
int8_t tx_power
Definition: msap_frames.h:69
msap_remote_status_ind_t::source
w_addr_t source
Definition: msap_frames.h:307
msap_sleep_state_rsp_t::sleep_started
uint8_t sleep_started
Definition: msap_frames.h:384
msap_scratchpad_block_req_t::start_addr
uint32_t start_addr
Definition: msap_frames.h:223
msap_scratchpad_target_write_req_t::target_crc
uint16_t target_crc
Definition: msap_frames.h:431
msap_sink_cost_write_req_t
Definition: msap_frames.h:142
frame_msap::nbor_cnf
msap_neighbors_cnf_t nbor_cnf
Definition: msap_frames.h:512
frame_msap::scratchpad_target_write_req
msap_scratchpad_target_write_req_t scratchpad_target_write_req
Definition: msap_frames.h:525
MSAP_SCRATCHPAD_START_INVALID_STATE
@ MSAP_SCRATCHPAD_START_INVALID_STATE
Definition: msap_frames.h:207
MSAP_SCAN_NBORS_INVALID_STATE
@ MSAP_SCAN_NBORS_INVALID_STATE
Definition: msap_frames.h:334
msap_neighbor_entry_t::link_rel
uint8_t link_rel
Definition: msap_frames.h:59
MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES
#define MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES
Definition: msap_frames.h:217
msap_sleep_latest_gotosleep_rsp_t::gotoNRSL_seconds
uint32_t gotoNRSL_seconds
Definition: msap_frames.h:393
MSAP_ATTR_SCRATCHPAD_BLOCK_MAX_SIZE
@ MSAP_ATTR_SCRATCHPAD_BLOCK_MAX_SIZE
Definition: msap_frames.h:112
MSAP_ATTR_PDU_BUFF_USAGE
@ MSAP_ATTR_PDU_BUFF_USAGE
Definition: msap_frames.h:82
MSAP_SCRATCHPAD_ACTION_NO_OTAP
@ MSAP_SCRATCHPAD_ACTION_NO_OTAP
Definition: msap_frames.h:412
MSAP_SCRATCHPAD_TARGET_ACCESS_DENIED
@ MSAP_SCRATCHPAD_TARGET_ACCESS_DENIED
Definition: msap_frames.h:448
msap_scratchpad_status_cnf_t::area_id
uint32_t area_id
Definition: msap_frames.h:270
msap_int_write_req_t
Definition: msap_frames.h:156
MSAP_ATTR_CURRENT_AC_SIZE
@ MSAP_ATTR_CURRENT_AC_SIZE
Definition: msap_frames.h:111
MSAP_SCRATCHPAD_BOOTABLE_INVALID_STATE
@ MSAP_SCRATCHPAD_BOOTABLE_INVALID_STATE
Definition: msap_frames.h:282
MSAP_SLEEP_ACCESS_DENIED
@ MSAP_SLEEP_ACCESS_DENIED
Definition: msap_frames.h:368
msap_sleep_start_req_t::app_config_nrls
uint32_t app_config_nrls
Definition: msap_frames.h:377
msap_neighbor_entry_t::last_update
uint16_t last_update
Definition: msap_frames.h:73
MSAP_SCRATCHPAD_BLOCK_COMPLETED_ERROR
@ MSAP_SCRATCHPAD_BLOCK_COMPLETED_ERROR
Definition: msap_frames.h:241
MSAP_SCRATCHPAD_BLOCK_NOT_ONGOING
@ MSAP_SCRATCHPAD_BLOCK_NOT_ONGOING
Definition: msap_frames.h:245
MSAP_SCRATCHPAD_BLOCK_READ_INVALID_STATE
@ MSAP_SCRATCHPAD_BLOCK_READ_INVALID_STATE
Definition: msap_frames.h:481
msap_sleep_state_rsp_t
Definition: msap_frames.h:381
NEIGHBOR_IS_CLUSTER
@ NEIGHBOR_IS_CLUSTER
Definition: msap_frames.h:50
msap_int_ind_t::interval
uint16_t interval
Definition: msap_frames.h:138
MSAP_SCRATCHPAD_ACTION_PROPAGATE_ONLY
@ MSAP_SCRATCHPAD_ACTION_PROPAGATE_ONLY
Definition: msap_frames.h:414
frame_msap::scratchpad_status_cnf
msap_scratchpad_status_cnf_t scratchpad_status_cnf
Definition: msap_frames.h:517
msap_scratchpad_start_req_t
Definition: msap_frames.h:193
msap_sleep_start_req_t
Definition: msap_frames.h:372
msap_sleep_start_req_t::seconds
uint32_t seconds
Definition: msap_frames.h:375
MSAP_SCRATCHPAD_BOOTABLE_NO_SCRATCHPAD
@ MSAP_SCRATCHPAD_BOOTABLE_NO_SCRATCHPAD
Definition: msap_frames.h:283
MSAP_ATTR_SCRATCHPAD_NUM_BYTES_SIZE
@ MSAP_ATTR_SCRATCHPAD_NUM_BYTES_SIZE
Definition: msap_frames.h:115
MSAP_ATTR_MCAST_GROUPS
@ MSAP_ATTR_MCAST_GROUPS
Definition: msap_frames.h:95
frame_msap::scratchpad_block_req
msap_scratchpad_block_req_t scratchpad_block_req
Definition: msap_frames.h:516
MSAP_SCRATCHPAD_BLOCK_INVALID_STATE
@ MSAP_SCRATCHPAD_BLOCK_INVALID_STATE
Definition: msap_frames.h:243
MSAP_SCAN_NBORS_SUCCESS
@ MSAP_SCAN_NBORS_SUCCESS
Definition: msap_frames.h:333
MSAP_SCRATCHPAD_START_INVALID_NUM_BYTES
@ MSAP_SCRATCHPAD_START_INVALID_NUM_BYTES
Definition: msap_frames.h:209
msap_scratchpad_status_cnf_t::maint_version
uint8_t maint_version
Definition: msap_frames.h:274
MSAP_SCRATCHPAD_BLOCK_COMPLETED_OK
@ MSAP_SCRATCHPAD_BLOCK_COMPLETED_OK
Definition: msap_frames.h:239
MSAP_SCRATCHPAD_TARGET_SUCCESS
@ MSAP_SCRATCHPAD_TARGET_SUCCESS
Definition: msap_frames.h:442
msap_scratchpad_block_read_cnf_t
Definition: msap_frames.h:493
APP_CONF_MAX
#define APP_CONF_MAX
App config max size. The define is needed for compiling time size reservations.
Definition: msap_frames.h:18
msap_state_ind_t
Definition: msap_frames.h:125
msap_neighbor_entry_t::rssi_norm
int8_t rssi_norm
Definition: msap_frames.h:61
msap_scratchpad_status_cnf_t::major_version
uint8_t major_version
Definition: msap_frames.h:272
msap_int_read_cnf_t
Definition: msap_frames.h:166
msap_scratchpad_action_e
msap_scratchpad_action_e
Definition: msap_frames.h:409
msap_scratchpad_block_req_t
Definition: msap_frames.h:220
msap_remote_status_req_t::target
w_addr_t target
Definition: msap_frames.h:291
msap_scan_nbors_status_e
msap_scan_nbors_status_e
Definition: msap_frames.h:331
msap_scratchpad_block_read_e
msap_scratchpad_block_read_e
Definition: msap_frames.h:476
msap_ind_poll_cnf_t::queued
uint8_t queued
Definition: msap_frames.h:178
frame_msap::ind_poll_cnf
msap_ind_poll_cnf_t ind_poll_cnf
Definition: msap_frames.h:514
MSAP_SCRATCHPAD_BLOCK_INVALID_START_ADDR
@ MSAP_SCRATCHPAD_BLOCK_INVALID_START_ADDR
Definition: msap_frames.h:247
MSAP_ATTR_PDU_BUFF_CAPA
@ MSAP_ATTR_PDU_BUFF_CAPA
Definition: msap_frames.h:83
frame_msap::cost_write_req
msap_sink_cost_write_req_t cost_write_req
Definition: msap_frames.h:510
MSAP_ATTR_SCRATCHPAD_NUM_BYTES
@ MSAP_ATTR_SCRATCHPAD_NUM_BYTES
Definition: msap_frames.h:90
msap_neighbor_entry_t::channel
uint8_t channel
Definition: msap_frames.h:65
msap_scratchpad_target_write_req_t
Definition: msap_frames.h:426
msap_sleep_latest_gotosleep_rsp_t
Definition: msap_frames.h:390
MSAP_ATTR_RESERVED_1
@ MSAP_ATTR_RESERVED_1
Definition: msap_frames.h:92
MSAP_SCRATCHPAD_START_INVALID_SEQ
@ MSAP_SCRATCHPAD_START_INVALID_SEQ
Definition: msap_frames.h:211
MSAP_ATTR_AC_LIMITS
@ MSAP_ATTR_AC_LIMITS
Definition: msap_frames.h:87
msap_neighbors_cnf_t
Definition: msap_frames.h:353
msap_install_quality_cnf_t
Definition: msap_frames.h:398
msap_state_ind_t::queued_indications
uint8_t queued_indications
Definition: msap_frames.h:127
msap_on_scanned_nbors_ind_t::scan_ready
uint8_t scan_ready
Definition: msap_frames.h:349
msap_sink_cost_read_cnf_t
Definition: msap_frames.h:148
MSAP_SCAN_NBORS_ACCESS_DENIED
@ MSAP_SCAN_NBORS_ACCESS_DENIED
Definition: msap_frames.h:335
MSAP_ATTR_AUTOSTART
@ MSAP_ATTR_AUTOSTART
Definition: msap_frames.h:93
frame_msap::state_ind
msap_state_ind_t state_ind
Definition: msap_frames.h:507
MSAP_ATTR_ROUTE_COUNT_SIZE
@ MSAP_ATTR_ROUTE_COUNT_SIZE
Definition: msap_frames.h:107
msap_scratchpad_start_req_t::seq
otap_seq_t seq
Definition: msap_frames.h:198
MSAP_SCRATCHPAD_CLEAR_SUCCESS
@ MSAP_SCRATCHPAD_CLEAR_SUCCESS
Definition: msap_frames.h:185
MSAP_SCRATCHPAD_BLOCK_READ_INVALID_NUM_BYTES
@ MSAP_SCRATCHPAD_BLOCK_READ_INVALID_NUM_BYTES
Definition: msap_frames.h:485
MSAP_ATTR_PDU_BUFF_CAP_SIZE
@ MSAP_ATTR_PDU_BUFF_CAP_SIZE
Definition: msap_frames.h:103
frame_msap::scratchpad_block_read_cnf
msap_scratchpad_block_read_cnf_t scratchpad_block_read_cnf
Definition: msap_frames.h:528
msap_scratchpad_start_e
msap_scratchpad_start_e
Definition: msap_frames.h:202
MSAP_ATTR_SYSTEM_TIME_SIZE
@ MSAP_ATTR_SYSTEM_TIME_SIZE
Definition: msap_frames.h:108
MSAP_SCRATCHPAD_CLEAR_ACCESS_DENIED
@ MSAP_SCRATCHPAD_CLEAR_ACCESS_DENIED
Definition: msap_frames.h:189
MSAP_SLEEP_SUCCESS
@ MSAP_SLEEP_SUCCESS
Definition: msap_frames.h:364
MSAP_ATTR_AC_RANGE_SIZE
@ MSAP_ATTR_AC_RANGE_SIZE
Definition: msap_frames.h:109
msap_scratchpad_status_cnf_t::crc
uint16_t crc
Definition: msap_frames.h:259
MSAP_SCRATCHPAD_BOOTABLE_SUCCESS
@ MSAP_SCRATCHPAD_BOOTABLE_SUCCESS
Definition: msap_frames.h:281
MSAP_ATTR_NBOR_COUNT_SIZE
@ MSAP_ATTR_NBOR_COUNT_SIZE
Definition: msap_frames.h:104
msap_neighbor_entry_t::addr
w_addr_t addr
Definition: msap_frames.h:57
frame_msap::sleep_start_req
msap_sleep_start_req_t sleep_start_req
Definition: msap_frames.h:521
MSAP_REMOTE_STATUS_ACCESS_DENIED
@ MSAP_REMOTE_STATUS_ACCESS_DENIED
Definition: msap_frames.h:300
MSAP_ATTR_MCAST_GROUPS_SIZE
@ MSAP_ATTR_MCAST_GROUPS_SIZE
Definition: msap_frames.h:113
multicast.h
MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS
@ MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS
Definition: msap_frames.h:416
msap_remote_status_req_t
Definition: msap_frames.h:288
msap_scratchpad_bootable_result_e
msap_scratchpad_bootable_result_e
Definition: msap_frames.h:279
frame_msap::sleep_state_rsp
msap_sleep_state_rsp_t sleep_state_rsp
Definition: msap_frames.h:522
MSAP_SCRATCHPAD_BLOCK_READ_SUCCESS
@ MSAP_SCRATCHPAD_BLOCK_READ_SUCCESS
Definition: msap_frames.h:479
frame_msap::cost_read_cnf
msap_sink_cost_read_cnf_t cost_read_cnf
Definition: msap_frames.h:511
frame_msap::sleep_gotosleep_rsp_t
msap_sleep_latest_gotosleep_rsp_t sleep_gotosleep_rsp_t
Definition: msap_frames.h:523
MSAP_ATTR_PDU_BUFF_USAGE_SIZE
@ MSAP_ATTR_PDU_BUFF_USAGE_SIZE
Definition: msap_frames.h:102
msap_scratchpad_status_cnf_t::processed_crc
uint16_t processed_crc
Definition: msap_frames.h:268
msap_scratchpad_target_write_req_t::param
uint8_t param
Definition: msap_frames.h:435
msap_attr_e
msap_attr_e
Definition: msap_frames.h:78
NEIGHBOR_IS_NEXT_HOP
@ NEIGHBOR_IS_NEXT_HOP
Definition: msap_frames.h:46
msap_on_scanned_nbors_ind_t
Definition: msap_frames.h:346
MSAP_ATTR_STACK_STATUS_SIZE
@ MSAP_ATTR_STACK_STATUS_SIZE
Definition: msap_frames.h:101
MSAP_ATTR_STACK_STATUS
@ MSAP_ATTR_STACK_STATUS
Definition: msap_frames.h:81
msap_neighbor_entry_t
Definition: msap_frames.h:54
msap_neighbor_entry_t::cost_0
uint8_t cost_0
Definition: msap_frames.h:63
msap_install_quality_cnf_t::error_codes
uint8_t error_codes
Definition: msap_frames.h:405
msap_sleep_update_e
msap_sleep_update_e
Definition: msap_frames.h:362
MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS_WITH_DELAY
@ MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS_WITH_DELAY
Definition: msap_frames.h:419
msap_scratchpad_block_read_req_t
Definition: msap_frames.h:467
MSAP_ATTR_SYSTEM_TIME
@ MSAP_ATTR_SYSTEM_TIME
Definition: msap_frames.h:86
MSAP_NRLS_SLEEP_ACTIVE
@ MSAP_NRLS_SLEEP_ACTIVE
Definition: msap_frames.h:341
MSAP_SCRATCHPAD_BLOCK_READ_NO_SCRATCHPAD
@ MSAP_SCRATCHPAD_BLOCK_READ_NO_SCRATCHPAD
Definition: msap_frames.h:487
frame_msap::scratchpad_start_req
msap_scratchpad_start_req_t scratchpad_start_req
Definition: msap_frames.h:515
frame_msap::int_read_cnf
msap_int_read_cnf_t int_read_cnf
Definition: msap_frames.h:509
msap_state_ind_t::result
uint8_t result
Definition: msap_frames.h:128
frame_msap::on_scanned_nbors
msap_on_scanned_nbors_ind_t on_scanned_nbors
Definition: msap_frames.h:520
MSAP_SCRATCHPAD_CLEAR_INVALID_STATE
@ MSAP_SCRATCHPAD_CLEAR_INVALID_STATE
Definition: msap_frames.h:187
msap_scratchpad_status_cnf_t::status
uint8_t status
Definition: msap_frames.h:262
MSAP_MAX_NBORS
#define MSAP_MAX_NBORS
Definition: msap_frames.h:33
MSAP_ATTR_AC_LIMITS_SIZE
@ MSAP_ATTR_AC_LIMITS_SIZE
Definition: msap_frames.h:110
msap_scratchpad_clear_e
msap_scratchpad_clear_e
Definition: msap_frames.h:182
MSAP_SCRATCHPAD_BLOCK_SUCCESS
@ MSAP_SCRATCHPAD_BLOCK_SUCCESS
Definition: msap_frames.h:237
frame_msap::start_req
msap_start_req_t start_req
Definition: msap_frames.h:506
w_addr_t
uint32_t w_addr_t
Definition: waps_frames.h:17
msap_nrls_status_e
msap_nrls_status_e
Definition: msap_frames.h:339
MSAP_SLEEP_INVALID_ROLE
@ MSAP_SLEEP_INVALID_ROLE
Definition: msap_frames.h:366
msap_neighbor_entry_t::type
uint8_t type
Definition: msap_frames.h:67
MSAP_SCRATCHPAD_BOOTABLE_ACCESS_DENIED
@ MSAP_SCRATCHPAD_BOOTABLE_ACCESS_DENIED
Definition: msap_frames.h:284
MSAP_ATTR_AC_RANGE
@ MSAP_ATTR_AC_RANGE
Definition: msap_frames.h:94
msap_scratchpad_start_req_t::num_bytes
uint32_t num_bytes
Definition: msap_frames.h:196
msap_scratchpad_block_req_t::num_bytes
uint8_t num_bytes
Definition: msap_frames.h:225
msap_ind_poll_cnf_t
Definition: msap_frames.h:176
frame_msap
Definition: msap_frames.h:504