I am trying to read the FSR sensor value attached to the RedBearLab Arduino Shield from the Raspberry Pi. I am using RedBearLab example - simplecontrol.
To turn on the sensor reading capability, I need to write to handle 0x000b the value A00100. So after connecting through gatttool, I used below to enable sensor read capability.
[xx:xx:xx:xx:xx:xx][LE]>char-write-cmd 0x000b A00100
I see expected output in the Arduino serial monitor. So I know this enabling works. Pi is reading the sensor but I can't see the value in the prompt.
Then I followed this article, figured out CCC handle (0x000e) and tried below.
$gatttool -b xx:xx:xx:xx:xx:xx -t random --char-write-req --handle=0x000e --value=02 --listen
Seeing below error
Characteristic Write Request failed: Internal application error: I/O
Can anyone please help?