arduino / arduino/ArduinoCore-arc32
Sketch where Read characteristics don't work
- Dominant language
- C
- Stars
- 330
- Forks
- 281
- PR merge metrics
- No merged PRs in 30d
Description
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](https://github.com/01org/corelibs-arduino101/files/1237003/LasersRemote30debug.zip)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by unpacking and reproducing the attached LasersRemote30debug.zip sketch on an Arduino 101 with the 2.0.2 board manager and 101 Firmware Updater. Check whether LightBlue on iPhone and C++ code using BlueZ 5.46 can discover the service and its five characteristics but read the two read values. Done means identifying why those reads fail while write and notify characteristics work, with a regression test or confirmed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- arduino, c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100