Wirepas SDK
function_codes.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 FUNCTION_CODES_H__
8 #define FUNCTION_CODES_H__
9 
10 typedef enum
11 {
12  /* DSAP-DATA_TX */
17  /* DSAP-DATA_TX_FRAG */
22  /* DSAP-DATA_RX */
25  /* MSAP-INDICATION_POLL */
28  /* MSAP-STACK_START */
31  /* MSAP-STACK_STOP */
34  /* MSAP-STACK_STATE */
37  /* MSAP-ATTRIBUTE_WRITE */
40  /* MSAP-ATTRIBUTE_READ */
43  /* CSAP-ATTRIBUTE_WRITE */
46  /* CSAP-ATTRIBUTE_READ */
49  /* CSAP-FACTORY_RESET */
52  /* MSAP-SCRATCHPAD_START */
55  /* MSAP-SCRATCHPAD_BLOCK */
58  /* MSAP-SCRATCHPAD_STATUS */
61  /* MSAP-SCRATCHPAD_BOOTABLE */
64  /* MSAP-SCRATCHPAD_CLEAR */
67  /* MSAP-REMOTE_STATUS_REQ */
72  /* MSAP-REMOTE_UPDATE_REQ */
75  /* DSAP-DATA_TX with non-zero initial travel time */
78  /* MSAP-GET-NBORS */
81  /* MSAP-SCAN-NBORS */
86  /* MSAP-INSTALL_QUALITY */
89  /* MSAP-SCRATCHPAD_TARGET_WRITE */
92  /* MSAP-SCRATCHPAD_TARGET_READ */
95  /* MSAP-SCRATCHPAD_BLOCK_READ */
98  /* MSAP-SINK_COST_WRITE */
101  /* MSAP-SINK_COST_READ */
104  /* MSAP-APP_CONFIG_DATA_WRITE */
107  /* MSAP-APP_CONFIG_DATA_READ */
110  /* MSAP-APP_CONFIG_DATA_RX */
113  /* MSAP-SLEEP REQ */
116  /* MSAP-SLEEP STOP REQ */
119  /* MSAP-SLEEP STATE GET REQ */
122 
123  /* MSAP-SLEEP GOTOSLEEPINFO REQ */
126 
127  /* MSAP-MAX_QUEUE_TIME_WRITE REQ */
130  /* MSAP-MAX_QUEUE_TIME_READ REQ */
133 
134  /* Reserved request ids (only present in Remote API). */
143 
144 } waps_func_e;
145 
146 /* When you add/remove functions, make sure you update the tables below */
147 
148 #define DSAP_REQUESTS \
149 { \
150  WAPS_FUNC_DSAP_DATA_TX_REQ, \
151  WAPS_FUNC_DSAP_DATA_TX_TT_REQ, \
152  WAPS_FUNC_DSAP_DATA_TX_FRAG_REQ, \
153 }
154 
155 #define MSAP_REQUESTS \
156 { \
157  WAPS_FUNC_MSAP_INDICATION_POLL_REQ, \
158  WAPS_FUNC_MSAP_STACK_START_REQ, \
159  WAPS_FUNC_MSAP_STACK_STOP_REQ, \
160  WAPS_FUNC_MSAP_ATTR_WRITE_REQ, \
161  WAPS_FUNC_MSAP_ATTR_READ_REQ, \
162  WAPS_FUNC_MSAP_SCRATCHPAD_START_REQ, \
163  WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_REQ, \
164  WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_REQ, \
165  WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_REQ, \
166  WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_REQ, \
167  WAPS_FUNC_MSAP_REMOTE_STATUS_REQ, \
168  WAPS_FUNC_MSAP_REMOTE_UPDATE_REQ, \
169  WAPS_FUNC_MSAP_GET_NBORS_REQ, \
170  WAPS_FUNC_MSAP_SCAN_NBORS_REQ, \
171  WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_REQ, \
172  WAPS_FUNC_MSAP_SINK_COST_WRITE_REQ, \
173  WAPS_FUNC_MSAP_SINK_COST_READ_REQ, \
174  WAPS_FUNC_MSAP_APP_CONFIG_WRITE_REQ, \
175  WAPS_FUNC_MSAP_APP_CONFIG_READ_REQ, \
176  WAPS_FUNC_MSAP_STACK_SLEEP_REQ, \
177  WAPS_FUNC_MSAP_STACK_SLEEP_STOP_REQ, \
178  WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_REQ, \
179  WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_REQ, \
180  WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_REQ, \
181  WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_REQ, \
182  WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_REQ, \
183  WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_REQ, \
184  WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_REQ \
185 }
186 
187 #define CSAP_REQUESTS \
188 { \
189  WAPS_FUNC_CSAP_ATTR_WRITE_REQ, \
190  WAPS_FUNC_CSAP_ATTR_READ_REQ, \
191  WAPS_FUNC_CSAP_FACTORY_RESET_REQ, \
192 }
193 
194 #define WAPS_CONFIRMATIONS \
195 { \
196  WAPS_FUNC_DSAP_DATA_TX_CNF, \
197  WAPS_FUNC_DSAP_DATA_TX_FRAG_CNF, \
198  WAPS_FUNC_MSAP_INDICATION_POLL_CNF, \
199  WAPS_FUNC_MSAP_STACK_START_CNF, \
200  WAPS_FUNC_MSAP_STACK_STOP_CNF, \
201  WAPS_FUNC_MSAP_APP_CONFIG_WRITE_CNF, \
202  WAPS_FUNC_MSAP_APP_CONFIG_READ_CNF, \
203  WAPS_FUNC_MSAP_ATTR_WRITE_CNF, \
204  WAPS_FUNC_MSAP_ATTR_READ_CNF, \
205  WAPS_FUNC_MSAP_GET_NBORS_CNF, \
206  WAPS_FUNC_MSAP_SCAN_NBORS_CNF, \
207  WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_CNF, \
208  WAPS_FUNC_MSAP_SINK_COST_WRITE_CNF, \
209  WAPS_FUNC_MSAP_SINK_COST_READ_CNF, \
210  WAPS_FUNC_CSAP_ATTR_WRITE_CNF, \
211  WAPS_FUNC_CSAP_ATTR_READ_CNF, \
212  WAPS_FUNC_CSAP_FACTORY_RESET_CNF, \
213  WAPS_FUNC_MSAP_SCRATCHPAD_START_CNF, \
214  WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_CNF, \
215  WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_CNF, \
216  WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_CNF, \
217  WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_CNF, \
218  WAPS_FUNC_MSAP_REMOTE_STATUS_CNF, \
219  WAPS_FUNC_MSAP_REMOTE_UPDATE_CNF, \
220  WAPS_FUNC_DSAP_DATA_TX_TT_CNF, \
221  WAPS_FUNC_MSAP_APP_CONFIG_WRITE_CNF, \
222  WAPS_FUNC_MSAP_APP_CONFIG_READ_CNF, \
223  WAPS_FUNC_MSAP_STACK_SLEEP_REQ_CNF, \
224  WAPS_FUNC_MSAP_STACK_SLEEP_STOP_CNF, \
225  WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_CNF, \
226  WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_CNF, \
227  WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_CNF, \
228  WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_CNF, \
229  WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_CNF, \
230 }
231 
232 #define WAPS_INDICATIONS \
233 { \
234  WAPS_FUNC_DSAP_DATA_TX_IND, \
235  WAPS_FUNC_DSAP_DATA_RX_FRAG_IND, \
236  WAPS_FUNC_DSAP_DATA_RX_IND, \
237  WAPS_FUNC_MSAP_STACK_STATE_IND, \
238  WAPS_FUNC_MSAP_APP_CONFIG_RX_IND, \
239  WAPS_FUNC_MSAP_REMOTE_STATUS_IND, \
240  WAPS_FUNC_MSAP_SCAN_NBORS_IND, \
241 }
242 
243 #define WAPS_RESPONSES \
244 { \
245  WAPS_FUNC_DSAP_DATA_TX_RSP, \
246  WAPS_FUNC_DSAP_DATA_RX_FRAG_RSP, \
247  WAPS_FUNC_DSAP_DATA_RX_RSP, \
248  WAPS_FUNC_MSAP_STACK_STATE_RSP, \
249  WAPS_FUNC_MSAP_APP_CONFIG_RX_RSP, \
250  WAPS_FUNC_MSAP_REMOTE_STATUS_RSP, \
251  WAPS_FUNC_MSAP_SCAN_NBORS_RSP, \
252  WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_RSP, \
253  WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_RSP, \
254 }
255 
260 bool WapsFunc_isRequest(uint8_t func);
261 
266 bool WapsFunc_isDsapRequest(uint8_t func);
267 
272 bool WapsFunc_isMsapRequest(uint8_t func);
273 
278 bool WapsFunc_isCsapRequest(uint8_t func);
279 
284 bool WapsFunc_isConfirmation(uint8_t func);
285 
290 bool WapsFunc_isIndication(uint8_t func);
291 
296 bool WapsFunc_isResponse(uint8_t func);
297 
298 #endif
WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_REQ
Definition: function_codes.h:90
WAPS_FUNC_DSAP_DATA_TX_CNF
@ WAPS_FUNC_DSAP_DATA_TX_CNF
Definition: function_codes.h:14
WAPS_FUNC_DSAP_DATA_RX_FRAG_IND
@ WAPS_FUNC_DSAP_DATA_RX_FRAG_IND
Definition: function_codes.h:20
WAPS_FUNC_MSAP_APP_CONFIG_READ_CNF
@ WAPS_FUNC_MSAP_APP_CONFIG_READ_CNF
Definition: function_codes.h:109
WAPS_FUNC_DSAP_DATA_TX_FRAG_REQ
@ WAPS_FUNC_DSAP_DATA_TX_FRAG_REQ
Definition: function_codes.h:18
WAPS_FUNC_RESERVED_REMOTE_API_4_REQ
@ WAPS_FUNC_RESERVED_REMOTE_API_4_REQ
Definition: function_codes.h:141
WAPS_FUNC_DSAP_DATA_TX_REQ
@ WAPS_FUNC_DSAP_DATA_TX_REQ
Definition: function_codes.h:13
WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_RSP
@ WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_RSP
Definition: function_codes.h:121
WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_REQ
@ WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_REQ
Definition: function_codes.h:131
WAPS_FUNC_MSAP_SCAN_NBORS_REQ
@ WAPS_FUNC_MSAP_SCAN_NBORS_REQ
Definition: function_codes.h:82
WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_REQ
Definition: function_codes.h:65
WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_REQ
@ WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_REQ
Definition: function_codes.h:128
WAPS_FUNC_MSAP_SCAN_NBORS_IND
@ WAPS_FUNC_MSAP_SCAN_NBORS_IND
Definition: function_codes.h:84
WAPS_FUNC_MSAP_APP_CONFIG_WRITE_REQ
@ WAPS_FUNC_MSAP_APP_CONFIG_WRITE_REQ
Definition: function_codes.h:105
WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_REQ
@ WAPS_FUNC_MSAP_STACK_SLEEP_STATE_GET_REQ
Definition: function_codes.h:120
WAPS_FUNC_MSAP_ATTR_WRITE_REQ
@ WAPS_FUNC_MSAP_ATTR_WRITE_REQ
Definition: function_codes.h:38
WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_CNF
@ WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_WRITE_CNF
Definition: function_codes.h:129
WAPS_FUNC_MSAP_STACK_SLEEP_STOP_CNF
@ WAPS_FUNC_MSAP_STACK_SLEEP_STOP_CNF
Definition: function_codes.h:118
WapsFunc_isConfirmation
bool WapsFunc_isConfirmation(uint8_t func)
Check if given func code is a confirmation.
WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_CLEAR_CNF
Definition: function_codes.h:66
WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_RSP
@ WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_RSP
Definition: function_codes.h:125
WAPS_FUNC_MSAP_STACK_STOP_CNF
@ WAPS_FUNC_MSAP_STACK_STOP_CNF
Definition: function_codes.h:33
WAPS_FUNC_RESERVED_REMOTE_API_1_REQ
@ WAPS_FUNC_RESERVED_REMOTE_API_1_REQ
Definition: function_codes.h:135
WapsFunc_isMsapRequest
bool WapsFunc_isMsapRequest(uint8_t func)
Check if given func code is a MSAP request.
WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_CNF
Definition: function_codes.h:60
WAPS_FUNC_DSAP_DATA_TX_RSP
@ WAPS_FUNC_DSAP_DATA_TX_RSP
Definition: function_codes.h:16
WAPS_FUNC_DSAP_DATA_RX_IND
@ WAPS_FUNC_DSAP_DATA_RX_IND
Definition: function_codes.h:23
WAPS_FUNC_MSAP_GET_NBORS_REQ
@ WAPS_FUNC_MSAP_GET_NBORS_REQ
Definition: function_codes.h:79
WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_CNF
Definition: function_codes.h:97
WAPS_FUNC_MSAP_APP_CONFIG_WRITE_CNF
@ WAPS_FUNC_MSAP_APP_CONFIG_WRITE_CNF
Definition: function_codes.h:106
WAPS_FUNC_MSAP_STACK_STATE_IND
@ WAPS_FUNC_MSAP_STACK_STATE_IND
Definition: function_codes.h:35
WAPS_FUNC_MSAP_SCAN_NBORS_RSP
@ WAPS_FUNC_MSAP_SCAN_NBORS_RSP
Definition: function_codes.h:85
WAPS_FUNC_MSAP_REMOTE_UPDATE_CNF
@ WAPS_FUNC_MSAP_REMOTE_UPDATE_CNF
Definition: function_codes.h:74
WAPS_FUNC_MSAP_REMOTE_STATUS_CNF
@ WAPS_FUNC_MSAP_REMOTE_STATUS_CNF
Definition: function_codes.h:69
WAPS_FUNC_CSAP_FACTORY_RESET_CNF
@ WAPS_FUNC_CSAP_FACTORY_RESET_CNF
Definition: function_codes.h:51
WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_CNF
Definition: function_codes.h:57
WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_REQ
Definition: function_codes.h:93
WAPS_FUNC_MSAP_APP_CONFIG_RX_IND
@ WAPS_FUNC_MSAP_APP_CONFIG_RX_IND
Definition: function_codes.h:111
WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_READ_REQ
Definition: function_codes.h:96
waps_func_e
waps_func_e
Definition: function_codes.h:10
WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_WRITE_CNF
Definition: function_codes.h:91
WAPS_FUNC_MSAP_STACK_SLEEP_REQ
@ WAPS_FUNC_MSAP_STACK_SLEEP_REQ
Definition: function_codes.h:114
WAPS_FUNC_DSAP_DATA_TX_FRAG_CNF
@ WAPS_FUNC_DSAP_DATA_TX_FRAG_CNF
Definition: function_codes.h:19
WAPS_FUNC_MSAP_SCRATCHPAD_START_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_START_REQ
Definition: function_codes.h:53
WAPS_FUNC_MSAP_STACK_START_REQ
@ WAPS_FUNC_MSAP_STACK_START_REQ
Definition: function_codes.h:29
WAPS_FUNC_MSAP_REMOTE_UPDATE_REQ
@ WAPS_FUNC_MSAP_REMOTE_UPDATE_REQ
Definition: function_codes.h:73
WAPS_FUNC_CSAP_ATTR_WRITE_REQ
@ WAPS_FUNC_CSAP_ATTR_WRITE_REQ
Definition: function_codes.h:44
WAPS_FUNC_MSAP_APP_CONFIG_RX_RSP
@ WAPS_FUNC_MSAP_APP_CONFIG_RX_RSP
Definition: function_codes.h:112
WAPS_FUNC_MSAP_STACK_STOP_REQ
@ WAPS_FUNC_MSAP_STACK_STOP_REQ
Definition: function_codes.h:32
WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_REQ
@ WAPS_FUNC_MSAP_STACK_SLEEP_GOTOSLEEPINFO_REQ
Definition: function_codes.h:124
WAPS_FUNC_MSAP_APP_CONFIG_READ_REQ
@ WAPS_FUNC_MSAP_APP_CONFIG_READ_REQ
Definition: function_codes.h:108
WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_STATUS_REQ
Definition: function_codes.h:59
WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_CNF
@ WAPS_FUNC_MSAP_MAX_MSG_QUEUEING_TIME_READ_CNF
Definition: function_codes.h:132
WAPS_FUNC_DSAP_DATA_TX_TT_CNF
@ WAPS_FUNC_DSAP_DATA_TX_TT_CNF
Definition: function_codes.h:77
WAPS_FUNC_DSAP_DATA_TX_IND
@ WAPS_FUNC_DSAP_DATA_TX_IND
Definition: function_codes.h:15
WAPS_FUNC_MSAP_STACK_SLEEP_REQ_CNF
@ WAPS_FUNC_MSAP_STACK_SLEEP_REQ_CNF
Definition: function_codes.h:115
WAPS_FUNC_DSAP_DATA_RX_RSP
@ WAPS_FUNC_DSAP_DATA_RX_RSP
Definition: function_codes.h:24
WAPS_FUNC_MSAP_GET_NBORS_CNF
@ WAPS_FUNC_MSAP_GET_NBORS_CNF
Definition: function_codes.h:80
WAPS_FUNC_RESERVED_REMOTE_API_1_CNF
@ WAPS_FUNC_RESERVED_REMOTE_API_1_CNF
Definition: function_codes.h:136
WAPS_FUNC_MSAP_INDICATION_POLL_CNF
@ WAPS_FUNC_MSAP_INDICATION_POLL_CNF
Definition: function_codes.h:27
WAPS_FUNC_MSAP_SCRATCHPAD_START_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_START_CNF
Definition: function_codes.h:54
WAPS_FUNC_MSAP_ATTR_READ_CNF
@ WAPS_FUNC_MSAP_ATTR_READ_CNF
Definition: function_codes.h:42
WapsFunc_isDsapRequest
bool WapsFunc_isDsapRequest(uint8_t func)
Check if given func code is a DSAP request.
WapsFunc_isResponse
bool WapsFunc_isResponse(uint8_t func)
Check if given func code is a response.
WAPS_FUNC_MSAP_SINK_COST_READ_REQ
@ WAPS_FUNC_MSAP_SINK_COST_READ_REQ
Definition: function_codes.h:102
WapsFunc_isIndication
bool WapsFunc_isIndication(uint8_t func)
Check if given func code is an indication.
WAPS_FUNC_RESERVED_REMOTE_API_2_REQ
@ WAPS_FUNC_RESERVED_REMOTE_API_2_REQ
Definition: function_codes.h:137
WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_REQ
Definition: function_codes.h:62
WAPS_FUNC_MSAP_STACK_SLEEP_STOP_REQ
@ WAPS_FUNC_MSAP_STACK_SLEEP_STOP_REQ
Definition: function_codes.h:117
WAPS_FUNC_MSAP_STACK_START_CNF
@ WAPS_FUNC_MSAP_STACK_START_CNF
Definition: function_codes.h:30
WAPS_FUNC_MSAP_REMOTE_STATUS_REQ
@ WAPS_FUNC_MSAP_REMOTE_STATUS_REQ
Definition: function_codes.h:68
WAPS_FUNC_MSAP_REMOTE_STATUS_RSP
@ WAPS_FUNC_MSAP_REMOTE_STATUS_RSP
Definition: function_codes.h:71
WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_REQ
@ WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_REQ
Definition: function_codes.h:87
WAPS_FUNC_MSAP_SINK_COST_WRITE_CNF
@ WAPS_FUNC_MSAP_SINK_COST_WRITE_CNF
Definition: function_codes.h:100
WAPS_FUNC_CSAP_ATTR_READ_CNF
@ WAPS_FUNC_CSAP_ATTR_READ_CNF
Definition: function_codes.h:48
WAPS_FUNC_CSAP_FACTORY_RESET_REQ
@ WAPS_FUNC_CSAP_FACTORY_RESET_REQ
Definition: function_codes.h:50
WapsFunc_isCsapRequest
bool WapsFunc_isCsapRequest(uint8_t func)
Check if given func code is a CSAP request.
WAPS_FUNC_MSAP_INDICATION_POLL_REQ
@ WAPS_FUNC_MSAP_INDICATION_POLL_REQ
Definition: function_codes.h:26
WAPS_FUNC_RESERVED_REMOTE_API_2_CNF
@ WAPS_FUNC_RESERVED_REMOTE_API_2_CNF
Definition: function_codes.h:138
WAPS_FUNC_MSAP_STACK_STATE_RSP
@ WAPS_FUNC_MSAP_STACK_STATE_RSP
Definition: function_codes.h:36
WAPS_FUNC_RESERVED_REMOTE_API_3_CNF
@ WAPS_FUNC_RESERVED_REMOTE_API_3_CNF
Definition: function_codes.h:140
WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_TARGET_READ_CNF
Definition: function_codes.h:94
WAPS_FUNC_MSAP_SINK_COST_READ_CNF
@ WAPS_FUNC_MSAP_SINK_COST_READ_CNF
Definition: function_codes.h:103
WAPS_FUNC_MSAP_ATTR_WRITE_CNF
@ WAPS_FUNC_MSAP_ATTR_WRITE_CNF
Definition: function_codes.h:39
WAPS_FUNC_DSAP_DATA_TX_TT_REQ
@ WAPS_FUNC_DSAP_DATA_TX_TT_REQ
Definition: function_codes.h:76
WAPS_FUNC_DSAP_DATA_RX_FRAG_RSP
@ WAPS_FUNC_DSAP_DATA_RX_FRAG_RSP
Definition: function_codes.h:21
WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_REQ
@ WAPS_FUNC_MSAP_SCRATCHPAD_BLOCK_REQ
Definition: function_codes.h:56
WAPS_FUNC_MSAP_SINK_COST_WRITE_REQ
@ WAPS_FUNC_MSAP_SINK_COST_WRITE_REQ
Definition: function_codes.h:99
WAPS_FUNC_RESERVED_REMOTE_API_4_CNF
@ WAPS_FUNC_RESERVED_REMOTE_API_4_CNF
Definition: function_codes.h:142
WAPS_FUNC_RESERVED_REMOTE_API_3_REQ
@ WAPS_FUNC_RESERVED_REMOTE_API_3_REQ
Definition: function_codes.h:139
WAPS_FUNC_MSAP_SCAN_NBORS_CNF
@ WAPS_FUNC_MSAP_SCAN_NBORS_CNF
Definition: function_codes.h:83
WAPS_FUNC_MSAP_ATTR_READ_REQ
@ WAPS_FUNC_MSAP_ATTR_READ_REQ
Definition: function_codes.h:41
WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_CNF
@ WAPS_FUNC_MSAP_GET_INSTALL_QUALITY_CNF
Definition: function_codes.h:88
WAPS_FUNC_CSAP_ATTR_WRITE_CNF
@ WAPS_FUNC_CSAP_ATTR_WRITE_CNF
Definition: function_codes.h:45
WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_CNF
@ WAPS_FUNC_MSAP_SCRATCHPAD_BOOTABLE_CNF
Definition: function_codes.h:63
WAPS_FUNC_MSAP_REMOTE_STATUS_IND
@ WAPS_FUNC_MSAP_REMOTE_STATUS_IND
Definition: function_codes.h:70
WAPS_FUNC_CSAP_ATTR_READ_REQ
@ WAPS_FUNC_CSAP_ATTR_READ_REQ
Definition: function_codes.h:47
WapsFunc_isRequest
bool WapsFunc_isRequest(uint8_t func)
Check if given func code is a request.