STM32WB BLE Event when a characteristic is being read
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-10-19 6:00 AM
BLE_HeartRateFreeRTOS example.
There is an event when someone writes to my characteristic.
Is there an event when someone reads any of my characteristics?
Labels:
- Labels:
-
STM32Cube MCU Packages
-
STM32WB series
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-03-25 10:57 AM
in your event handler just wait on ACI_GATT_ATTRIBUTE_MODIFIED_VSEVT_CODE
case ACI_GATT_ATTRIBUTE_MODIFIED_VSEVT_CODE:
{
aci_gatt_attribute_modified_event_rp0* evt_data =
(aci_gatt_attribute_modified_event_rp0*) p_blecore_evt->data;
UseYourServiceWriteCallback(evt_data->Attr_Handle, evt_data->Attr_Data, evt_data->Attr_Data_Length);
}
