"Connection Events" "BLE" "Sky original"

Source: Internet
Author: User

Connection Events

My study notes on TI's official website are now organized as followsafter two ble devices are connected, all communication events occur through the connection events     waveform measured from one of the devices with an oscilloscope after establishing a connection for two ble Red is the timeline---the horizontal axis,Power Consumption---black vertical axis The spike wave is connection Events. the rest of the sleeping is sleep time. Most of the time the device is in the sleeping state after the connection is established . in this case, the power consumption is only 1uA in connection events, the highest is more than 10 mah that's why ble saves power. in each connection events event, the master is required to initiate the package, which is then returned by slave   Connection Parameters by modifying these three parameters, you can set the transmission speed and power consumption of the BLE connection  1, Connection IntervalThe time interval between the start of a connection events and the start of the next connection events The unit is 1.25ms, the minimum is 7.5ms, the maximum is 4.0s  2, Slave LatencyAllows the slave device to skip a certain number of connection events without data to be sentin these connection events, you don't have to reply to Master's package, so you can save more power the range can be 0~499  3. Supervision TimeoutThis parameter sets a time-out period and automatically disconnects if BLE does not communicate during this time. Unit is 10ms, range is 100ms ~ 32s The following formula must be met:Supervision Timeout > (1 + slavelatency) * (connectioninterval) slavelatency cannot be counted in supervision timeout time, otherwise the connection will not break normally  slavelatency for 0 o'clock, master contract, Slave must reply, if not reply, Master will think slave over there receive abnormalslavelatency is 3 o'clock, master contract, slave allow 3 packages do not reply  Effects of parameters:  Connection Intervalshortened, Master communicates more frequently with slave, improves power consumption, improves data throughput and shortens data delivery timeConnection Interval Longer, lower communication frequency, lower power consumption, slower data throughput, longer data transmission wait time slavelatency is reduced or set to 0, you need to respond to Master's package every time you connection enventsHigher power consumption and faster data transmissionslavelatency, reduced power consumption, lower data transmission speed These parameters can be dynamically modified After the connection is established. Welcome to Exchange If there is reprint please indicate the source

Sina Blog: http://blog.sina.com.cn/u/2049150530
Blog Park: http://www.cnblogs.com/sky-heaven/
Know: Http://www.zhihu.com/people/zhang-bing-hua

   

"Connection Events" "BLE" "Sky original"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.