This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2640R2F: HCI Command to Notify

Part Number: CC2640R2F

Hi,

I am using host test example to make CC2640R2F as Master( Central ) to make connection with another CC2640R2F as Slave( Peripharal ).

Slave is exposing characteristics with Notify and Master have to Notify it before starting data convey.

My problem is i am not able to send notification here to slave, where i used like..

1.GATT_Notification

2.GATT_Indication

and other few HCI commands but slave is not able to getting notified while doing same with mobile app slave gets notify.

Can you please assist me to exactly what is the command to send notification.

I have used following commands after making connection...

Send_GapInit_connect 0x00, "xx:xx:xx:xx:xx:xx", 0x01, 0
sleep(3000)


Send_GATT_DiscAllPrimaryServices 0
sleep(3000)


Send_GATT_DiscAllCharDescs 0, 0x0001, 0xFFFF
sleep(2000)


#Send_GATT_Notification 0, 0x00, 0x0013, "01"

Regards,

Bhavin