Skip to main content
Dams
Associate III
June 10, 2020
Question

BlueNRG - how to reject a read request

  • June 10, 2020
  • 0 replies
  • 638 views

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

 

This topic has been closed for replies.