1
TinyDuino Processors & TinyShields / How to expose sensor data by defining readable characteristics in BGLib?
« on: August 12, 2014, 12:13:44 AM »
I was able to run the slave example (BGLib_stub_slave.ino) on my TinyDuino. But it only shows how to handle a writable characteristics. Can any anybody help me with readable characteristics? Which BGLib callback should I define for a readable characteristics? For example, I have an accelerometer Tinyshield, and I want to make the x,y,z and temp data available over the Bluetooth LE by exposing a readable characteristics. Does anybody have any idea about how to do that? Any help or pointer to example code would be appreciated.