Figure 5-6. Log Output Window
5.2
Updating the Temperature Characteristic
In the previous assignment, the custom Temperature characteristic is defined with a notify attribute. This
type of attribute requires notification to be sent to central when a new characteristic value is available.
The update of any “notify” characteristic value is based on following interaction between the Host MCU
and the ATBTLC1000.
Figure 5-7. Characteristic Notification
5.2.1
Setting a Characteristic Value ( at_ble_characteristic_value_set)
Prototype
–
at_ble_status_t at_ble_characteristic_value_set
at_ble_handle_t handle,
uint8_t *value,
uint16_t len)
Description
– Sets a characteristic value in ATBTLC1000 memory.
Parameters
–
ATBTLC1000
Setting up and Handling Custom Service
©
2017 Microchip Technology Inc.
Training Manual
DS00002599A-page 43