Other Parts Discussed in Thread: CC2640
Hi team
When we debug using LightBlue as the host, we find that we run the following program to modify the value of CCC to 0x0100:
the function Profile_WriteAttrCB():
case GATT_CLIENT_CHAR_CFG_UUID:
status = GATTServApp_ProcessCCCWriteReq( connHandle, pAttr, pValue, len,
offset, GATT_CLIENT_CFG_NOTIFY );
This allows LightBlue to receive data uploaded by the slave CC2640 via Notify
but now we need to adapt a software where the Bluetooth method does not operate the value of CCC to enable Notify, listen directly to Notify, and we can write the data normally while using this software. However, you cannot receive Notify, and by debugging, the program does not run the above code to enable Notify;
so we need to keep the value of CCC enabled by default in the CC2640 code, how do we do that?
Best regards
Alex