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 {
360  uint16_t reboot_delay;
362 
367 typedef enum
368 {
371 
373 typedef struct __attribute__ ((__packed__))
374 {
376  uint8_t result;
380 
382 typedef enum
383 {
390 
392 typedef struct __attribute__ ((__packed__))
393 {
395  uint32_t seconds;
397  uint32_t app_config_nrls;
399 
401 typedef struct __attribute__ ((__packed__))
402 {
404  uint8_t sleep_started;
405  uint32_t sleep_seconds;
406 
408 
410 typedef struct __attribute__ ((__packed__))
411 {
414 
416 
418 typedef struct __attribute__ ((__packed__))
419 {
423  uint16_t time;
425 
427 typedef struct __attribute__ ((__packed__))
428 {
432  uint16_t time;
434 
436 typedef struct
437 {
439  uint8_t result;
441  uint8_t quality;
443  uint8_t error_codes;
445 
447 typedef enum
448 {
462 
464 typedef struct __attribute__ ((__packed__))
465 {
469  uint16_t target_crc;
471  uint8_t action;
473  uint8_t param;
475 
477 typedef enum
478 {
488 
490 typedef struct __attribute__ ((__packed__))
491 {
493  uint8_t result;
496  uint16_t target_crc;
497  uint8_t action;
498  uint8_t param;
500 
502 #define MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES (MSAP_SCRATCHPAD_BLOCK_MAX_NUM_BYTES)
503 
505 typedef struct __attribute__ ((__packed__))
506 {
508  uint32_t start_addr;
510  uint8_t num_bytes;
512 
514 typedef enum
515 {
529 
531 typedef struct __attribute__ ((__packed__))
532 {
534  uint8_t result;
538 
539 #define FRAME_MSAP_SCRATCHPAD_BLOCK_READ_CNF_HEADER_SIZE \
540  (sizeof(msap_scratchpad_block_read_cnf_t) - MSAP_SCRATCHPAD_BLOCK_READ_MAX_NUM_BYTES)
541 
542 typedef union
543 {
570 } frame_msap;
571 
572 #endif /* MSAP_FRAMES_H_ */
MSAP_SCRATCHPAD_TARGET_INVALID_ROLE
@ MSAP_SCRATCHPAD_TARGET_INVALID_ROLE
Definition: msap_frames.h:482
MSAP_ATTR_CURRENT_AC
@ MSAP_ATTR_CURRENT_AC
Definition: msap_frames.h:88
msap_remote_update_req_t::reboot_delay
uint16_t reboot_delay
Definition: msap_frames.h:360
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:551
MSAP_SCRATCHPAD_BLOCK_READ_INVALID_START_ADDR
@ MSAP_SCRATCHPAD_BLOCK_READ_INVALID_START_ADDR
Definition: msap_frames.h:521
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:387
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:557
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:568
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:556
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:527
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
app_lib_data_qos_e
app_lib_data_qos_e
Data quality of service class. Used when sending and receiving data packets.
Definition: wms_data.h:85
msap_scratchpad_target_write_res_e
msap_scratchpad_target_write_res_e
Definition: msap_frames.h:477
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:385
msap_scratchpad_target_write_req_t::target_sequence
uint8_t target_sequence
Definition: msap_frames.h:467
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
msap_max_msg_queuing_time_req_t
Definition: msap_frames.h:418
frame_msap::int_write_req
msap_int_write_req_t int_write_req
Definition: msap_frames.h:546
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:567
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
app_res_e
app_res_e
Definition: wms_app.h:201
MSAP_REMOTE_UPDATE_ACCESS_DENIED
@ MSAP_REMOTE_UPDATE_ACCESS_DENIED
Definition: msap_frames.h:369
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:565
msap_scratchpad_target_write_req_t::action
uint8_t action
Definition: msap_frames.h:471
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:441
MSAP_SCRATCHPAD_ACTION_LEGACY
@ MSAP_SCRATCHPAD_ACTION_LEGACY
Definition: msap_frames.h:460
msap_scratchpad_target_read_cnf_t
Definition: msap_frames.h:490
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:502
MSAP_SCRATCHPAD_TARGET_INVALID_VALUE
@ MSAP_SCRATCHPAD_TARGET_INVALID_VALUE
Definition: msap_frames.h:484
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:405
msap_remote_update_req_t
Definition: msap_frames.h:353
msap_neighbor_entry_t::tx_power
int8_t tx_power
Definition: msap_frames.h:69
frame_msap::remote_update_req
msap_remote_update_req_t remote_update_req
Definition: msap_frames.h:558
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:404
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:469
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:550
frame_msap::scratchpad_target_write_req
msap_scratchpad_target_write_req_t scratchpad_target_write_req
Definition: msap_frames.h:566
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:413
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:450
MSAP_SCRATCHPAD_TARGET_ACCESS_DENIED
@ MSAP_SCRATCHPAD_TARGET_ACCESS_DENIED
Definition: msap_frames.h:486
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:388
msap_sleep_start_req_t::app_config_nrls
uint32_t app_config_nrls
Definition: msap_frames.h:397
msap_max_msg_queuing_time_req_t::priority
app_lib_data_qos_e priority
Definition: msap_frames.h:421
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:519
msap_sleep_state_rsp_t
Definition: msap_frames.h:401
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:452
frame_msap::scratchpad_status_cnf
msap_scratchpad_status_cnf_t scratchpad_status_cnf
Definition: msap_frames.h:555
msap_scratchpad_start_req_t
Definition: msap_frames.h:193
msap_sleep_start_req_t
Definition: msap_frames.h:392
msap_sleep_start_req_t::seconds
uint32_t seconds
Definition: msap_frames.h:395
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:554
msap_remote_update_e
msap_remote_update_e
Definition: msap_frames.h:367
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:480
msap_scratchpad_block_read_cnf_t
Definition: msap_frames.h:531
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:447
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:514
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:552
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:548
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:464
msap_sleep_latest_gotosleep_rsp_t
Definition: msap_frames.h:410
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:373
msap_install_quality_cnf_t
Definition: msap_frames.h:436
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:545
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:523
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:569
msap_scratchpad_start_e
msap_scratchpad_start_e
Definition: msap_frames.h:202
msap_max_msg_queuing_time_read_cnf_t::result
app_res_e result
Definition: msap_frames.h:430
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:384
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::max_msg_queuing_time_req
msap_max_msg_queuing_time_req_t max_msg_queuing_time_req
Definition: msap_frames.h:563
frame_msap::sleep_start_req
msap_sleep_start_req_t sleep_start_req
Definition: msap_frames.h:560
MSAP_REMOTE_STATUS_ACCESS_DENIED
@ MSAP_REMOTE_STATUS_ACCESS_DENIED
Definition: msap_frames.h:300
frame_msap::max_msg_queuing_time_read_cnf
msap_max_msg_queuing_time_read_cnf_t max_msg_queuing_time_read_cnf
Definition: msap_frames.h:564
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:454
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:561
MSAP_SCRATCHPAD_BLOCK_READ_SUCCESS
@ MSAP_SCRATCHPAD_BLOCK_READ_SUCCESS
Definition: msap_frames.h:517
frame_msap::cost_read_cnf
msap_sink_cost_read_cnf_t cost_read_cnf
Definition: msap_frames.h:549
frame_msap::sleep_gotosleep_rsp_t
msap_sleep_latest_gotosleep_rsp_t sleep_gotosleep_rsp_t
Definition: msap_frames.h:562
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:473
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_max_msg_queuing_time_read_cnf_t
Definition: msap_frames.h:427
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:443
msap_sleep_update_e
msap_sleep_update_e
Definition: msap_frames.h:382
MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS_WITH_DELAY
@ MSAP_SCRATCHPAD_ACTION_PROPAGATE_AND_PROCESS_WITH_DELAY
Definition: msap_frames.h:457
msap_scratchpad_block_read_req_t
Definition: msap_frames.h:505
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:525
frame_msap::scratchpad_start_req
msap_scratchpad_start_req_t scratchpad_start_req
Definition: msap_frames.h:553
frame_msap::int_read_cnf
msap_int_read_cnf_t int_read_cnf
Definition: msap_frames.h:547
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:559
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:544
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_max_msg_queuing_time_req_t::time
uint16_t time
Definition: msap_frames.h:423
MSAP_SLEEP_INVALID_ROLE
@ MSAP_SLEEP_INVALID_ROLE
Definition: msap_frames.h:386
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:542