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

connect with iphone6 & xs problem

we use 52810 connect with iphone6, then read the RSSI value, it will disconnect with the iphone6.

reconnect the iphone6 and read the RSSI value, it disconnect again.

we use 52810 connect with iphoneXS, then read the RSSI value, it will not disconnect with the iphoneXS,

but sometime can not read the RSSI value or get nothing.

SDK:nRF5_SDK_15.3.0_59ac345

what can i do for this trouble shooting?

Parents
  • Hi

    How do you try to read the RSSI value?

    If the device disconnects it sounds like you are getting an assert in the code, which typically means an error is returned from a SoftDevice function when you try to call it. 

    Regarding RSSI it is important to know that you can't read this directly. You have to tell the SoftDevice to report the RSSI back, and then you will get an event every time the RSSI value changes. 

    Best regards
    Torbjørn

Reply
  • Hi

    How do you try to read the RSSI value?

    If the device disconnects it sounds like you are getting an assert in the code, which typically means an error is returned from a SoftDevice function when you try to call it. 

    Regarding RSSI it is important to know that you can't read this directly. You have to tell the SoftDevice to report the RSSI back, and then you will get an event every time the RSSI value changes. 

    Best regards
    Torbjørn

Children
No Data
Related