Other Parts Discussed in Thread: BLE-STACK, CC2640
Tool/software:
Hi,
I'm working in a project where we are about to finish our move from using CC2640 and BLE-Stack 2.2.4 to instead use CC2640R2 and the 5.30 SDK. For both MCUs, our application is based on the host_test example app. What we've done for CC2640R2 is to start fresh from the host_test example app provided in the 5.30 SDK (using blestack, not ble5stack) and then port our custom logic on top of the example app. Our CC2640R2 acts as a modem, passing HCI commands back and forth to another MCU (our main) over SPI.
Our problem is that when we enable notifications for one of our characteristics, we can see from sniffing that the GATT client (a phone) and GATT server (modem) correctly performs a write request/response sequence to enable notifications, but we're never getting the GATT_ClientCharCfgUpdated event over HCI from the modem. We have also been able to confirm that notifications are enabled, as the client correctly receives values if we post to our characteristic from the main MCU.
Is there some additional config of the stack and/or app on the modem for this event to be sent or is it by default enabled for any characteristic? Our services and characteristics are registered at run time using HCI and is done the same way for CC2640R2 as we did for CC2640, where we indeed get this HCI event.
I wouldn't mind providing sniffer captures and logs if they are of any help.
Best regards,
Kristoffer