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.

CC2642R: Not getting response for connection params update

Part Number: CC2642R

I try to connect my CC26x2r board with the multi role project to a windows machine ( where the board is the serrver and the windows machine is the client). 

After which i try to notify characteristics 0xfff4. I am able to successfully establish connection and receive message on the windows machine, but the notification rate is very slow,

As per my understanding the notification rate is based on the connection interval set, In the multi-role code I have set the DEFAULT_UPDATE_MAX_CONN_INTERVAL and DEFAULT_UPDATE_MIN_CONN_INTERVAL, DEFAULT_DESIRED_MIN_CONN_INTERVAL, DEFAULT_DESIRED_MAX_CONN_INTERVAL as 8 (which means 1.25*8 ms = 10ms), but i see that the rate of notification is not changed, its very slow.

I am also able to note that the event GAP_LINK_PARAM_UPDATE_EVENT is not raised after a GAP_UpdateLinkParamReq() is sent out from the multi role board. 

In the description it is given that 

After the GAP_UpdateLinkParamReq procedure is complete, the calling task will receive a
* @ref GAP_LINK_PARAM_UPDATE_EVENT of type

How can i receive the notifications faster on the windows machine by changing the connection parameters from the server device.

  • Hi Gokul,

    1) What version of the SimpleLink CC13x2/CC26x2 SDK are you using?

    2) How are you sending notifications from multi_role? (Can you post a code snippet?)

    3) Can you post a sniffer log of this happening? 

    4) We have an example on github which is meant to showcase how to maximize data throughput over a BLE connection. Please see:

     

  • Hi Marie,

    Thank you for your response,

    1) What version of the SimpleLink CC13x2/CC26x2 SDK are you using?

    simplelink_cc13x2_26x2_sdk_3_10_01_11

    2) How are you sending notifications from multi_role? (Can you post a code snippet?)

    void send_notif(void)
    {
    simpleProfile_AppCBs->pfnSimpleProfileChange( SIMPLEPROFILE_CHAR4 );

    }

    //This function is called every 10ms from a thread. 

    3) Can you post a sniffer log of this happening? 


    I dont have a sniffer- I try to connect to my matlab/ble machine. Can u tell me more about setting a sniffer, I can try.

    4) We have an example on github which is meant to showcase how to maximize data throughput over a BLE connection. Please see:

     Thank you for this, Do you have an example for max throughput with multi-role? 

  • Hi,

    Regarding the problem you are facing with the absence of the event GAP_LINK_PARAM_UPDATE_EVENT, can you verify the value returned by the function GAP_UpdateLinkParamReq()?

    Gokul Krishna Krishnakumar said:
    Do you have an example for max throughput with multi-role?

    We do not provide this example directly, but you can reuse the examples throughput_peripheral and throughput_central to develop your own example.

    Regards,

  • Hi,

    Due to inactivity, I will close this thread in the next days. If your problem is solved, please mark the thread accordingly.

    Regards,