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

First connection using LE Privacy

Upon my first connection to my device with LE Privacy, first connection meaning after I've reset the firmware, I'm unable to read anything. The write characteristic works just fine, it's only the read which doesn't work. I'm not seeing any errors. But, if I disconnect and reconnect, I have expected read & write access to the device. Is there a command I'm missing after initially uploading the firmware, that I should be aware of?

Parents
  • Hello,

    I can't think of anything obvious that would cause this behavior. Do you get the interrupts on the device when you try to read read from it, on the first connection - before reconnecting?

     

    Also, have you tried to sniff the connection? Anything there that could be of interest?

    Are you using nRF Connect? Can you try it, as it usually gives some response when things does not work as "planned", e.g. reading/writing to a characteristic that you don't have permission to access.

     

    Best regards,

    Edvin

Reply
  • Hello,

    I can't think of anything obvious that would cause this behavior. Do you get the interrupts on the device when you try to read read from it, on the first connection - before reconnecting?

     

    Also, have you tried to sniff the connection? Anything there that could be of interest?

    Are you using nRF Connect? Can you try it, as it usually gives some response when things does not work as "planned", e.g. reading/writing to a characteristic that you don't have permission to access.

     

    Best regards,

    Edvin

Children
Related