This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SDK 14 migration

Hi again,

I have advertising up and runnnig and can connect to my server through the nrfConnect app. However after ~39-40 sec(every time) the connection is lost with errorcode 34(LMP timeout). And I can read all my characteristics.

MAX/MIN_CONN_INTERVAL and CONN_SUP_TIMEOUT are the same as in SDK12.

MIN_CONN_INTERVAL MSEC_TO_UNITS( 10, UNIT_1_25_MS)
MAX_CONN_INTERVAL MSEC_TO_UNITS(500, UNIT_1_25_MS)
SLAVE_LATENCY 0 CONN_SUP_TIMEOUT MSEC_TO_UNITS(1000, UNIT_1_25_MS)

I have a very good link RSSI at about -60-70 dBm. What it going on?

nrfConnect LOG says:

[Callback] connection state changed with status:34 and new state: DISCONNECTED(0)

[Server callback] connection state changed with status :0 and new state DISCONNECTED(0)

[Server] Device disconnected

Error 34(0x22):GATT CONN LMP TIMEOUT

Disconnected

[Broadcast] Action received:android.blueooth.device.action.ACL_DISCONNECTED

Best regards Bjarke

  • Hi,

    1. What SDK and Softdevice version are you using?
    2. What phone(s) are you using as central? Can you try several?
    3. Is this a custom firmware made from scratch or is it based on a particular example in the SDK?
    4. Do you get any logging information out of the peripheral?
    5. Have you followed the Softdevice migration guide?
  • Hi Martin,

    1. I am using SDK14 with SD5
    2. I am using a oneplus 5, but with SDK13 it works...
    3. It is a custom firmware that is cut and pasted from the examples
    4. I am trying to get NRF_LOG to work, but since it is also reworked in SDK14 it is not working now, but I am working on that...
    5. Yes, as close as I could.... Even though it is not comprehensive...(SDK_CONFIG.h is changed, and requires additional defines.)
  • OMG, does someone have a link to how to add text to the devzone without looking funny? (fixed now, but anyway, anybody?)

  • I found the error. I was using the uart wrong, and the fw was rebooting

Related