This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Failure to write to characteristic during authentication rw event

nrf52840 with SDK15

I am trying to update 3 characteristics if the correct value is written to an authenticated read write characteristic.  Actually all of my characteristics are enabled with authentication required.

I have tried both running the sd_ble_gatts_value_set and queuing events for them so they do not interfere with eachother.  I guess my question is whether I can write to multiple characteristics in a row in a peer manager event and if not how to handle this.

Thanks,

Bloq

Parents
  • Hello Bloq,

    From where are you trying to write to the characteristic? Are you writing from a central, and the service/characteristic is located on the peripheral? Have you tried the sd_ble_gattc_write() call?

    If that doesn't work, can you please specify who owns the characteristic, and who is trying to write? And how did you set up the "enabled with authentication required"?

    Best regards,

    Edvin

Reply
  • Hello Bloq,

    From where are you trying to write to the characteristic? Are you writing from a central, and the service/characteristic is located on the peripheral? Have you tried the sd_ble_gattc_write() call?

    If that doesn't work, can you please specify who owns the characteristic, and who is trying to write? And how did you set up the "enabled with authentication required"?

    Best regards,

    Edvin

Children
No Data
Related