Apple watch peripheral characteristics scan using pythonista

Hi,
I would like to scan the peripheral characteristics of the apple watch.
I have tried to discover services and I was able to get the UUIDs of the services.
But now I need to get the names of the services and the characteristics, I would appreciate if anyone could guide me in this step.
Further I would like to extract data from the apple watch( from aforementioned services), is any information available with regards to this as well.
I eagerly wait for your help.
Thanks and Regards
Hameed
Hi Hameed,

Related to your question about the name of services and characteristics, do you mean the human readable name?

For example, 0x180D is the reserved name for "Heart Rate Service". If this is what you mean, some services and some characteristics, when you print out the description of them, a few will include the human readable name. You're better off doing a look-up-table with the service / characteristic's CBUUID to convert to a string.

A few open source projects convey my point like this one: https://github.com/adafruit/Bluefruit_LE_Connect_Android_V2/blob/c8271518a64469350796698a84b7fb731b29f8c9/app/src/main/assets/GattUUIDs.json

If the CBUUID isn't found in your table, there would be no way to identify it. For more information about the spec/standard check out the available information on the Bluetooth org's website. I can't seem to post the URL here in the forum for some reason.

Do a search for "Bluetooth assigned numbers" or "Bluetooth GATT" and you should find yourself with the adopted list from the Bluetooth SIG.

As for extracting data, I'd refer to the Core Bluetooth Programming Guide. It is in the archive, but is still accurate.
https://developer.apple.com/library/archive/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/AboutCoreBluetooth/Introduction.html#//apple_ref/doc/uid/TP40013257

Hi Edorphy,

I want to write a code in python on pythonista app, which is an iOS app.
How would I proceed for this scenario?

Best regards
Apple watch peripheral characteristics scan using pythonista
 
 
Q