Best Practices and Troubleshooting
-
If you execute the sample application, provide the gateway_id and receive a message No gateways configured, it might be because your gateway is not running a BLE mode. Ensure the following commands are configured on the AP to establish communication between the Ruckus IoT Controller and AP.
Disable IoT process
rkscli: set iotg-enable 0
If Gateway has i100 dongle, configure BLE mode on p2
rkscli: set iotg-usb-dongle-mode p2 1
If Gateway doesn't have i100 dongle, configure BLE mode on p1
rkscli: set iotg-usb-dongle-mode p1 1
Enable IoT process
rkscli: set iotg-enable 1
-
There is a possibility that a device was added, and post which the sample (or your custom) application was closed, or the vendor application crashed because of faulty code. In this case, if the device was already added to the AP, it will not show up in the scan result. To start afresh with this device, execute the following command
$ python3 delete_device.py
This will clear the existing Device and AP association and with a fresh scan the device will show up in the scan result.