This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BLE-STACK: Hanging in ICALL abort function

Part Number: BLE-STACK

Hii,

        i am working with basic_ble example and started UART in callback mode and whenever i am calling any api like osal_snv_write of osal_snv_read or HCI_EXT_SetBDADDRCmd or trying to send notification to connected BLE client in uart callback the code hangs in icall_directAPI  function at ICall_abort(); . please tell me what procedure should i follow to do the same

  • Hi,

    Can you provide some additional information with regards to how you are calling these functions? Are you calling these functions from the callback function itself? Can you also share the SDK version you are using?

    Best Regards,

    Jan

  • Hi Jan,

               i am calling these functions from UART callback and i am using sdk version simplelink_cc23xx_sdk_6_41_00_09_eng.

      following are my tasks

    1. Change BLE advertising name if received on UART

    2. save data into svn (flash) received from UART

    3. Notify data which is received on UART

    Thanks and regards

    Prince

  • Hi Prince,

    As a quick test, can you try calling these functions outside the interrupt context? I believe what may be happening here is that these functions should not be called from the interrupt context, but instead from the task context.

    Best Regards,

    Jan

  • Hi Jan,

                I called snv write and read function inside BLEAppUtil_Task -> for(;;) and they are working now but GATT_Notification( simpleProfileChar4Config, &data, FALSE );  is still doing the same problem can you please tell me the procedure to notify data to a connected client

    Thanks and Regards

    Prince Singh

  • Hi Jan,

                notification also done thanks for your support.

    Best Regards,

    Prince Singh