RM01 Wireless Module – API Documentation
The RM01 module requires an additional Linux kernel driver for its operation. This driver is is not an integral part of the @CHIP-RTOS-LNX system, instead is is provided as a separate collection of loadable kernel modules.
These kernel modules are build against a specific @CHIP-RTOS-LNX and Linux kernel version. Hence the user should take care that the version of the RM01 driver package matches the @CHIP-RTOS-LNX version installed on the user's platform.
The RM01 software package that contains the required kernel modules is versioned under the following versioning scheme:
where Vxxxx corresponds to the compatible @CHIP-RTOS-LNX version that the kernel modules may be used with, and Vyyyy to any additional patches and bug fixes in the driver, built within the same @CHIP-RTOS-LNX version.
The RM01 kernel driver software is provided as a tar.gz file. The user should unpack its contents into any directory within the A:\ drive, without changing the internal structure of the kernel driver files.
One of the files within the RM01 driver package is the init-rm0x shell script. In order to initialize the RM01 software, the wlInit function should be called from within the user application, with the absolute path to the init-rm0x shell script as parameter. The following code snippet demonstrates this: