A
connect_req net charge is as follows:
Whether the Inita (initiator Address) field is public (txadd=0) or random (txadd=1) is determined by the Txadd domain in the net payload.
Whether the Adva (Advertiser Address) field is public (rxadd=0) or random (rxadd=1) is determined by the Rxadd domain in the net payload.
Two
is a complete connect_req message that is parsed as shown in
(1) Initiator address:0x870533001177 (address of dongle)
(2) Advertiser address:0x0000000000b5 (keyboard address)
(3) Access ADDRESS:0XE55C6BCD
(4) CRC initialization value:0xa486d4
(5) transmitwindowsize:2.50ms (transmitwindowsize = winsize * 1.25 ms, i.e. WinSize = 0x02)
(6) transmitwindowoffset:1.25ms (Transmitwindowoffset = winoffset * 1.25 ms, i.e. Winoffset = 0x0001)
(7) conninterval:7.50ms (conninterval = Interval * 1.25 ms, i.e. Interval = 0x0006)
(8) connslavelatency:0 (connslavelatency = Latency)
(9) connsupervisiontimeout:4480.00ms (connsupervisiontimeout = timeout * Ten ms, i.e. timeout = 0x01c0)
Channel map:0001111111111111111111111111111111111111 (0-36 channels are used, 37-39 channels are not used)
(one) hopincrement:9 (random value between Hop field 5-16)
(mastersca:31) ppm to ppm (i.e. SCA = 5)
To set the value of an SCA field by
Bluetooth Learning Tour--low power Bluetooth wide broadcast text connect_req