cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG - how to reject a read request

Dams
Associate II

Hello,

 

I have a problem by using event to catch a read of a characteritics.

When I'm in the event EVT_BLUE_GATT_READ_PERMIT_REQ I want to deny the read.

I see only the function aci_gatt_allow_read and not any function like aci_gatt_deny_read.

On google I find some clues but when I set rq.ocf = 0x12d; the hci_send_req give me back a timeout.

For some reason (iOS compatibility) I can't use ATTR_PERMISSION_AUTHEN_READ with pin code when I create a characteristic.

 

Thanks in advance for help.

 

Dams

 

0 REPLIES 0