Data Sheet
Here you can see that the wixel has woken up, and turned on the HM-1x (ble on). It has
then received a command (me pressing the S key), and is processing it. You can see the
battery minimum and maximum are at the default values, and battery capacity has been
calculated at 70%.
Functional Testing
The following tests are carried out on every iteration of the XBridge2 code to ensure it is
operating as expected. If you are modifying this code, please perform these tests to ensure
you code complies with these minimum functions.
This section on testing assumes you are familiar with Android Studio and the use of the
Android Debug logs (ADB).
Testing Pre-requisites
In order to conduct these tests, you will require the following:
Android Phone with USB debugging enabled.
Android Studio
A copy of the XDrip app repository, that has XBridge support.
A XBridge unit as per the circuit diagrams in this document.
Test 1 – Broadcast of Beacon Packet and Setting of TXID.
1. Ensure that XDrip is running and you are viewing the ADB logs.
2. Reload the xBridge2.wxl file onto the wixel module. Note, do NOT just start and stop
the wixel program, flash the wixel with the program to clear the Flash storage page
used by XBridge2.
3. Observe the ADB log. You should see the following sequence of events;