USER MANUAL RC188x-GPR
2019 Radiocrafts AS
RIIM User Manual (rev.1.2)
Page
1
of
23
TABLE OF TABLES .................................................................................................................................................. 1
TABLE OF FIGURES ................................................................................................................................................. 2
TABLE OF EXAMPLES ............................................................................................................................................. 2
ABBREVIATIONS ...................................................................................................................................................... 2
1
INTRODUCTION RIIM ..................................................................................................................................... 3
2
INTRODUCTION .............................................................................................................................................. 4
3
SDK STRUCTURE ........................................................................................................................................... 5
4
HOW TO USE ICI, THE EVENT DRIVEN PLATFORM ................................................................................... 6
5
AN EXAMPLE .................................................................................................................................................. 7
6
SDK SETUP ..................................................................................................................................................... 9
7
BUILDING APPLICATIONS ............................................................................................................................ 9
7.1.
USING MAKEFILES .............................................................................................................................................. 9
7.2.
CREATING AND UPLOADING THE USER APPLICATION ................................................................................ 11
7.3.
ENCRYPTING THE USER APPLICATION .......................................................................................................... 11
7.4.
LOCKING THE MODULE .................................................................................................................................... 11
7.5.
NETWORK KEY .................................................................................................................................................. 11
8
API USAGE ....................................................................................................................................................12
8.1.
RIIM_UAPI ........................................................................................................................................................... 12
8.2.
ADC ..................................................................................................................................................................... 12
8.3.
COAP ................................................................................................................................................................... 13
8.4.
DEBUG ................................................................................................................................................................ 14
8.5.
ETHERNET .......................................................................................................................................................... 14
8.6.
GPIO .................................................................................................................................................................... 15
8.7.
I2C ....................................................................................................................................................................... 16
8.8.
NETWORK ........................................................................................................................................................... 17
8.9.
NODE .................................................................................................................................................................. 18
8.10.
NVS ................................................................................................................................................................. 18
8.11.
SPI ................................................................................................................................................................... 19
8.12.
TIMER ............................................................................................................................................................. 20
8.13.
UART ............................................................................................................................................................... 21
8.14.
UTIL ................................................................................................................................................................. 21
DOCUMENT REVISION HISTORY ..........................................................................................................................23
DISCLAIMER............................................................................................................................................................23
TRADEMARKS ........................................................................................................................................................23
LIFE SUPPORT POLICY .........................................................................................................................................23
RADIOCRAFTS SUPPORT: ....................................................................................................................................23
CONTACT RADIOCRAFTS .....................................................................................................................................23
Table of Tables
Table 1 - Makefile variables ......................................................................................................................10
Table 2 - ADC functions ............................................................................................................................12
Table 3 - Coap functions ...........................................................................................................................13
Table 4 - Debug functions .........................................................................................................................14
Table 5 - Ethernet functions ......................................................................................................................14
Table 6 - GPIO functions ...........................................................................................................................15
Table 7 - I2C functions ..............................................................................................................................16
Table 8 - Network functions .......................................................................................................................17
Table 9 - Node functions ...........................................................................................................................18
Table 10 - NVS functions ..........................................................................................................................18
Table 11 - SPI functions ............................................................................................................................19
Table 12 - Timer functions .........................................................................................................................20
Table 13 - UART functions ........................................................................................................................21
Table 14 - UTIL functions ..........................................................................................................................22