Skip to main content
Evgeny Boltunov
Associate
July 31, 2018
Question

How to read an attribute value on master from slave device (BlueNRG-1)?

  • July 31, 2018
  • 1 reply
  • 611 views

Hello,

I am trying to read attribute from connected slave device on my BLE master device.

Both devices are BlueNRG-1, the first device is configured as slave, the second device is configured as master/slave.

In master mode I try this code to read attribute value after successfully connected to slave:

aci_gatt_read_char_value(connection_handle, attribute_handle);

I have set actual connection_handle which I got on master device and attribute_handle which I know on slave device.

aci_gatt_read_char_value(...) return SUCCESS, and I should get the result (the attribute value) in aci_att_read_resp_event(...) but I have no response.

aci_att_read_resp_event() is not called.

Please, provide any suggestions.

In advance thanks,

Evgeny Boltunov

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    August 10, 2018

    @ST Community​  who is supporting BlueNRG?

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..