About the UrsaLeo debug LED module
Use of the UrsaLeo debug LED module provides a quick status check on the boot process. It also identifies connectivity issues and performs a sanity check on the device configuration file. The UrsaLeo UltraLite Gateway DevKit comes preconfigured with the debug LED module. The UrsaLeo RPi Gateway DevKit is not preconfigured with the LED board. However, you can request the optional debug LED module at no charge by submitting a request here: Submit a Request
LED board indicators:
- LED 1: On (connection to Google IoT Core)
- LED 2: On (connection to Thunderboard Sense 2)
- LED 3: On (authentication with Google Cloud Platform)
This guide includes instructions for diagnosing problems even if your RPi DevKit does not include the optional debug LED module.
1) Check DevKit connection with the Thunderboard
- Solution - Press the reset button near the center of the Thunderboard.
The green LED near the center of the Thunderboard should flash one or two times then go off - indicating a connection. LED 2 on the debug LED module should then come on. If the green LED on the Thunderboard flashes 30 times the board will stop advertising for a BLE connection and no connection will be formed. LED 2 on the debug LED module will remain off.
2) Check the contents of THNDR0.conf
- Solution - THNDR0.conf should have an INST value 0 - 9 and match the address of the attached Thunderboard. This is contained in /boot/deviceN/TBADDR
root@raspberrypi3:~# cat /boot/device3/THNDR0.conf
Please note that this file is generated on boot up automatically from the address in /boot/deviceN/TBADDR.
3) Validate the TB address
- Solution 1 - Connect to the TB using with a mobile phone app available from Silicon Labs -
The Thunderboard Mobile App
Compare the TB address with 2) above.
- Solution 2 - Confirm output of systemctl status. Here is the systemctl status output of a healthy configured Thunderboard connection:
root@raspberrypi3:~# systemctl status
│ ├─719 /usr/bin/empty -f -i /tmp/THNDR0.IN -o /tmp/THNDR0.OUT -p /tmp/THNDR0.pid /usr/bin/btgatt-client -i hci0 -d 90:FD:9F:7B:7E:E0
│ └─721 /usr/bin/btgatt-client -i hci0 -d 90:FD:9F:7B:7E:E0