English
Language : 

AN91184 Datasheet, PDF (31/36 Pages) Ramtron International Corporation – Designing BLE Applications
PSoC® 4 BLE – Designing BLE Applications
6. To read the measured temperature, select the Client Characteristic Configuration descriptor of the
Temperature Measurement characteristic, as shown in Figure 36 and Figure 37.
Figure 36. Enable Indications – Step A
7. Write a value of 02 in the Client Characteristic Configuration descriptor to enable indications (measured
temperature data will be reported by indications), as shown in Figure 37.
Note: Refer to Client Characteristic Configuration Descriptor for more details about bit definitions.
Figure 37. Enable Indications – Step B
The “Temperature Measurement” attribute is updated with the measured temperature value, as shown in
Figure 38.
Figure 38. Measured Temperature
The value read back is a 5-byte hex value, where first byte is the Flags configured in the BLE Component and the
next 4-byte value is the temperature value represented in the Little Endian format. Thus, the measured temperature
value is 24 ºC (0x18).
To learn more about the CySmart Central Emulation Tool, refer to CySmart User Guide.
www.cypress.com
Document No. 001-91184 Rev. *B
31