Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.52 KB

connection_test.md

File metadata and controls

26 lines (16 loc) · 1.52 KB

BLE Connection Test

Connection procedure

image

Figure 1 Central’s view of LL connection setup with CONNECT_IND

Connection interval

Connection interval

Figure 2 CONNECT_REQ packet

The connection interval determines how fast the master will communicate with the slave. It is defined as the start of the last connection event and the start of the next connection event. In this test, the connection interval is 7.5 ms as shown in the Figure 2 CONNECT_REQ packet.

Master packet example

Figure 3 Master packet example

In the Figure 3, the master sent an empty packet to the slave. The total length of the packet is: preamble (1) + access address (4) + header (2) + payload (0) + CRC (3) = 10 Bytes. In this test, it used 1 M PHY. 10 Bytes (80 bits) is 80 us. Connection interval (7500) - master packet (80) - T_IFS (150) - slave ack (80) = 7190 us.

Delta time

Figure 4 Delta time

Figure 4 shows that the delta times are between 7189 us and 7190 us which are matched with the calculation above.