To transmit data set GAPC_PARAM_UPDATE_CMD parameters leads to instability

2 posts / 0 new
The Last post
randyzhou
Offline
Last seen:1 day 16 hours a line
Joined:The 2014-02-20 07:09
To transmit data set GAPC_PARAM_UPDATE_CMD parameters leads to instability

Set the parameters as follows: lead to instability in the connection of data transmission, before there is no set this parameter to transmit data connection is ok
Struct gapc_param_update_cmd * the req = KE_MSG_ALLOC (gapc_param_update_cmd TASK_GAPC, TASK_APP, gapc_param_update_cmd);
/ / the Fill in the parameter structure
The req - > operation = GAPC_UPDATE_PARAMS;
The req - > params. Intv_min = 180;/ / N * 1.25 ms
The req - > params. Intv_max = 200;/ / N * 1.25 ms
The req - > params. Latency = 0;/ / Conn Events skipped
The req - > params. Time_out = 500;/ / N * 10 ms
Ke_msg_send (the req);
The return;
Excuse me params. Intv_min and intv_max. How much is set to the appropriate, in the case of guarantee the stability of data, has less power consumption

Device:
Gongyu_Dialog
Offline
Last seen:1 day 17 hours a line
Joined:The 2016-04-27 07:07
If you are using is outside of the 32 k clock

If you are using is outside of the 32 k clock, and to transfer a data buffer overhaul.So even if the parameters are updated, and transmission of instability are less likely to happen.
Don't know what did you do to transmit data code, is generally reference SDK3 throughput streamdatad_send_data_packets_req_handler function interface in the code.
Questions about the updated parameters, general reference to the requirements in the attachment, but only for IOS system.Update parameter in most cases, are initiated by the mobile phone.