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

Need to port code on latest soft device

Hi

We are having our current NRF application working with  S132 SoftDevice v3.0.0 API and we want to port our application on  S132 SoftDevice v5.0.0 API and also want to use the latest nRF5 SDK v14.2.0,

Request you to guide me in the same.

Thanks

Karishma Jaiswal

Parents
  • Hello,

    There are porting documents in the release notes of each SDK. Check out the release notes for the SDK releases in between your old SDK (12.3.0?) and SDK14.2.0.

    The 14.2.0 release notes are found here, and you can find the older ones in the menu to the left.

    Especially interesting for you, would be the sections "New features" and "Changes".

     

    Best regards,

    Edvin

  • hi

    I followed the mentioned guideline and tried to up my application.

    I am following the "ble_app_att_mtu_throughput" example present at ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput.

    My device will work as client and it's type will peripheral.

    But code is getting hang client_init(void) function when "nrf_ble_amtc_init" function is called.

    I doubt if i am missing any setting.

    For you reference I have attached my bleDrv.c file.

    bleDrv.c

    Kindly guide me for the same.

    Thanks

    Karishma Jaiswal

  • Hi,

     

    What error code are you seeing?

    It looks like you might have missed the evt-handler declarations:

    NRF_SDH_BLE_OBSERVER(m_amtc_ble_obs, BLE_AMTC_BLE_OBSERVER_PRIO, nrf_ble_amtc_on_ble_evt, &m_amtc);
    NRF_SDH_BLE_OBSERVER(m_amts_ble_obs, BLE_AMTS_BLE_OBSERVER_PRIO, nrf_ble_amts_on_ble_evt, &m_amts);

     

    Cheers,

    Håkon

  • Hi

    Thanks for your reply.

    that error got resolve, but now further I am facing below memory related error

    INFO: ../../source/peripherals/bluetooth/bleDrv.c +849 Packet format = 0
    ERROR: ../../source/peripherals/bluetooth/bleDrv.c +785 BLE Authentication success..
    ERROR: ../../source/task/task.c +170 taskEventAllocate NRF_ERROR_NO_MEM
    ERROR: ../../source/task/task.c +474 taskEnqueue failed with errorno = 4 Task id = 3
    DEBUG: ../../source/peripherals/bluetooth/bleDrv.c +2076 Host disconnected
    ERROR: ../../source/task/task.c +170 taskEventAllocate NRF_ERROR_NO_MEM
    ERROR: ../../source/task/task.c +474 taskEnqueue failed with errorno = 4 Task id = 6

    Kindly check and suggest me about the memory required by softdevice, application, ARM....etc.

    So that I can manage the memory properly.

    Thanks in advance.

       

Reply
  • Hi

    Thanks for your reply.

    that error got resolve, but now further I am facing below memory related error

    INFO: ../../source/peripherals/bluetooth/bleDrv.c +849 Packet format = 0
    ERROR: ../../source/peripherals/bluetooth/bleDrv.c +785 BLE Authentication success..
    ERROR: ../../source/task/task.c +170 taskEventAllocate NRF_ERROR_NO_MEM
    ERROR: ../../source/task/task.c +474 taskEnqueue failed with errorno = 4 Task id = 3
    DEBUG: ../../source/peripherals/bluetooth/bleDrv.c +2076 Host disconnected
    ERROR: ../../source/task/task.c +170 taskEventAllocate NRF_ERROR_NO_MEM
    ERROR: ../../source/task/task.c +474 taskEnqueue failed with errorno = 4 Task id = 6

    Kindly check and suggest me about the memory required by softdevice, application, ARM....etc.

    So that I can manage the memory properly.

    Thanks in advance.

       

Children
Related