
ZWIR451x Programming Guide
© 2016 Integrated Device Technology, Inc.
2.12. Security......................................................................................................................................................26
2.12.1. Internet Protocol Security (IPSec).......................................................................................................27
2.12.2. Internet Key Exchange Version 2 (IKEv2) ..........................................................................................28
2.12.3. Recommendations..............................................................................................................................28
2.13. Firmware Over-the-Air Updates.................................................................................................................28
2.13.1. Functional Description ........................................................................................................................29
2.13.2. Firmware Constraints..........................................................................................................................30
2.14. Memory Considerations.............................................................................................................................30
2.14.1. Call Stack............................................................................................................................................31
2.14.2. IDT Network Stack Dynamic RAM Requirements ..............................................................................31
2.14.3. Using Dynamic Memory Allocation.....................................................................................................32
2.15. Supported Network Standards ..................................................................................................................33
3Core-Library Reference....................................................................................................................................36
3.1. Initialization................................................................................................................................................36
3.2. Program Control ........................................................................................................................................37
3.3. Networking.................................................................................................................................................41
3.3.1. Address Management.........................................................................................................................41
3.3.2. Socket and Datagram Handling..........................................................................................................44
3.3.3. Radio Parameters...............................................................................................................................49
3.3.4. Gateway Mode Functions ...................................................................................................................51
3.3.5. Miscellaneous .....................................................................................................................................52
3.4. Power Management ..................................................................................................................................55
3.5. Firmware Version Information ...................................................................................................................59
3.6. Properties and Parameters........................................................................................................................60
3.7. Error Codes ...............................................................................................................................................61
4UART Library Reference..................................................................................................................................62
4.1. Symbol Reference.....................................................................................................................................62
4.2. Custom UART I/O Configuration...............................................................................................................64
4.3. Error Codes ...............................................................................................................................................65
5GPIO Library Reference...................................................................................................................................66
5.1. Symbol Reference.....................................................................................................................................66
6IPSec Library Reference..................................................................................................................................71
6.1. Symbol Reference.....................................................................................................................................71
6.2. Error Codes ...............................................................................................................................................74
7IKEv2 Library Reference..................................................................................................................................75
7.1. Symbol Reference.....................................................................................................................................75
7.2. Library Parameters....................................................................................................................................76
8Over-the-Air Update Library.............................................................................................................................77
8.1. Library Reference......................................................................................................................................77
8.2. Inclusion of the OTAU Library ...................................................................................................................79
8.3. Error Codes ...............................................................................................................................................80