Mark of bleprofile_SendConnParamUpdateReq, impact?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

There is a slow speed via OTA with BrCM 20737s chip with Samsung handsets even if we 

   

add in Ws_upgrade_ota.c

   

            // to make upgrade faster request host to reduce connection interval to minimum
            lel2cap_sendConnParamUpdateReq(6, 6, 0, 700);

   

but it doesnt work and ota speed near 20min.

   

 

   

However if we mark this line below in encryption_changed(HCI_EVT_HDR *evt)() in  hello_sensor.c

   

    // We are done with initial settings, and need to stay connected.  It is a good
    // time to slow down the pace of master polls to save power.  Following request asks
    // host to setup polling every 100-500 msec, with link supervision timeout 7 seconds.
    //bleprofile_SendConnParamUpdateReq(80, 400, 0, 700);

   

 

   

it can work with only 2min ota. However, we disable a refered speed from slave to master...

   

is it impact any issue for instance, master auto set a interval speed but slave can not support it to cause link-drop or other issue???

0 Likes
1 Solution
Anonymous
Not applicable

Hi Leo Su,

The issue with increase in OTA to 20 mins with respect to the connection interval might be specific to the phone.

However, changing the connection interval will not cause adverse effects like link drop etc., The Master and slave will come to an agreement ultimately on the connection interval.

Regards,

- Madhu Sudhan

View solution in original post

4 Replies
Anonymous
Not applicable

any help?

0 Likes
Anonymous
Not applicable

I haven't worked with OTA stuff, but it is hard to understand what question you are asking in your post. Can you rephrase it?

   

It sounds like you want to know what the impact of having different connection settings between the master and slave will do to the connection times?

0 Likes
Anonymous
Not applicable

my question is in hello_sensor.c 

   

in func encryption_changed(HCI_EVT_HDR *evt) during BT-connection

   

if we mark this line

   

However if we mark this line below in encryption_changed(HCI_EVT_HDR *evt)() in  hello_sensor.c

   

       //bleprofile_SendConnParamUpdateReq(80, 400, 0, 700);
 

   

is any bad impact for master-slave connection for instance, master chooses a faster speed that slave devie can not support or handle?

0 Likes
Anonymous
Not applicable

Hi Leo Su,

The issue with increase in OTA to 20 mins with respect to the connection interval might be specific to the phone.

However, changing the connection interval will not cause adverse effects like link drop etc., The Master and slave will come to an agreement ultimately on the connection interval.

Regards,

- Madhu Sudhan