Last night I had a similar idea. I wanted to write my own App to read the scale values of a renpho kitchen scale as the app is.. well, not good. :D
But the advertised services and their characteristics unfortunately didn't lead to anything. Found something, but there seem to be no values transmitted.
You wrote, that "With some luck and more luck I was able to guess the correct service, characteristic and ended up with some notes where I could start looking at the protocol."
How did you start the guessing? Were the services and characteristics you found not advertised by the peripheral?
The easiest way would be to use the official app and somehow sniff the data. In one of the comments I've described how I've done this. Easiest way would be to use an Android device, adb and wireshark to sniff the bluetooth traffic. Next step would be to disassemble the apk which might give you more hints, like strings and constants and maybe a glimpse of how it serializes/marshals the data. Hope this helps a bit.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey George, impressive work so far.
Last night I had a similar idea. I wanted to write my own App to read the scale values of a renpho kitchen scale as the app is.. well, not good. :D
But the advertised services and their characteristics unfortunately didn't lead to anything. Found something, but there seem to be no values transmitted.
You wrote, that "With some luck and more luck I was able to guess the correct service, characteristic and ended up with some notes where I could start looking at the protocol."
How did you start the guessing? Were the services and characteristics you found not advertised by the peripheral?
The easiest way would be to use the official app and somehow sniff the data. In one of the comments I've described how I've done this. Easiest way would be to use an Android device,
adb
andwireshark
to sniff the bluetooth traffic. Next step would be to disassemble theapk
which might give you more hints, like strings and constants and maybe a glimpse of how it serializes/marshals the data. Hope this helps a bit.