RM0x Wireless Module – API Documentation

Header image

Main page

RM0x Kernel Driver

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:

// Assume that the RM01 kernel driver software package has been unpacked into the
// A:\wlan directory, so we define the absolute path to the init-rm0x script
// accordingly.
#define INIT_SCRIPT_PATH "wlan/init-rm0x"
int main(void)
int retval = 0;
// WLAN initialization
retval = wlInit(INIT_SCRIPT_PATH);
if (retval != WL_ERROR_NO)
printf("Could not initialize WLAN library, error: %d\n", retval);

Top of page | Main page

Copyright © 2019 Beck IPC GmbH
Generated by Doxygen 1.8.15