You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've attached a sketch, which is a cut-down version of one I'm working on. It sets one service with 5 characteristics: one write, 2 notify and 2 read. The write and notify ones work as expected, but not the reads.
If I upload this to a fresh Arduino 101, with the "101 Firmware Updater" programmer, it flashes the new firmware (with the 2.0.2 board manager). Then with LightBlue on the iPhone I can see the device, the service and the characteristics, but I can't read the 2 read values. The same with my own C++ code on an R-Pi (BlueZ 5.46 installed).
I have another sketch with 3 characteristics, and that works properly.
cheers,
Richard
Here is an update to the sketch which demonstrates the problem. It has 37 lines. Using, for example, LightBlue on an iPhone reveals the problem.
Commenting out line 35 laserVolts = analogRead(VOLTS_PIN); // try commentinng out this line
will stop the error.
I've attached a sketch, which is a cut-down version of one I'm working on. It sets one service with 5 characteristics: one write, 2 notify and 2 read. The write and notify ones work as expected, but not the reads.
If I upload this to a fresh Arduino 101, with the "101 Firmware Updater" programmer, it flashes the new firmware (with the 2.0.2 board manager). Then with LightBlue on the iPhone I can see the device, the service and the characteristics, but I can't read the 2 read values. The same with my own C++ code on an R-Pi (BlueZ 5.46 installed).
I have another sketch with 3 characteristics, and that works properly.
cheers,
Richard
LasersRemote30debug.zip
The text was updated successfully, but these errors were encountered: