RM0x Wireless Module – API Documentation
The RM0x 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 built against a specific @CHIP-RTOS-LNX and Linux kernel version. Hence the user should take care that the version of the RM0x driver package matches the @CHIP-RTOS-LNX version installed on the user's platform.
The RM0x 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 RM0x 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 RM0x driver package is the init-rm0x shell script. In order to initialize the RM0x 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: