Hardware Reference
In-Depth Information
Figure 8-9. Logcat displaying services and characteristics in Eclipse
You'll notice that some UUIDs are unknown. That usually means that vendor specific
128-bit UUIDs are present and you'll have to add them to the UUID list if you want
them to be resolved properly. In this case, TI uses some vendor-specific service UUIDs
for its device, because it doesn't fit into a standard device profile. There is a huge UUID
address space, so you'll likely encounter many vendor specific UUIDs while working
with different BLE devices. You'll need to add the TI vendor specific UUIDs to the list
and then run the code again.
So far, you've gone most of the way to getting your BLE app up and running. You've
detected the remote device, connected to it, and printed the services that it has available.
The next step is to read the characteristic values (introduced in “Characteristics” on
page 59 ) associated with its sensors.
The characteristics that belong to the sensors carry the sensor data, so by reading these
out, you can get the sensor data. Once you have the data from the sensors, it's just a
matter of formatting and processing the data, then presenting it to the user in an
 
Search WWH ::




Custom Search