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.

In CC26xx BLE stack, when host will get Link establishment Event? Is after successful sending of 'CONN_REQ' or 'after successful receiving of PDU data from peer?



Hi,

Please help me on the above query which will helpful me to understand the background stack logic & resolve our issues.

In our project we observed one scenario as, Master requested 'CONN_REQ', to Slave Ble device. Master application got 'GAP_LINK_ESTABLISH_EVENT' from Master-Stack, but after 6 'connInterval' time again it receives 'GAP_LINK_TERMINATE_EVENT'. When we observe the sniffer log, after sending the 'CONN_REQ' over the air from LL layer of Master, waited for one 'connInterval' time and raised PDU packet request but slave not responded after 6 re tries Master LL layer terminated the link and raised termination reason 0x3E.

By mapping this logic with 'BLE - Core 4.1 Spec, Section - 4.5 CONNECTION STATE', not clearly understood when the Master (Central Role) stack will initiate 'GAP_LINK_ESTABLISH_EVENT'.

  • Hello,

    Is this related to your other post?

    It would be helpful if you could provide the requested info from the "Read before you post" thread,;this will help give a more dedicated response.

    I would confirm your HW layout is correct by following the troubleshooting steps on the wiki as it appears you have a crystal or RF config issue. Also, please confirm your RF Front End & Bias configuration is set correctly in bleUserConfig.h.

    Best wishes

  • Hello JXS,

    Thanks for your support. My query is straight forward, when Master (Central Role configured BLE) application will get 'LINK_ESTABLISH_ENVENT' from stack? Is after successful sending of 'CONNECT_REQ' over the air (or) after successful receiving of LE-DATA from Slave device?

    For understanding purpose I explained the test scenario, Please let me know if it causes any confusion to you.

    No, its not related to other post which I did. It is especially talking about Central Role, how the LL Layer will react to application when it raised 'GAPCentralRole_EstablishLink' to stack.

    Currently we are following RF front End & Bias configurations as default which is given in example codes.

    Thanks,
    Reddy
  • For better understanding the question is reformatted. Can you please respond?

    When the Master BLE application will get the LINK_ESTABLISH_EVENT indication from Master BLE stack? (Whether after CONNECT_REQ is sent over the air by the Master BLE stack to the Slave BLE device or whether after the Master BLE stack receives the acknowledgement from the Slave BLE device for the CONNECT_REQ)