Contiki 2.5
error-def.h
Go to the documentation of this file.
1 /**
2  * @file error-def.h
3  * @brief Return-code definitions for API functions.
4  *
5  * See @ref status_codes for documentation.
6  * <!--(C) COPYRIGHT 2010 STMicroelectronics. All rights reserved. -->
7 */
8 
9 /**
10  * @addtogroup status_codes
11  *
12  * Many StZNet API functions return an ::StStatus value to indicate
13  * the success or failure of the call.
14  * Return codes are one byte long.
15  * This page documents the possible status codes and their meanings.
16  *
17  * See error-def.h for source code.
18  *
19  * See also error.h for information on how the values for the return codes are
20  * built up from these definitions.
21  * The file error-def.h is separated from error.h because utilities will use this file
22  * to parse the return codes.
23  *
24  * @note Do not include error-def.h directly. It is included by
25  * error.h inside an enum typedef, which is in turn included by st.h.
26  *
27  * @{
28  */
29 
30 /**
31  * @name Generic Messages
32  * These messages are system wide.
33  */
34 //@{
35 
36 #ifdef DOXYGEN_SHOULD_SKIP_THIS
37 /**
38  * @brief The generic "no error" message.
39  */
40 #define ST_SUCCESS(0x00)
41 #else
42 DEFINE_ERROR(SUCCESS, 0)
43 #endif //DOXYGEN_SHOULD_SKIP_THIS
44 
45 
46 #ifdef DOXYGEN_SHOULD_SKIP_THIS
47 /**
48  * @brief The generic "fatal error" message.
49  */
50 #define ST_ERR_FATAL(0x01)
51 #else
52 DEFINE_ERROR(ERR_FATAL, 0x01)
53 #endif //DOXYGEN_SHOULD_SKIP_THIS
54 
55 
56 #ifdef DOXYGEN_SHOULD_SKIP_THIS
57 /**
58  * @brief An invalid value was passed as an argument to a function.
59  */
60 #define ST_BAD_ARGUMENT(0x02)
61 #else
62 DEFINE_ERROR(BAD_ARGUMENT, 0x02)
63 #endif //DOXYGEN_SHOULD_SKIP_THIS
64 
65 
66 #ifdef DOXYGEN_SHOULD_SKIP_THIS
67 /**
68  * @brief The manufacturing and stack token format in non-volatile memory
69  * is different than what the stack expects (returned at initialization).
70  */
71 #define ST_EEPROM_MFG_STACK_VERSION_MISMATCH(0x04)
72 #else
73 DEFINE_ERROR(EEPROM_MFG_STACK_VERSION_MISMATCH, 0x04)
74 #endif //DOXYGEN_SHOULD_SKIP_THIS
75 
76 
77 #ifdef DOXYGEN_SHOULD_SKIP_THIS
78 /**
79  * @brief The static memory definitions in st-static-memory.h
80  * are incompatible with this stack version.
81  */
82 #define ST_INCOMPATIBLE_STATIC_MEMORY_DEFINITIONS(0x05)
83 #else
84 DEFINE_ERROR(INCOMPATIBLE_STATIC_MEMORY_DEFINITIONS, 0x05)
85 #endif //DOXYGEN_SHOULD_SKIP_THIS
86 
87 
88 #ifdef DOXYGEN_SHOULD_SKIP_THIS
89 /**
90  * @brief The manufacturing token format in non-volatile memory is
91  * different than what the stack expects (returned at initialization).
92  */
93 #define ST_EEPROM_MFG_VERSION_MISMATCH(0x06)
94 #else
95 DEFINE_ERROR(EEPROM_MFG_VERSION_MISMATCH, 0x06)
96 #endif //DOXYGEN_SHOULD_SKIP_THIS
97 
98 
99 #ifdef DOXYGEN_SHOULD_SKIP_THIS
100 /**
101  * @brief The stack token format in non-volatile memory is different
102  * than what the stack expects (returned at initialization).
103  */
104 #define ST_EEPROM_STACK_VERSION_MISMATCH(0x07)
105 #else
106 DEFINE_ERROR(EEPROM_STACK_VERSION_MISMATCH, 0x07)
107 #endif //DOXYGEN_SHOULD_SKIP_THIS
108 
109 //@} // END Generic Messages
110 
111 
112 /**
113  * @name Packet Buffer Module Errors
114  */
115 //@{
116 
117 #ifdef DOXYGEN_SHOULD_SKIP_THIS
118 /**
119  * @brief There are no more buffers.
120  */
121 #define ST_NO_BUFFERS(0x18)
122 #else
123 DEFINE_ERROR(NO_BUFFERS, 0x18)
124 #endif //DOXYGEN_SHOULD_SKIP_THIS
125 
126 //@} / END Packet Buffer Module Errors
127 
128 /**
129  * @name Serial Manager Errors
130  */
131 //@{
132 
133 #ifdef DOXYGEN_SHOULD_SKIP_THIS
134 /**
135  * @brief Specified an invalid baud rate.
136  */
137 #define ST_SERIAL_INVALID_BAUD_RATE(0x20)
138 #else
139 DEFINE_ERROR(SERIAL_INVALID_BAUD_RATE, 0x20)
140 #endif //DOXYGEN_SHOULD_SKIP_THIS
141 
142 
143 #ifdef DOXYGEN_SHOULD_SKIP_THIS
144 /**
145  * @brief Specified an invalid serial port.
146  */
147 #define ST_SERIAL_INVALID_PORT(0x21)
148 #else
149 DEFINE_ERROR(SERIAL_INVALID_PORT, 0x21)
150 #endif //DOXYGEN_SHOULD_SKIP_THIS
151 
152 
153 #ifdef DOXYGEN_SHOULD_SKIP_THIS
154 /**
155  * @brief Tried to send too much data.
156  */
157 #define ST_SERIAL_TX_OVERFLOW(0x22)
158 #else
159 DEFINE_ERROR(SERIAL_TX_OVERFLOW, 0x22)
160 #endif //DOXYGEN_SHOULD_SKIP_THIS
161 
162 
163 #ifdef DOXYGEN_SHOULD_SKIP_THIS
164 /**
165  * @brief There was not enough space to store a received character
166  * and the character was dropped.
167  */
168 #define ST_SERIAL_RX_OVERFLOW(0x23)
169 #else
170 DEFINE_ERROR(SERIAL_RX_OVERFLOW, 0x23)
171 #endif //DOXYGEN_SHOULD_SKIP_THIS
172 
173 
174 #ifdef DOXYGEN_SHOULD_SKIP_THIS
175 /**
176  * @brief Detected a UART framing error.
177  */
178 #define ST_SERIAL_RX_FRAME_ERROR(0x24)
179 #else
180 DEFINE_ERROR(SERIAL_RX_FRAME_ERROR, 0x24)
181 #endif //DOXYGEN_SHOULD_SKIP_THIS
182 
183 
184 #ifdef DOXYGEN_SHOULD_SKIP_THIS
185 /**
186  * @brief Detected a UART parity error.
187  */
188 #define ST_SERIAL_RX_PARITY_ERROR(0x25)
189 #else
190 DEFINE_ERROR(SERIAL_RX_PARITY_ERROR, 0x25)
191 #endif //DOXYGEN_SHOULD_SKIP_THIS
192 
193 
194 #ifdef DOXYGEN_SHOULD_SKIP_THIS
195 /**
196  * @brief There is no received data to process.
197  */
198 #define ST_SERIAL_RX_EMPTY(0x26)
199 #else
200 DEFINE_ERROR(SERIAL_RX_EMPTY, 0x26)
201 #endif //DOXYGEN_SHOULD_SKIP_THIS
202 
203 
204 #ifdef DOXYGEN_SHOULD_SKIP_THIS
205 /**
206  * @brief The receive interrupt was not handled in time, and a
207  * character was dropped.
208  */
209 #define ST_SERIAL_RX_OVERRUN_ERROR(0x27)
210 #else
211 DEFINE_ERROR(SERIAL_RX_OVERRUN_ERROR, 0x27)
212 #endif //DOXYGEN_SHOULD_SKIP_THIS
213 
214 //@}
215 
216 /**
217  * @name MAC Errors
218  */
219 //@{
220 
221 #ifdef DOXYGEN_SHOULD_SKIP_THIS
222 /**
223  * @brief The MAC transmit queue is full.
224  */
225 #define ST_MAC_TRANSMIT_QUEUE_FULL(0x39)
226 #else
227 // Internal
228 DEFINE_ERROR(MAC_TRANSMIT_QUEUE_FULL, 0x39)
229 #endif //DOXYGEN_SHOULD_SKIP_THIS
230 
231 
232 #ifdef DOXYGEN_SHOULD_SKIP_THIS
233 /**
234  * @brief MAC header FCF error on receive.
235  */
236 #define ST_MAC_UNKNOWN_HEADER_TYPE(0x3A)
237 #else
238 DEFINE_ERROR(MAC_UNKNOWN_HEADER_TYPE, 0x3A)
239 #endif //DOXYGEN_SHOULD_SKIP_THIS
240 
241 #ifdef DOXYGEN_SHOULD_SKIP_THIS
242 /**
243  * @brief MAC ACK header received.
244  */
245 #define ST_MAC_ACK_HEADER_TYPE(0x3B)
246 #else
247 DEFINE_ERROR(MAC_ACK_HEADER_TYPE, 0x3B)
248 #endif //DOXYGEN_SHOULD_SKIP_THIS
249 
250 
251 
252 #ifdef DOXYGEN_SHOULD_SKIP_THIS
253 /**
254  * @brief The MAC can't complete this task because it is scanning.
255  */
256 #define ST_MAC_SCANNING(0x3D)
257 #else
258 DEFINE_ERROR(MAC_SCANNING, 0x3D)
259 #endif //DOXYGEN_SHOULD_SKIP_THIS
260 
261 
262 #ifdef DOXYGEN_SHOULD_SKIP_THIS
263 /**
264  * @brief No pending data exists for device doing a data poll.
265  */
266 #define ST_MAC_NO_DATA(0x31)
267 #else
268 DEFINE_ERROR(MAC_NO_DATA, 0x31)
269 #endif //DOXYGEN_SHOULD_SKIP_THIS
270 
271 
272 #ifdef DOXYGEN_SHOULD_SKIP_THIS
273 /**
274  * @brief Attempt to scan when we are joined to a network.
275  */
276 #define ST_MAC_JOINED_NETWORK(0x32)
277 #else
278 DEFINE_ERROR(MAC_JOINED_NETWORK, 0x32)
279 #endif //DOXYGEN_SHOULD_SKIP_THIS
280 
281 
282 #ifdef DOXYGEN_SHOULD_SKIP_THIS
283 /**
284  * @brief Scan duration must be 0 to 14 inclusive. Attempt was made to
285  * scan with an incorrect duration value.
286  */
287 #define ST_MAC_BAD_SCAN_DURATION(0x33)
288 #else
289 DEFINE_ERROR(MAC_BAD_SCAN_DURATION, 0x33)
290 #endif //DOXYGEN_SHOULD_SKIP_THIS
291 
292 
293 #ifdef DOXYGEN_SHOULD_SKIP_THIS
294 /**
295  * @brief stStartScan was called with an incorrect scan type.
296  */
297 #define ST_MAC_INCORRECT_SCAN_TYPE(0x34)
298 #else
299 DEFINE_ERROR(MAC_INCORRECT_SCAN_TYPE, 0x34)
300 #endif //DOXYGEN_SHOULD_SKIP_THIS
301 
302 
303 #ifdef DOXYGEN_SHOULD_SKIP_THIS
304 /**
305  * @brief stStartScan was called with an invalid channel mask.
306  */
307 #define ST_MAC_INVALID_CHANNEL_MASK(0x35)
308 #else
309 DEFINE_ERROR(MAC_INVALID_CHANNEL_MASK, 0x35)
310 #endif //DOXYGEN_SHOULD_SKIP_THIS
311 
312 
313 #ifdef DOXYGEN_SHOULD_SKIP_THIS
314 /**
315  * @brief Failed to scan current channel because we were unable to
316  * transmit the relevent MAC command.
317  */
318 #define ST_MAC_COMMAND_TRANSMIT_FAILURE(0x36)
319 #else
320 DEFINE_ERROR(MAC_COMMAND_TRANSMIT_FAILURE, 0x36)
321 #endif //DOXYGEN_SHOULD_SKIP_THIS
322 
323 
324 #ifdef DOXYGEN_SHOULD_SKIP_THIS
325 /**
326  * @brief We expected to receive an ACK following the transmission, but
327  * the MAC level ACK was never received.
328  */
329 #define ST_MAC_NO_ACK_RECEIVED(0x40)
330 #else
331 DEFINE_ERROR(MAC_NO_ACK_RECEIVED, 0x40)
332 #endif //DOXYGEN_SHOULD_SKIP_THIS
333 
334 
335 #ifdef DOXYGEN_SHOULD_SKIP_THIS
336 /**
337  * @brief Indirect data message timed out before polled.
338  */
339 #define ST_MAC_INDIRECT_TIMEOUT(0x42)
340 #else
341 DEFINE_ERROR(MAC_INDIRECT_TIMEOUT, 0x42)
342 #endif //DOXYGEN_SHOULD_SKIP_THIS
343 
344 //@}
345 
346 
347 /**
348  * @name Simulated EEPROM Errors
349  */
350 //@{
351 
352 
353 #ifdef DOXYGEN_SHOULD_SKIP_THIS
354 /**
355  * @brief The Simulated EEPROM is telling the application that there
356  * is at least one flash page to be erased. The GREEN status means the
357  * current page has not filled above the ::ERASE_CRITICAL_THRESHOLD.
358  *
359  * The application should call the function ::halSimEepromErasePage() when it can
360  * to erase a page.
361  */
362 #define ST_SIM_EEPROM_ERASE_PAGE_GREEN(0x43)
363 #else
364 DEFINE_ERROR(SIM_EEPROM_ERASE_PAGE_GREEN, 0x43)
365 #endif //DOXYGEN_SHOULD_SKIP_THIS
366 
367 
368 #ifdef DOXYGEN_SHOULD_SKIP_THIS
369 /**
370  * @brief The Simulated EEPROM is telling the application that there
371  * is at least one flash page to be erased. The RED status means the
372  * current page has filled above the ::ERASE_CRITICAL_THRESHOLD.
373  *
374  * Due to the shrinking availablity of write space, there is a danger of
375  * data loss. The application must call the function ::halSimEepromErasePage()
376  * as soon as possible to erase a page.
377  */
378 #define ST_SIM_EEPROM_ERASE_PAGE_RED(0x44)
379 #else
380 DEFINE_ERROR(SIM_EEPROM_ERASE_PAGE_RED, 0x44)
381 #endif //DOXYGEN_SHOULD_SKIP_THIS
382 
383 
384 #ifdef DOXYGEN_SHOULD_SKIP_THIS
385 /**
386  * @brief The Simulated EEPROM has run out of room to write any new data
387  * and the data trying to be set has been lost. This error code is the
388  * result of ignoring the ::SIM_EEPROM_ERASE_PAGE_RED error code.
389  *
390  * The application must call the function ::halSimEepromErasePage() to make room for
391  * any further calls to set a token.
392  */
393 #define ST_SIM_EEPROM_FULL(0x45)
394 #else
395 DEFINE_ERROR(SIM_EEPROM_FULL, 0x45)
396 #endif //DOXYGEN_SHOULD_SKIP_THIS
397 
398 
399 // Errors 46 and 47 are now defined below in the
400 // flash error block (was attempting to prevent renumbering)
401 
402 
403 #ifdef DOXYGEN_SHOULD_SKIP_THIS
404 /**
405  * @brief Attempt 1 to initialize the Simulated EEPROM has failed.
406  *
407  * This failure means the information already stored in Flash (or a lack
408  * thereof), is fatally incompatible with the token information compiled
409  * into the code image being run.
410  */
411 #define ST_SIM_EEPROM_INIT_1_FAILED(0x48)
412 #else
413 DEFINE_ERROR(SIM_EEPROM_INIT_1_FAILED, 0x48)
414 #endif //DOXYGEN_SHOULD_SKIP_THIS
415 
416 
417 #ifdef DOXYGEN_SHOULD_SKIP_THIS
418 /**
419  * @brief Attempt 2 to initialize the Simulated EEPROM has failed.
420  *
421  * This failure means Attempt 1 failed, and the token system failed to
422  * properly reload default tokens and reset the Simulated EEPROM.
423  */
424 #define ST_SIM_EEPROM_INIT_2_FAILED(0x49)
425 #else
426 DEFINE_ERROR(SIM_EEPROM_INIT_2_FAILED, 0x49)
427 #endif //DOXYGEN_SHOULD_SKIP_THIS
428 
429 
430 #ifdef DOXYGEN_SHOULD_SKIP_THIS
431 /**
432  * @brief Attempt 3 to initialize the Simulated EEPROM has failed.
433  *
434  * This failure means one or both of the tokens ::TOKEN_MFG_NVDATA_VERSION or
435  * ::TOKEN_STACK_NVDATA_VERSION were incorrect and the token system failed to
436  * properly reload default tokens and reset the Simulated EEPROM.
437  */
438 #define ST_SIM_EEPROM_INIT_3_FAILED(0x4A)
439 #else
440 DEFINE_ERROR(SIM_EEPROM_INIT_3_FAILED, 0x4A)
441 #endif //DOXYGEN_SHOULD_SKIP_THIS
442 
443 //@}
444 
445 
446 /**
447  * @name Flash Errors
448  */
449 //@{
450 
451 #ifdef DOXYGEN_SHOULD_SKIP_THIS
452 /**
453  * @brief A fatal error has occured while trying to write data to the
454  * Flash. The target memory attempting to be programmed is already programmed.
455  * The flash write routines were asked to flip a bit from a 0 to 1, which is
456  * physically impossible and the write was therefore inhibited. The data in
457  * the flash cannot be trusted after this error.
458  */
459 #define ST_ERR_FLASH_WRITE_INHIBITED(0x46)
460 #else
461 DEFINE_ERROR(ERR_FLASH_WRITE_INHIBITED, 0x46)
462 #endif //DOXYGEN_SHOULD_SKIP_THIS
463 
464 
465 #ifdef DOXYGEN_SHOULD_SKIP_THIS
466 /**
467  * @brief A fatal error has occured while trying to write data to the
468  * Flash and the write verification has failed. The data in the flash
469  * cannot be trusted after this error, and it is possible this error is the
470  * result of exceeding the life cycles of the flash.
471  */
472 #define ST_ERR_FLASH_VERIFY_FAILED(0x47)
473 #else
474 DEFINE_ERROR(ERR_FLASH_VERIFY_FAILED, 0x47)
475 #endif //DOXYGEN_SHOULD_SKIP_THIS
476 
477 
478 #ifdef DOXYGEN_SHOULD_SKIP_THIS
479 /**
480  * @description A fatal error has occured while trying to write data to the
481  * flash, possibly due to write protection or an invalid address. The data in
482  * the flash cannot be trusted after this error, and it is possible this error
483  * is the result of exceeding the life cycles of the flash.
484  */
485 #define ST_ERR_FLASH_PROG_FAIL(0x4B)
486 #else
487 DEFINE_ERROR(ERR_FLASH_PROG_FAIL, 0x4B)
488 #endif //DOXYGEN_SHOULD_SKIP_THIS
489 
490 
491 #ifdef DOXYGEN_SHOULD_SKIP_THIS
492 /**
493  * @description A fatal error has occured while trying to erase flash, possibly
494  * due to write protection. The data in the flash cannot be trusted after
495  * this error, and it is possible this error is the result of exceeding the
496  * life cycles of the flash.
497  */
498 #define ST_ERR_FLASH_ERASE_FAIL(0x4C)
499 #else
500 DEFINE_ERROR(ERR_FLASH_ERASE_FAIL, 0x4C)
501 #endif //DOXYGEN_SHOULD_SKIP_THIS
502 
503 //@}
504 
505 
506 /**
507  * @name Bootloader Errors
508  */
509 //@{
510 
511 
512 #ifdef DOXYGEN_SHOULD_SKIP_THIS
513 /**
514  * @brief The bootloader received an invalid message (failed attempt
515  * to go into bootloader).
516  */
517 #define ST_ERR_BOOTLOADER_TRAP_TABLE_BAD(0x58)
518 #else
519 DEFINE_ERROR(ERR_BOOTLOADER_TRAP_TABLE_BAD, 0x58)
520 #endif //DOXYGEN_SHOULD_SKIP_THIS
521 
522 
523 #ifdef DOXYGEN_SHOULD_SKIP_THIS
524 /**
525  * @brief Bootloader received an invalid message (failed attempt to go
526  * into bootloader).
527  */
528 #define ST_ERR_BOOTLOADER_TRAP_UNKNOWN(0x59)
529 #else
530 DEFINE_ERROR(ERR_BOOTLOADER_TRAP_UNKNOWN, 0x59)
531 #endif //DOXYGEN_SHOULD_SKIP_THIS
532 
533 
534 #ifdef DOXYGEN_SHOULD_SKIP_THIS
535 /**
536  * @brief The bootloader cannot complete the bootload operation because
537  * either an image was not found or the image exceeded memory bounds.
538  */
539 #define ST_ERR_BOOTLOADER_NO_IMAGE(0x05A)
540 #else
541 DEFINE_ERROR(ERR_BOOTLOADER_NO_IMAGE, 0x5A)
542 #endif //DOXYGEN_SHOULD_SKIP_THIS
543 
544 //@}
545 
546 
547 /**
548  * @name Transport Errors
549  */
550 //@{
551 
552 #ifdef DOXYGEN_SHOULD_SKIP_THIS
553 /**
554  * @brief The APS layer attempted to send or deliver a message, but
555  * it failed.
556  */
557 #define ST_DELIVERY_FAILED(0x66)
558 #else
559 DEFINE_ERROR(DELIVERY_FAILED, 0x66)
560 #endif //DOXYGEN_SHOULD_SKIP_THIS
561 
562 
563 #ifdef DOXYGEN_SHOULD_SKIP_THIS
564 /**
565  * @brief This binding index is out of range for the current binding table.
566  */
567 #define ST_BINDING_INDEX_OUT_OF_RANGE(0x69)
568 #else
569 DEFINE_ERROR(BINDING_INDEX_OUT_OF_RANGE, 0x69)
570 #endif //DOXYGEN_SHOULD_SKIP_THIS
571 
572 
573 #ifdef DOXYGEN_SHOULD_SKIP_THIS
574 /**
575  * @brief This address table index is out of range for the current
576  * address table.
577  */
578 #define ST_ADDRESS_TABLE_INDEX_OUT_OF_RANGE(0x6A)
579 #else
580 DEFINE_ERROR(ADDRESS_TABLE_INDEX_OUT_OF_RANGE, 0x6A)
581 #endif //DOXYGEN_SHOULD_SKIP_THIS
582 
583 
584 #ifdef DOXYGEN_SHOULD_SKIP_THIS
585 /**
586  * @brief An invalid binding table index was given to a function.
587  */
588 #define ST_INVALID_BINDING_INDEX(0x6C)
589 #else
590 DEFINE_ERROR(INVALID_BINDING_INDEX, 0x6C)
591 #endif //DOXYGEN_SHOULD_SKIP_THIS
592 
593 
594 #ifdef DOXYGEN_SHOULD_SKIP_THIS
595 /**
596  * @brief The API call is not allowed given the current state of the
597  * stack.
598  */
599 #define ST_INVALID_CALL(0x70)
600 #else
601 DEFINE_ERROR(INVALID_CALL, 0x70)
602 #endif //DOXYGEN_SHOULD_SKIP_THIS
603 
604 
605 #ifdef DOXYGEN_SHOULD_SKIP_THIS
606 /**
607  * @brief The link cost to a node is not known.
608  */
609 #define ST_COST_NOT_KNOWN(0x71)
610 #else
611 DEFINE_ERROR(COST_NOT_KNOWN, 0x71)
612 #endif //DOXYGEN_SHOULD_SKIP_THIS
613 
614 
615 #ifdef DOXYGEN_SHOULD_SKIP_THIS
616 /**
617  * @brief The maximum number of in-flight messages (i.e.
618  * ::ST_APS_UNICAST_MESSAGE_COUNT) has been reached.
619  */
620 #define ST_MAX_MESSAGE_LIMIT_REACHED(0x72)
621 #else
622 DEFINE_ERROR(MAX_MESSAGE_LIMIT_REACHED, 0x72)
623 #endif //DOXYGEN_SHOULD_SKIP_THIS
624 
625 #ifdef DOXYGEN_SHOULD_SKIP_THIS
626 /**
627  * @brief The message to be transmitted is too big to fit into a
628  * single over-the-air packet.
629  */
630 #define ST_MESSAGE_TOO_LONG(0x74)
631 #else
632 DEFINE_ERROR(MESSAGE_TOO_LONG, 0x74)
633 #endif //DOXYGEN_SHOULD_SKIP_THIS
634 
635 
636 #ifdef DOXYGEN_SHOULD_SKIP_THIS
637 /**
638  * @brief The application is trying to delete or overwrite a binding
639  * that is in use.
640  */
641 #define ST_BINDING_IS_ACTIVE(0x75)
642 #else
643 DEFINE_ERROR(BINDING_IS_ACTIVE, 0x75)
644 #endif //DOXYGEN_SHOULD_SKIP_THIS
645 
646 #ifdef DOXYGEN_SHOULD_SKIP_THIS
647 /**
648  * @brief The application is trying to overwrite an address table entry
649  * that is in use.
650  */
651 #define ST_ADDRESS_TABLE_ENTRY_IS_ACTIVE(0x76)
652 #else
653 DEFINE_ERROR(ADDRESS_TABLE_ENTRY_IS_ACTIVE, 0x76)
654 #endif //DOXYGEN_SHOULD_SKIP_THIS
655 
656 //@}
657 
658 /**
659  * @name HAL Module Errors
660  */
661 //@{
662 
663 
664 #ifdef DOXYGEN_SHOULD_SKIP_THIS
665 /**
666  * @brief Conversion is complete.
667  */
668 #define ST_ADC_CONVERSION_DONE(0x80)
669 #else
670 DEFINE_ERROR(ADC_CONVERSION_DONE, 0x80)
671 #endif //DOXYGEN_SHOULD_SKIP_THIS
672 
673 
674 #ifdef DOXYGEN_SHOULD_SKIP_THIS
675 /**
676  * @brief Conversion cannot be done because a request is being
677  * processed.
678  */
679 #define ST_ADC_CONVERSION_BUSY(0x81)
680 #else
681 DEFINE_ERROR(ADC_CONVERSION_BUSY, 0x81)
682 #endif //DOXYGEN_SHOULD_SKIP_THIS
683 
684 
685 #ifdef DOXYGEN_SHOULD_SKIP_THIS
686 /**
687  * @brief Conversion is deferred until the current request has been
688  * processed.
689  */
690 #define ST_ADC_CONVERSION_DEFERRED(0x82)
691 #else
692 DEFINE_ERROR(ADC_CONVERSION_DEFERRED, 0x82)
693 #endif //DOXYGEN_SHOULD_SKIP_THIS
694 
695 
696 #ifdef DOXYGEN_SHOULD_SKIP_THIS
697 /**
698  * @brief No results are pending.
699  */
700 #define ST_ADC_NO_CONVERSION_PENDING(0x84)
701 #else
702 DEFINE_ERROR(ADC_NO_CONVERSION_PENDING, 0x84)
703 #endif //DOXYGEN_SHOULD_SKIP_THIS
704 
705 
706 #ifdef DOXYGEN_SHOULD_SKIP_THIS
707 /**
708  * @brief Sleeping (for a duration) has been abnormally interrupted
709  * and exited prematurely.
710  */
711 #define ST_SLEEP_INTERRUPTED(0x85)
712 #else
713 DEFINE_ERROR(SLEEP_INTERRUPTED, 0x85)
714 #endif //DOXYGEN_SHOULD_SKIP_THIS
715 
716 //@}
717 
718 /**
719  * @name PHY Errors
720  */
721 //@{
722 
723 
724 #ifdef DOXYGEN_SHOULD_SKIP_THIS
725 /**
726  * @brief The transmit hardware buffer underflowed.
727  */
728 #define ST_PHY_TX_UNDERFLOW(0x88)
729 #else
730 DEFINE_ERROR(PHY_TX_UNDERFLOW, 0x88)
731 #endif //DOXYGEN_SHOULD_SKIP_THIS
732 
733 
734 #ifdef DOXYGEN_SHOULD_SKIP_THIS
735 /**
736  * @brief The transmit hardware did not finish transmitting a packet.
737  */
738 #define ST_PHY_TX_INCOMPLETE(0x89)
739 #else
740 DEFINE_ERROR(PHY_TX_INCOMPLETE, 0x89)
741 #endif //DOXYGEN_SHOULD_SKIP_THIS
742 
743 
744 #ifdef DOXYGEN_SHOULD_SKIP_THIS
745 /**
746  * @brief An unsupported channel setting was specified.
747  */
748 #define ST_PHY_INVALID_CHANNEL(0x8A)
749 #else
750 DEFINE_ERROR(PHY_INVALID_CHANNEL, 0x8A)
751 #endif //DOXYGEN_SHOULD_SKIP_THIS
752 
753 
754 #ifdef DOXYGEN_SHOULD_SKIP_THIS
755 /**
756  * @brief An unsupported power setting was specified.
757  */
758 #define ST_PHY_INVALID_POWER(0x8B)
759 #else
760 DEFINE_ERROR(PHY_INVALID_POWER, 0x8B)
761 #endif //DOXYGEN_SHOULD_SKIP_THIS
762 
763 
764 #ifdef DOXYGEN_SHOULD_SKIP_THIS
765 /**
766  * @brief The requested operation cannot be completed because the radio
767  * is currently busy, either transmitting a packet or performing calibration.
768  */
769 #define ST_PHY_TX_BUSY(0x8C)
770 #else
771 DEFINE_ERROR(PHY_TX_BUSY, 0x8C)
772 #endif //DOXYGEN_SHOULD_SKIP_THIS
773 
774 
775 #ifdef DOXYGEN_SHOULD_SKIP_THIS
776 /**
777  * @brief The transmit attempt failed because all CCA attempts indicated that
778  * the channel was busy.
779  */
780 #define ST_PHY_TX_CCA_FAIL(0x8D)
781 #else
782 DEFINE_ERROR(PHY_TX_CCA_FAIL, 0x8D)
783 #endif //DOXYGEN_SHOULD_SKIP_THIS
784 
785 
786 #ifdef DOXYGEN_SHOULD_SKIP_THIS
787 /**
788  * @brief The software installed on the hardware doesn't recognize the
789  * hardware radio type.
790  */
791 #define ST_PHY_OSCILLATOR_CHECK_FAILED(0x8E)
792 #else
793 DEFINE_ERROR(PHY_OSCILLATOR_CHECK_FAILED, 0x8E)
794 #endif //DOXYGEN_SHOULD_SKIP_THIS
795 
796 
797 #ifdef DOXYGEN_SHOULD_SKIP_THIS
798 /**
799  * @brief The expected ACK was received after the last transmission.
800  */
801 #define ST_PHY_ACK_RECEIVED(0x8F)
802 #else
803 DEFINE_ERROR(PHY_ACK_RECEIVED, 0x8F)
804 #endif //DOXYGEN_SHOULD_SKIP_THIS
805 
806 //@}
807 
808 /**
809  * @name Return Codes Passed to stStackStatusHandler()
810  * See also ::stStackStatusHandler().
811  */
812 //@{
813 
814 
815 #ifdef DOXYGEN_SHOULD_SKIP_THIS
816 /**
817  * @brief The stack software has completed initialization and is ready
818  * to send and receive packets over the air.
819  */
820 #define ST_NETWORK_UP(0x90)
821 #else
822 DEFINE_ERROR(NETWORK_UP, 0x90)
823 #endif //DOXYGEN_SHOULD_SKIP_THIS
824 
825 
826 #ifdef DOXYGEN_SHOULD_SKIP_THIS
827 /**
828  * @brief The network is not operating.
829  */
830 #define ST_NETWORK_DOWN(0x91)
831 #else
832 DEFINE_ERROR(NETWORK_DOWN, 0x91)
833 #endif //DOXYGEN_SHOULD_SKIP_THIS
834 
835 
836 #ifdef DOXYGEN_SHOULD_SKIP_THIS
837 /**
838  * @brief An attempt to join a network failed.
839  */
840 #define ST_JOIN_FAILED(0x94)
841 #else
842 DEFINE_ERROR(JOIN_FAILED, 0x94)
843 #endif //DOXYGEN_SHOULD_SKIP_THIS
844 
845 
846 #ifdef DOXYGEN_SHOULD_SKIP_THIS
847 /**
848  * @brief After moving, a mobile node's attempt to re-establish contact
849  * with the network failed.
850  */
851 #define ST_MOVE_FAILED(0x96)
852 #else
853 DEFINE_ERROR(MOVE_FAILED, 0x96)
854 #endif //DOXYGEN_SHOULD_SKIP_THIS
855 
856 
857 #ifdef DOXYGEN_SHOULD_SKIP_THIS
858 /**
859  * @brief An attempt to join as a router failed due to a Zigbee
860  * versus Zigbee Pro incompatibility. Zigbee devices joining Zigbee Pro networks
861  * (or vica versa) must join as End Devices, not Routers.
862  */
863 #define ST_CANNOT_JOIN_AS_ROUTER(0x98)
864 #else
865 DEFINE_ERROR(CANNOT_JOIN_AS_ROUTER, 0x98)
866 #endif //DOXYGEN_SHOULD_SKIP_THIS
867 
868 
869 #ifdef DOXYGEN_SHOULD_SKIP_THIS
870 /** @brief The local node ID has changed. The application can obtain the new
871  * node ID by calling ::stGetNodeId().
872  */
873 #define ST_NODE_ID_CHANGED(0x99)
874 #else
875 DEFINE_ERROR(NODE_ID_CHANGED, 0x99)
876 #endif
877 
878 
879 #ifdef DOXYGEN_SHOULD_SKIP_THIS
880 /** @brief The local PAN ID has changed. The application can obtain the new PAN
881  * ID by calling ::stGetPanId().
882  */
883 #define ST_PAN_ID_CHANGED(0x9A)
884 #else
885 DEFINE_ERROR(PAN_ID_CHANGED, 0x9A)
886 #endif
887 
888 #ifdef DOXYGEN_SHOULD_SKIP_THIS
889 /** @brief The channel has changed.
890  */
891 #define ST_CHANNEL_CHANGED(0x9B)
892 #else
893 DEFINE_ERROR(CHANNEL_CHANGED, 0x9B)
894 #endif
895 
896 #ifdef DOXYGEN_SHOULD_SKIP_THIS
897 /** @brief An attempt to join or rejoin the network failed because
898  * no router beacons could be heard by the joining node.
899  */
900 #define ST_NO_BEACONS(0xAB)
901 #else
902 DEFINE_ERROR(NO_BEACONS, 0xAB)
903 #endif
904 
905 
906 #ifdef DOXYGEN_SHOULD_SKIP_THIS
907 /** @brief An attempt was made to join a Secured Network using a pre-configured
908  * key, but the Trust Center sent back a Network Key in-the-clear when
909  * an encrypted Network Key was required. (::ST_REQUIRE_ENCRYPTED_KEY).
910  */
911 #define ST_RECEIVED_KEY_IN_THE_CLEAR(0xAC)
912 #else
913 DEFINE_ERROR(RECEIVED_KEY_IN_THE_CLEAR, 0xAC)
914 #endif
915 
916 
917 #ifdef DOXYGEN_SHOULD_SKIP_THIS
918 /** @brief An attempt was made to join a Secured Network, but the device did
919  * not receive a Network Key.
920  */
921 #define ST_NO_NETWORK_KEY_RECEIVED(0xAD)
922 #else
923 DEFINE_ERROR(NO_NETWORK_KEY_RECEIVED, 0xAD)
924 #endif
925 
926 
927 #ifdef DOXYGEN_SHOULD_SKIP_THIS
928 /** @brief After a device joined a Secured Network, a Link Key was requested
929  * (::ST_GET_LINK_KEY_WHEN_JOINING) but no response was ever received.
930  */
931 #define ST_NO_LINK_KEY_RECEIVED(0xAE)
932 #else
933 DEFINE_ERROR(NO_LINK_KEY_RECEIVED, 0xAE)
934 #endif
935 
936 
937 #ifdef DOXYGEN_SHOULD_SKIP_THIS
938 /** @brief An attempt was made to join a Secured Network without a
939  * pre-configured key, but the Trust Center sent encrypted data using a
940  * pre-configured key.
941  */
942 #define ST_PRECONFIGURED_KEY_REQUIRED(0xAF)
943 #else
944 DEFINE_ERROR(PRECONFIGURED_KEY_REQUIRED, 0xAF)
945 #endif
946 
947 
948 //@}
949 
950 /**
951  * @name Security Errors
952  */
953 #ifdef DOXYGEN_SHOULD_SKIP_THIS
954 /**
955  * @brief The passed key data is not valid. A key of all zeros or
956  * all F's are reserved values and cannot be used.
957  */
958 #define ST_KEY_INVALID(0xB2)
959 #else
960 DEFINE_ERROR(KEY_INVALID, 0xB2)
961 #endif // DOXYGEN_SHOULD_SKIP_THIS
962 
963 #ifdef DOXYGEN_SHOULD_SKIP_THIS
964 /**
965  * @brief The chosen security level (the value of ::ST_SECURITY_LEVEL)
966  * is not supported by the stack.
967  */
968 #define ST_INVALID_SECURITY_LEVEL(0x95)
969 #else
970 DEFINE_ERROR(INVALID_SECURITY_LEVEL, 0x95)
971 #endif //DOXYGEN_SHOULD_SKIP_THIS
972 
973 #ifdef DOXYGEN_SHOULD_SKIP_THIS
974 /**
975  * @brief There was an error in trying to encrypt at the APS Level.
976  *
977  * This could result from either an inability to determine the long address
978  * of the recipient from the short address (no entry in the binding table)
979  * or there is no link key entry in the table associated with the destination,
980  * or there was a failure to load the correct key into the encryption core.
981  */
982 #define ST_APS_ENCRYPTION_ERROR(0xA6)
983 #else
984  DEFINE_ERROR(APS_ENCRYPTION_ERROR, 0xA6)
985 #endif //DOXYGEN_SHOULD_SKIP_THIS
986 
987 #ifdef DOXYGEN_SHOULD_SKIP_THIS
988 /** @brief There was an attempt to form a network using High
989  * security without setting the Trust Center master key first.
990  */
991 #define ST_TRUST_CENTER_MASTER_KEY_NOT_SET(0xA7)
992 #else
993  DEFINE_ERROR(TRUST_CENTER_MASTER_KEY_NOT_SET, 0xA7)
994 #endif //DOXYGEN_SHOULD_SKIP_THIS
995 
996 #ifdef DOXYGEN_SHOULD_SKIP_THIS
997 /** @brief There was an attempt to form or join a network with security
998  * without calling ::stSetInitialSecurityState() first.
999  */
1000 #define ST_SECURITY_STATE_NOT_SET(0xA8)
1001 #else
1002  DEFINE_ERROR(SECURITY_STATE_NOT_SET, 0xA8)
1003 #endif //DOXYGEN_SHOULD_SKIP_THIS
1004 
1005 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1006 /** @brief There was an attempt to set an entry in the key table using
1007  * an invalid long address. An entry cannot be set using either
1008  * the local device's or Trust Center's IEEE address. Or an entry
1009  * already exists in the table with the same IEEE address.
1010  * An Address of all zeros or all F's are not valid
1011  * addresses in 802.15.4.
1012  */
1013 #define ST_KEY_TABLE_INVALID_ADDRESS(0xB3)
1014 #else
1015 DEFINE_ERROR(KEY_TABLE_INVALID_ADDRESS, 0xB3)
1016 #endif //DOYXGEN_SHOULD_SKIP_THIS
1017 
1018 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1019 /** @brief There was an attempt to set a security configuration that
1020  * is not valid given the other security settings.
1021  */
1022 #define ST_SECURITY_CONFIGURATION_INVALID(0xB7)
1023 #else
1024 DEFINE_ERROR(SECURITY_CONFIGURATION_INVALID, 0xB7)
1025 #endif //DOXYGEN_SHOULD_SKIP_THIS
1026 
1027 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1028 /** @brief There was an attempt to broadcast a key switch too quickly after
1029  * broadcasting the next network key. The Trust Center must wait at
1030  * least a period equal to the broadcast timeout so that all routers
1031  * have a chance to receive the broadcast of the new network key.
1032  */
1033 #define ST_TOO_SOON_FOR_SWITCH_KEY(0xB8)
1034 #else
1035  DEFINE_ERROR(TOO_SOON_FOR_SWITCH_KEY, 0xB8)
1036 #endif
1037 
1038 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1039 /** @brief The received signature corresponding to the message that was passed
1040  to the CBKE Library failed verification, it is not valid.
1041 */
1042 #define ST_SIGNATURE_VERIFY_FAILURE(0xB9)
1043 #else
1044  DEFINE_ERROR(SIGNATURE_VERIFY_FAILURE, 0xB9)
1045 #endif
1046 
1047 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1048 /** @brief The message could not be sent because the link key corresponding
1049  to the destination is not authorized for use in APS data messages.
1050  APS Commands (sent by the stack) are allowed. To use it for encryption
1051  of APS data messages it must be authorized using a key agreement protocol
1052  (such as CBKE).
1053 */
1054 #define ST_KEY_NOT_AUTHORIZED(0xBB)
1055 #else
1056  DEFINE_ERROR(KEY_NOT_AUTHORIZED, 0xBB)
1057 #endif
1058 
1059 
1060 //@}
1061 
1062 
1063 /**
1064  * @name Miscellaneous Network Errors
1065  */
1066 //@{
1067 
1068 
1069 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1070 /**
1071  * @brief The node has not joined a network.
1072  */
1073 #define ST_NOT_JOINED(0x93)
1074 #else
1075 DEFINE_ERROR(NOT_JOINED, 0x93)
1076 #endif //DOXYGEN_SHOULD_SKIP_THIS
1077 
1078 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1079 /**
1080  * @brief A message cannot be sent because the network is currently
1081  * overloaded.
1082  */
1083 #define ST_NETWORK_BUSY(0xA1)
1084 #else
1085 DEFINE_ERROR(NETWORK_BUSY, 0xA1)
1086 #endif //DOXYGEN_SHOULD_SKIP_THIS
1087 
1088 
1089 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1090 /**
1091  * @brief The application tried to send a message using an
1092  * endpoint that it has not defined.
1093  */
1094 #define ST_INVALID_ENDPOINT(0xA3)
1095 #else
1096 DEFINE_ERROR(INVALID_ENDPOINT, 0xA3)
1097 #endif //DOXYGEN_SHOULD_SKIP_THIS
1098 
1099 
1100 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1101 /**
1102  * @brief The application tried to use a binding that has been remotely
1103  * modified and the change has not yet been reported to the application.
1104  */
1105 #define ST_BINDING_HAS_CHANGED(0xA4)
1106 #else
1107 DEFINE_ERROR(BINDING_HAS_CHANGED, 0xA4)
1108 #endif //DOXYGEN_SHOULD_SKIP_THIS
1109 
1110 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1111 /**
1112  * @brief An attempt to generate random bytes failed because of
1113  * insufficient random data from the radio.
1114  */
1115 #define ST_INSUFFICIENT_RANDOM_DATA(0xA5)
1116 #else
1117  DEFINE_ERROR(INSUFFICIENT_RANDOM_DATA, 0xA5)
1118 #endif //DOXYGEN_SHOULD_SKIP_THIS
1119 
1120 
1121 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1122 /** A ZigBee route error command frame was received indicating
1123  * that a source routed message from this node failed en route.
1124  */
1125 #define ST_SOURCE_ROUTE_FAILURE(0xA9)
1126 #else
1127  DEFINE_ERROR(SOURCE_ROUTE_FAILURE, 0xA9)
1128 #endif
1129 
1130 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1131 /** A ZigBee route error command frame was received indicating
1132  * that a message sent to this node along a many-to-one route
1133  * failed en route. The route error frame was delivered by
1134  * an ad-hoc search for a functioning route.
1135  */
1136 #define ST_MANY_TO_ONE_ROUTE_FAILURE(0xAA)
1137 #else
1138  DEFINE_ERROR(MANY_TO_ONE_ROUTE_FAILURE, 0xAA)
1139 #endif
1140 
1141 
1142 //@}
1143 
1144 /**
1145  * @name Miscellaneous Utility Errors
1146  */
1147 //@{
1148 
1149 
1150 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1151 /**
1152  * @brief A critical and fatal error indicating that the version of the
1153  * stack trying to run does not match with the chip it is running on. The
1154  * software (stack) on the chip must be replaced with software that is
1155  * compatible with the chip.
1156  */
1157 #define ST_STACK_AND_HARDWARE_MISMATCH(0xB0)
1158 #else
1159 DEFINE_ERROR(STACK_AND_HARDWARE_MISMATCH, 0xB0)
1160 #endif //DOXYGEN_SHOULD_SKIP_THIS
1161 
1162 
1163 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1164 /**
1165  * @brief An index was passed into the function that was larger
1166  * than the valid range.
1167  */
1168 #define ST_INDEX_OUT_OF_RANGE(0xB1)
1169 #else
1170 DEFINE_ERROR(INDEX_OUT_OF_RANGE, 0xB1)
1171 #endif
1172 
1173 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1174 /**
1175  * @brief There are no empty entries left in the table.
1176  */
1177 #define ST_TABLE_FULL(0xB4)
1178 #else
1179 DEFINE_ERROR(TABLE_FULL, 0xB4)
1180 #endif //DOXYGEN_SHOULD_SKIP_THIS
1181 
1182 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1183 /**
1184  * @brief The requested table entry has been erased and contains
1185  * no valid data.
1186  */
1187 #define ST_TABLE_ENTRY_ERASED(0xB6)
1188 #else
1189 DEFINE_ERROR(TABLE_ENTRY_ERASED, 0xB6)
1190 #endif
1191 
1192 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1193 /**
1194  * @brief The requested function cannot be executed because
1195  * the library that contains the necessary functionality is not present.
1196  */
1197 #define ST_LIBRARY_NOT_PRESENT(0xB5)
1198 #else
1199 DEFINE_ERROR(LIBRARY_NOT_PRESENT, 0xB5)
1200 #endif
1201 
1202 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1203 /**
1204  * @brief The stack accepted the command and is currently processing
1205  * the request. The results will be returned via an appropriate handler.
1206  */
1207 #define ST_OPERATION_IN_PROGRESS(0xBA)
1208 #else
1209 DEFINE_ERROR(OPERATION_IN_PROGRESS, 0xBA)
1210 #endif
1211 
1212 //@}
1213 
1214 /**
1215  * @name Application Errors
1216  * These error codes are available for application use.
1217  */
1218 //@{
1219 
1220 #ifdef DOXYGEN_SHOULD_SKIP_THIS
1221 /**
1222  * @brief This error is reserved for customer application use.
1223  * This will never be returned from any portion of the network stack or HAL.
1224  */
1225 #define ST_APPLICATION_ERROR_0(0xF0)
1226 #define ST_APPLICATION_ERROR_1(0xF1)
1227 #define ST_APPLICATION_ERROR_2(0xF2)
1228 #define ST_APPLICATION_ERROR_3(0xF3)
1229 #define ST_APPLICATION_ERROR_4(0xF4)
1230 #define ST_APPLICATION_ERROR_5(0xF5)
1231 #define ST_APPLICATION_ERROR_6(0xF6)
1232 #define ST_APPLICATION_ERROR_7(0xF7)
1233 #define ST_APPLICATION_ERROR_8(0xF8)
1234 #define ST_APPLICATION_ERROR_9(0xF9)
1235 #define ST_APPLICATION_ERROR_10(0xFA)
1236 #define ST_APPLICATION_ERROR_11(0xFB)
1237 #define ST_APPLICATION_ERROR_12(0xFC)
1238 #define ST_APPLICATION_ERROR_13(0xFD)
1239 #define ST_APPLICATION_ERROR_14(0xFE)
1240 #define ST_APPLICATION_ERROR_15(0xFF)
1241 #else
1242 DEFINE_ERROR( APPLICATION_ERROR_0, 0xF0)
1243 DEFINE_ERROR( APPLICATION_ERROR_1, 0xF1)
1244 DEFINE_ERROR( APPLICATION_ERROR_2, 0xF2)
1245 DEFINE_ERROR( APPLICATION_ERROR_3, 0xF3)
1246 DEFINE_ERROR( APPLICATION_ERROR_4, 0xF4)
1247 DEFINE_ERROR( APPLICATION_ERROR_5, 0xF5)
1248 DEFINE_ERROR( APPLICATION_ERROR_6, 0xF6)
1249 DEFINE_ERROR( APPLICATION_ERROR_7, 0xF7)
1250 DEFINE_ERROR( APPLICATION_ERROR_8, 0xF8)
1251 DEFINE_ERROR( APPLICATION_ERROR_9, 0xF9)
1252 DEFINE_ERROR( APPLICATION_ERROR_10, 0xFA)
1253 DEFINE_ERROR( APPLICATION_ERROR_11, 0xFB)
1254 DEFINE_ERROR( APPLICATION_ERROR_12, 0xFC)
1255 DEFINE_ERROR( APPLICATION_ERROR_13, 0xFD)
1256 DEFINE_ERROR( APPLICATION_ERROR_14, 0xFE)
1257 DEFINE_ERROR( APPLICATION_ERROR_15, 0xFF)
1258 #endif //DOXYGEN_SHOULD_SKIP_THIS
1259 
1260 //@} // END name group
1261 
1262 /** @} END addtogroup */
1263 
1264 /**
1265  * <!-- HIDDEN
1266  * @page 2p5_to_3p0
1267  * <hr>
1268  * All error status codes defined in error-def.h
1269  * (and described in @ref status_codes) now have an \c ST_ prefix.
1270  * Status code changes also include the following:
1271  * <ul>
1272  * <li> <b>New items</b>
1273  * - ::ST_ERR_FLASH_WRITE_INHIBITED
1274  * - ::ST_ERR_FLASH_VERIFY_FAILED
1275  * - ::ST_ADDRESS_TABLE_INDEX_OUT_OF_RANGE
1276  * - ::ST_ADDRESS_TABLE_ENTRY_IS_ACTIVE
1277  * - ::ST_CANNOT_JOIN_AS_ROUTER
1278  * - ::ST_INSUFFICIENT_RANDOM_DATA
1279  * - ::ST_APS_ENCRYPTION_ERROR
1280  * - ::ST_TRUST_CENTER_MASTER_KEY_NOT_SET
1281  * - ::ST_SECURITY_STATE_NOT_SET
1282  * - ::ST_SOURCE_ROUTE_FAILURE
1283  * - ::ST_MANY_TO_ONE_ROUTE_FAILURE
1284  * .
1285  * <li> <b>Changed items</b>
1286  * -
1287  * -
1288  * .
1289  * <li> <b>Removed items</b>
1290  * - ::SIM_EEPROM_FLASH_WRITE_FAILED
1291  * - ::TOO_MANY_CONNECTIONS
1292  * - ::CONNECTION_OPEN
1293  * - ::CONNECTION_FAILED
1294  * - ::CONNECTION_CLOSED
1295  * - ::CONNECTION_CLOSING
1296  * - ::CONNECTION_NOT_YET_OPEN
1297  * - ::INCOMING_SEQUENCED_MESSAGES_LOST
1298  * - ::NODEID_INVALID
1299  * .
1300  * </ul>
1301  * HIDDEN -->
1302  */
1303 
1304 /**
1305  * <!-- HIDDEN
1306  * @page 3p0_to_350
1307  * <hr>
1308  * <ul>
1309  * <li> <b>Removed items</b>
1310  * - ::ST_ERR_TOKEN_UNKNOWN
1311  * - ::ST_ERR_TOKEN_EXISTS
1312  * - ::ST_ERR_TOKEN_INVALID_SIZE
1313  * - ::ST_ERR_TOKEN_READ_ONLY
1314  * .
1315  * </ul>
1316  * HIDDEN -->
1317  */
1318