Also try this thread: WICED Smart BCM92073X Generate Your Own UUID
The UUID's of sensors represent a Vendor Specific Characteristic and are NOT supplied as assigned UUID's by the BT-SIG.
The battery UUID is defined by the BT-SIG
Thanks JT. So how does the Android app get the sensor data from the WICED Smart Sensor? I want to write my own app to access the sensors. Regards, DDL
1 of 1 people found this helpful
You have to write to device CCC (as JT has mentioned, the Client Configuration Characteristics), a value not 0 (correct would be 0x1 for Notifications enabled on device, but any value will work, 0x2 would be for Indications).
And enable Notifications on Android side. There is an API call needed on Android after CCC was written.
Then you get Notifications. They alternate: every 10 of packets for AGM sensors, you get then one for HPT sensors. For the Notification packets received, there is a document here in community/download, with the sensor value formats.
Just process the two different types of Notifications when received.
BTW: A good starting point is to study the Android WICED Sense source code (for the APK).