Best Practices and Troubleshooting

If your gateway is not running a BLE mode, and if you are executing the sample application by provide the gateway_id, then you might receive a message No gateways configured.

Ensure the following commands are configured on the AP to establish communication between the Ruckus IoT Controller and AP.

  1. Disable IoT process using the command rkscli: set iotg-enable 0
  2. If Gateway has i100 dongle, configure BLE mode on p2 using the command rkscli: set iotg-usb-dongle-mode p2 1
  3. If Gateway doesn't have i100 dongle, configure BLE mode on p1 using the command rkscli: set iotg-usb-dongle-mode p1 1
  4. Enable IoT process using the command rkscli: set iotg-enable 1

There can be a possibility that- a device was added, and post that the sample (or your custom) application was closed, or the vendor application crashed due to faulty code, in such case the device that was already added to the AP, will not appear in the scan result.

To start fresh with this device, use the following command $ python3 delete_device.py.

A fresh scan is now performed and the device shows up in the scan result.