Other Parts Discussed in Thread: CC2340R5
Tool/software:
Hello,
I'm using TI's Low Power BLE SDK v8.40.00.61, and I’ve modified the Basic BLE example to function as a central device.
Functionality
-
The central device scans and connects successfully to a BLE peripheral.
-
After connecting, it performs service and characteristic discovery.
-
I can correctly match the required custom service and characteristic UUIDs.
The Issue
Even after discovering the correct characteristic:
-
I attempt to enable notifications by writing
0x0001
to the CCCD (Client Characteristic Configuration Descriptor). -
The server never triggers the notification.
-
The client also does not receive any notification event.
-
The CCCD write operation completes successfully, but data flow never starts.
-
- here is the code below how i'm trying to notify after characteristic is discovered
From the above code it will perform write operation and its success. however i cannot see any trigger in peripheral or central device. i have used a debug statements on peripheral side if notification is triggered by central i see print statements on uart terminal. However i dont see anything. Can you please let me know how can i enable the notifications.
i have also used the TI simpleconnect mobile application to connect and notify it will work fine. however only when i try doing it using above code its not working. it will not even trigger the
i tried to follow the https://github.com/TexasInstruments-Sandbox/ble_examples/blob/simplelink_low_power_f3_sdk-8.40/examples/rtos/LP_EM_CC2340R5/ble5stack/basic_ble_GATT_client/app/app_menu.c. however i was unable to understand why valuehandle was 47 hardcodded to enable notification.