Reference Manual

Table Of Contents
RS9116 n-Link Linux and Android Technical Reference Manual
Version 2.0
August 2019
30
# hcitool –i <hciX> lecc <remote_MAC_Addr>
The "remote_MAC_Addr" parameter mentioned above is the MAC address of the remote device, e.g., 00:23:AC:
01:02:03.
Slave Mode Connected State
Ensure that our device is in Advertise mode and then issue the command given below:
# hcitool –i <hciX> lecc <device_MAC_Addr>
The "device_MAC_Addr" parameter mentioned above is the MAC address of the Redpine module, e.g., 00:23:AC:
01:02:03.
4.6 Driver Information
4.6.1 Driver Statistics
Use the given below command inorder to view Wi-Fi driver statistics:
cat /proc/rpine<$id>/stats
<$id> Indicates Id of Wi-Fi device. For example if rpine0 is created for module then to view Wi-Fi related statistics
related to module then Use the below command:
# cat /proc/rpine0/stats
When 2
nd
usb device is connected to same host then rpine1 will get created, In order to see the Wi-Fi related
statistics related to 2
nd
usb module use the below command:
cat /proc/rpine1/stats
This command prints statistics related to the total management packets, total data packets with respect to a given
access category sent to/from the driver, buffer full status as well as semi buffer full status, FSM states etc.
4.6.2 Disabling Driver Debug Prints
You may opt to disable the debug prints of the driver appearing on the console by using the given below command.
Ensure that the driver is installed correctly before using this command for SDIO interface.
# echo 0x0 > /proc/onebox-hal/debug_zone
For USB interface, the proc name is onebox-mobile$devnum$busnum.
# echo 0x0 > /proc/onebox-hal<$devnum$busnum>/debug_zone