Hello there,
hci_usb sample with following configuration always disconnects after 40 seconds.
Board: PCA10059, PCA10056 (both produces that error)
Host: Raspberry Pi 3, Raspbian, kernel 5.4.51-v7+
SDK Version: nRF Connect SDK v1.3.2
Configuration:
CONFIG_STDOUT_CONSOLE=y CONFIG_GPIO=y CONFIG_SERIAL=y CONFIG_UART_INTERRUPT_DRIVEN=y CONFIG_BT=y CONFIG_BT_HCI=y CONFIG_USB=y CONFIG_USB_DEVICE_STACK=y CONFIG_USB_DEVICE_BLUETOOTH=y CONFIG_USB_DEVICE_BLUETOOTH_VS_H4=y CONFIG_MAIN_STACK_SIZE=1024 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=1024 CONFIG_BT_CTLR_RX_BUFFERS=18 CONFIG_BT_CTLR_TX_BUFFERS=19 CONFIG_BT_CTLR_TX_BUFFER_SIZE=251 CONFIG_BT_CTLR_DATA_LENGTH_MAX=251 CONFIG_BT_HCI_CMD_COUNT=20 CONFIG_BT_RX_BUF_COUNT=20 CONFIG_BT_RX_BUF_LEN=258 CONFIG_BT_DISCARDABLE_BUF_SIZE=257 CONFIG_BT_MAX_CONN=10 CONFIG_USB_REQUEST_BUFFER_SIZE=384 CONFIG_BT_EXT_ADV=y CONFIG_BT_CTLR_PHY_CODED=y CONFIG_BT_LLL_VENDOR_NORDIC=y CONFIG_BT_LL_NRFXLIB=y
When it attached to the host, the btmon output is like following:
Bluetooth monitor ver 5.54
= Note: Linux version 5.4.51-v7+ (armv7l) 0.929263
= Note: Bluetooth subsystem version 2.22 0.929273
= New Index: 00:00:00:00:00:00 (Primary,USB,hci0) [hci0] 0.929277
= Open Index: 00:00:00:00:00:00 [hci0] 0.929280
= Index Info: 00:00:00:00:00:00 (Nordic Semiconductor ASA) [hci0] 0.929285
@ MGMT Open: bluetoothd (privileged) version 1.14 {0x0002} 0.929290
@ MGMT Open: btmon (privileged) version 1.14 {0x0001} 0.929642
@ RAW Open: hciconfig (privileged) version 2.22 {0x0003} 5.368125
@ MGMT Event: New Settings (0x0006) plen 4 {0x0001} [hci0] 5.368254
Current settings: 0x00008a10
Bondable
Low Energy
Secure Connections
Static Address
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci0] 5.368254
Current settings: 0x00008a10
Bondable
Low Energy
Secure Connections
Static Address
= Close Index: 00:00:00:00:00:00 [hci0] 5.368344
= Open Index: 00:00:00:00:00:00 [hci0] 5.368540
< HCI Command: Reset (0x03|0x0003) plen 0 #1 [hci0] 5.368610
> HCI Event: Command Complete (0x0e) plen 4 #2 [hci0] 5.369921
Reset (0x03|0x0003) ncmd 1
Status: Success (0x00)
< HCI Command: Read Local Supported... (0x04|0x0003) plen 0 #3 [hci0] 5.370005
> HCI Event: Command Complete (0x0e) plen 12 #4 [hci0] 5.371933
Read Local Supported Features (0x04|0x0003) ncmd 1
Status: Success (0x00)
Features: 0x00 0x00 0x00 0x00 0x60 0x00 0x00 0x00
BR/EDR Not Supported
LE Supported (Controller)
< HCI Command: Read Local Version In.. (0x04|0x0001) plen 0 #5 [hci0] 5.372035
> HCI Event: Command Complete (0x0e) plen 12 #6 [hci0] 5.374918
Read Local Version Information (0x04|0x0001) ncmd 1
Status: Success (0x00)
HCI version: Reserved (0x0b) - Revision 4331 (0x10eb)
LMP version: Reserved (0x0b) - Subversion 4331 (0x10eb)
Manufacturer: Nordic Semiconductor ASA (89)
< HCI Command: Read BD ADDR (0x04|0x0009) plen 0 #7 [hci0] 5.374991
> HCI Event: Command Complete (0x0e) plen 10 #8 [hci0] 5.375907
Read BD ADDR (0x04|0x0009) ncmd 1
Status: Success (0x00)
Address: 00:00:00:00:00:00 (OUI 00-00-00)
< HCI Command: LE Read Buffer Size (0x08|0x0002) plen 0 #9 [hci0] 5.376047
> HCI Event: Command Complete (0x0e) plen 7 #10 [hci0] 5.377906
LE Read Buffer Size (0x08|0x0002) ncmd 1
Status: Success (0x00)
Data packet length: 251
Num data packets: 3
< HCI Command: LE Read Local Suppor.. (0x08|0x0003) plen 0 #11 [hci0] 5.377973
> HCI Event: Command Complete (0x0e) plen 12 #12 [hci0] 5.379930
LE Read Local Supported Features (0x08|0x0003) ncmd 1
Status: Success (0x00)
Features: 0xf5 0x59 0x00 0x00 0x00 0x00 0x00 0x00
LE Encryption
Extended Reject Indication
LE Ping
LE Data Packet Length Extension
LL Privacy
Extended Scanner Filter Policies
LE 2M PHY
LE Coded PHY
LE Extended Advertising
Channel Selection Algorithm #2
< HCI Command: LE Read Supported St.. (0x08|0x001c) plen 0 #13 [hci0] 5.380000
> HCI Event: Command Complete (0x0e) plen 12 #14 [hci0] 5.380916
LE Read Supported States (0x08|0x001c) ncmd 1
Status: Success (0x00)
States: 0x000003ffff3fffff
Non-connectable Advertising State
Scannable Advertising State
Connectable Advertising State
High Duty Cycle Directed Advertising State
Passive Scanning State
Active Scanning State
Initiating State
and Connection State (Master Role)
Connection State (Slave Role)
Non-connectable Advertising State
and Passive Scanning State
Scannable Advertising State
and Passive Scanning State
Connectable Advertising State
and Passive Scanning State
High Duty Cycle Directed Advertising State
and Passive Scanning State
Non-connectable Advertising State
and Active Scanning State
Scannable Advertising State
and Active Scanning State
Connectable Advertising State
and Active Scanning State
High Duty Cycle Directed Advertising State
and Active Scanning State
Non-connectable Advertising State
and Initiating State
Scannable Advertising State
and Initiating State
Non-connectable Advertising State
and Connection State (Master Role)
Scannable Advertising State
and Connection State (Master Role)
Non-connectable Advertising State
and Connection State (Slave Role)
Scannable Advertising State
and Connection State (Slave Role)
Passive Scanning State
and Connection State (Master Role)
Active Scanning State
and Connection State (Master Role)
Passive Scanning State
and Connection State (Slave Role)
Active Scanning State
and Connection State (Slave Role)
Initiating State
and Connection State (Master Role)
and Master Role & Master Role
Low Duty Cycle Directed Advertising State
Low Duty Cycle Directed Advertising State
and Passive Scanning State
Low Duty Cycle Directed Advertising State
and Active Scanning State
Connectable Advertising State
and Initiating State
and Master Role & Slave Role
High Duty Cycle Directed Advertising State
and Initiating State
and Master Role & Slave Role
Low Duty Cycle Directed Advertising State
and Initiating State
and Master Role & Slave Role
Connectable Advertising State
and Connection State (Master Role)
and Master Role & Slave Role
High Duty Cycle Directed Advertising State
and Connection State (Master Role)
and Master Role & Slave Role
Low Duty Cycle Directed Advertising State
and Connection State (Master Role)
and Master Role & Slave Role
Connectable Advertising State
and Connection State (Slave Role)
and Master Role & Slave Role
High Duty Cycle Directed Advertising State
and Connection State (Slave Role)
and Slave Role & Slave Role
Low Duty Cycle Directed Advertising State
and Connection State (Slave Role)
and Slave Role & Slave Role
Initiating State
and Connection State (Slave Role)
and Master Role & Slave Role
< HCI Command: Read Local Supported.. (0x04|0x0002) plen 0 #15 [hci0] 5.380978
> HCI Event: Command Complete (0x0e) plen 68 #16 [hci0] 5.383907
Read Local Supported Commands (0x04|0x0002) ncmd 1
Status: Success (0x00)
Commands: 74 entries
Disconnect (Octet 0 - Bit 5)
Read Remote Version Information (Octet 2 - Bit 7)
Set Event Mask (Octet 5 - Bit 6)
Reset (Octet 5 - Bit 7)
Read Transmit Power Level (Octet 10 - Bit 2)
Set Controller To Host Flow Control (Octet 10 - Bit 5)
Host Buffer Size (Octet 10 - Bit 6)
Host Number of Completed Packets (Octet 10 - Bit 7)
Read Local Version Information (Octet 14 - Bit 3)
Read Local Supported Features (Octet 14 - Bit 5)
Read BD ADDR (Octet 15 - Bit 1)
Read RSSI (Octet 15 - Bit 5)
Set Event Mask Page 2 (Octet 22 - Bit 2)
LE Set Event Mask (Octet 25 - Bit 0)
LE Read Buffer Size (Octet 25 - Bit 1)
LE Read Local Supported Features (Octet 25 - Bit 2)
LE Set Random Address (Octet 25 - Bit 4)
LE Set Advertising Parameters (Octet 25 - Bit 5)
LE Read Advertising Channel TX Power (Octet 25 - Bit 6)
LE Set Advertising Data (Octet 25 - Bit 7)
LE Set Scan Response Data (Octet 26 - Bit 0)
LE Set Advertise Enable (Octet 26 - Bit 1)
LE Set Scan Parameters (Octet 26 - Bit 2)
LE Set Scan Enable (Octet 26 - Bit 3)
LE Create Connection (Octet 26 - Bit 4)
LE Create Connection Cancel (Octet 26 - Bit 5)
LE Read White List Size (Octet 26 - Bit 6)
LE Clear White List (Octet 26 - Bit 7)
LE Add Device To White List (Octet 27 - Bit 0)
LE Remove Device From White List (Octet 27 - Bit 1)
LE Connection Update (Octet 27 - Bit 2)
LE Set Host Channel Classification (Octet 27 - Bit 3)
LE Read Channel Map (Octet 27 - Bit 4)
LE Read Remote Used Features (Octet 27 - Bit 5)
LE Encrypt (Octet 27 - Bit 6)
LE Rand (Octet 27 - Bit 7)
LE Start Encryption (Octet 28 - Bit 0)
LE Long Term Key Request Reply (Octet 28 - Bit 1)
LE Long Term Key Request Neg Reply (Octet 28 - Bit 2)
LE Read Supported States (Octet 28 - Bit 3)
LE Receiver Test (Octet 28 - Bit 4)
LE Transmitter Test (Octet 28 - Bit 5)
LE Test End (Octet 28 - Bit 6)
Read Authenticated Payload Timeout (Octet 32 - Bit 4)
Write Authenticated Payload Timeout (Octet 32 - Bit 5)
LE Set Data Length (Octet 33 - Bit 6)
LE Read Suggested Default Data Length (Octet 33 - Bit 7)
LE Write Suggested Default Data Length (Octet 34 - Bit 0)
LE Add Device To Resolving List (Octet 34 - Bit 3)
LE Remove Device From Resolving List (Octet 34 - Bit 4)
LE Clear Resolving List (Octet 34 - Bit 5)
LE Read Resolving List Size (Octet 34 - Bit 6)
LE Set Address Resolution Enable (Octet 35 - Bit 1)
LE Set Resolvable Private Address Timeout (Octet 35 - Bit 2)
LE Read Maximum Data Length (Octet 35 - Bit 3)
LE Read PHY (Octet 35 - Bit 4)
LE Set Default PHY (Octet 35 - Bit 5)
LE Set PHY (Octet 35 - Bit 6)
LE Enhanced Receiver Test (Octet 35 - Bit 7)
LE Enhanced Transmitter Test (Octet 36 - Bit 0)
LE Set Advertising Set Random Address (Octet 36 - Bit 1)
LE Set Extended Advertising Parameters (Octet 36 - Bit 2)
LE Set Extended Advertising Data (Octet 36 - Bit 3)
LE Set Extended Scan Response Data (Octet 36 - Bit 4)
LE Set Extended Advertising Enable (Octet 36 - Bit 5)
LE Read Maximum Advertising Data Length (Octet 36 - Bit 6)
LE Read Number of Supported Advertising Sets (Octet 36 - Bit 7)
LE Remove Advertising Set (Octet 37 - Bit 0)
LE Clear Advertising Sets (Octet 37 - Bit 1)
LE Set Extended Scan Parameters (Octet 37 - Bit 5)
LE Set Extended Scan Enable (Octet 37 - Bit 6)
LE Extended Create Connection (Octet 37 - Bit 7)
LE Read Transmit Power (Octet 38 - Bit 7)
LE Set Privacy Mode (Octet 39 - Bit 2)
< HCI Command: Set Event Mask (0x03|0x0001) plen 8 #17 [hci0] 5.384072
Mask: 0x200080000204e890
Disconnection Complete
Encryption Change
Read Remote Version Information Complete
Command Complete
Command Status
Hardware Error
Number of Completed Packets
Data Buffer Overflow
Encryption Key Refresh Complete
LE Meta
> HCI Event: Command Complete (0x0e) plen 4 #18 [hci0] 5.384909
Set Event Mask (0x03|0x0001) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Event Mask (0x08|0x0001) plen 8 #19 [hci0] 5.384978
Mask: 0x00000000000a1e5f
LE Connection Complete
LE Advertising Report
LE Connection Update Complete
LE Read Remote Used Features Complete
LE Long Term Key Request
LE Data Length Change
LE Enhanced Connection Complete
LE Direct Advertising Report
LE PHY Update Complete
LE Extended Advertising Report
LE Extended Advertising Set Terminated
LE Channel Selection Algorithm
> HCI Event: Command Complete (0x0e) plen 4 #20 [hci0] 5.386999
LE Set Event Mask (0x08|0x0001) ncmd 1
Status: Success (0x00)
< HCI Command: LE Read White List S.. (0x08|0x000f) plen 0 #21 [hci0] 5.387066
> HCI Event: Command Complete (0x0e) plen 5 #22 [hci0] 5.388919
LE Read White List Size (0x08|0x000f) ncmd 1
Status: Success (0x00)
Size: 8
< HCI Command: LE Clear White List (0x08|0x0010) plen 0 #23 [hci0] 5.388985
> HCI Event: Command Complete (0x0e) plen 4 #24 [hci0] 5.389908
LE Clear White List (0x08|0x0010) ncmd 1
Status: Success (0x00)
< HCI Command: LE Read Resolving Li.. (0x08|0x002a) plen 0 #25 [hci0] 5.390033
> HCI Event: Command Complete (0x0e) plen 5 #26 [hci0] 5.391909
LE Read Resolving List Size (0x08|0x002a) ncmd 1
Status: Success (0x00)
Size: 8
< HCI Command: LE Clear Resolving L.. (0x08|0x0029) plen 0 #27 [hci0] 5.391978
> HCI Event: Command Complete (0x0e) plen 4 #28 [hci0] 5.393927
LE Clear Resolving List (0x08|0x0029) ncmd 1
Status: Success (0x00)
< HCI Command: LE Read Maximum Data.. (0x08|0x002f) plen 0 #29 [hci0] 5.394001
> HCI Event: Command Complete (0x0e) plen 12 #30 [hci0] 5.394911
LE Read Maximum Data Length (0x08|0x002f) ncmd 1
Status: Success (0x00)
Max TX octets: 251
Max TX time: 2704
Max RX octets: 251
Max RX time: 2704
< HCI Command: LE Read Suggested De.. (0x08|0x0023) plen 0 #31 [hci0] 5.394981
> HCI Event: Command Complete (0x0e) plen 8 #32 [hci0] 5.396906
LE Read Suggested Default Data Length (0x08|0x0023) ncmd 1
Status: Success (0x00)
TX octets: 27
TX time: 328
< HCI Command: LE Read Number of Su.. (0x08|0x003b) plen 0 #33 [hci0] 5.396975
> HCI Event: Command Complete (0x0e) plen 5 #34 [hci0] 5.398927
LE Read Number of Supported Advertising Sets (0x08|0x003b) ncmd 1
Status: Success (0x00)
Num supported adv sets: 1
< HCI Command: Set Event Mask Page 2 (0x03|0x0063) plen 8 #35 [hci0] 5.399064
Mask: 0x0000000000800000
Authenticated Payload Timeout Expired
> HCI Event: Command Complete (0x0e) plen 4 #36 [hci0] 5.401913
Set Event Mask Page 2 (0x03|0x0063) ncmd 1
Status: Success (0x00)
< HCI Command: LE Write Suggested D.. (0x08|0x0024) plen 4 #37 [hci0] 5.401982
TX octets: 251
TX time: 2704
> HCI Event: Command Complete (0x0e) plen 4 #38 [hci0] 5.402905
LE Write Suggested Default Data Length (0x08|0x0024) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Default PHY (0x08|0x0031) plen 3 #39 [hci0] 5.402974
All PHYs preference: 0x00
TX PHYs preference: 0x01
LE 1M
RX PHYs preference: 0x01
LE 1M
> HCI Event: Command Complete (0x0e) plen 4 #40 [hci0] 5.404910
LE Set Default PHY (0x08|0x0031) ncmd 1
Status: Success (0x00)
= Index Info: 00:00:00:00:00:00 (Nordic Semiconductor ASA) [hci0] 5.405006
< HCI Command: LE Set Extended Adv.. (0x08|0x0036) plen 25 #41 [hci0] 5.405204
Handle: 0x00
Properties: 0x0010
Use legacy advertising PDUs: ADV_NONCONN_IND
Min advertising interval: 1280.000 msec (0x0800)
Max advertising interval: 1280.000 msec (0x0800)
Channel map: 37, 38, 39 (0x07)
Own address type: Random (0x01)
Peer address type: Public (0x00)
Peer address: 00:00:00:00:00:00 (OUI 00-00-00)
Filter policy: Allow Scan Request from Any, Allow Connect Request from Any (0x00)
TX power: 127 dbm (0x7f)
Primary PHY: LE 1M (0x01)
Secondary max skip: 0x00
Secondary PHY: LE 1M (0x01)
SID: 0x00
Scan request notifications: Disabled (0x00)
> HCI Event: Command Complete (0x0e) plen 5 #42 [hci0] 5.406927
LE Set Extended Advertising Parameters (0x08|0x0036) ncmd 1
Status: Success (0x00)
TX power (selected): 0 dbm (0x00)
< HCI Command: LE Set Advertising S.. (0x08|0x0035) plen 7 #43 [hci0] 5.407011
Advertising handle: 0x00
Advertising random address: 24:10:1D:26:A6:C0 (OUI 24-10-1D)
> HCI Event: Command Complete (0x0e) plen 4 #44 [hci0] 5.407909
LE Set Advertising Set Random Address (0x08|0x0035) ncmd 1
Status: Success (0x00)
< HCI Command: LE Set Extended Sca.. (0x08|0x0038) plen 35 #45 [hci0] 5.407977
Handle: 0x00
Operation: Complete scan response data (0x03)
Fragment preference: Minimize fragmentation (0x01)
Data length: 0x0d
Name (short): raspberryp
> HCI Event: Command Complete (0x0e) plen 4 #46 [hci0] 5.409911
LE Set Extended Scan Response Data (0x08|0x0038) ncmd 1
Status: Invalid HCI Command Parameters (0x12)
< HCI Command: LE Set Extended Adv.. (0x08|0x0037) plen 35 #47 [hci0] 5.409996
Handle: 0x00
Operation: Complete extended advertising data (0x03)
Fragment preference: Minimize fragmentation (0x01)
Data length: 0x06
Flags: 0x04
BR/EDR Not Supported
TX power: 0 dBm
@ MGMT Event: New Settings (0x0006) plen 4 {0x0001} [hci0] 5.410056
Current settings: 0x00008a11
Powered
Bondable
Low Energy
Secure Connections
Static Address
@ MGMT Event: New Settings (0x0006) plen 4 {0x0002} [hci0] 5.410056
Current settings: 0x00008a11
Powered
Bondable
Low Energy
Secure Connections
Static Address
@ RAW Close: hciconfig {0x0003} 5.410926
> HCI Event: Command Complete (0x0e) plen 4 #48 [hci0] 5.411952
LE Set Extended Advertising Data (0x08|0x0037) ncmd 1
Status: Success (0x00)
Setting extended scan parameters and enabling it performs a proper Coded PHY scan and following via following command I can succesfully connect the Coded PHY advertising board:
hcitool cmd 0x08 0x0043 0x00 0x01 0x01 0x04 0xBC 0x5C 0xED 0xFA 0xC3 0x04 0x0000 0x0001 0x0000 0x0001 0x0006 0x0000 0x18 0x00 0x00 0x00 0x80 0x0C 0x00 0x00 0x00 0x0047
Output of the command and disconnect:
< HCI Command: LE Extended Creat.. (0x08|0x0043) plen 26 #51 [hci0] 159.726999
Filter policy: White list is not used (0x00)
Own address type: Random (0x01)
Peer address type: Random (0x01)
Peer address: C3:FA:ED:5C:BC:04 (Static)
Initiating PHYs: 0x04
Entry 0: LE Coded
Scan interval: 160.000 msec (0x0100)
Scan window: 160.000 msec (0x0100)
Min connection interval: 7.50 msec (0x0006)
Max connection interval: 30.00 msec (0x0018)
Connection latency: 0 (0x0000)
Supervision timeout: 32000 msec (0x0c80)
Min connection length: 0.000 msec (0x0000)
Max connection length: 11360.000 msec (0x4700)
> HCI Event: Command Status (0x0f) plen 4 #52 [hci0] 159.728566
LE Extended Create Connection (0x08|0x0043) ncmd 1
Status: Success (0x00)
@ RAW Close: hcitool {0x0003} [hci0] 159.729179
> HCI Event: LE Meta Event (0x3e) plen 31 #53 [hci0] 159.851569
LE Enhanced Connection Complete (0x0a)
Status: Success (0x00)
Handle: 0
Role: Master (0x00)
Peer address type: Random (0x01)
Peer address: C3:FA:ED:5C:BC:04 (Static)
Local resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
Peer resolvable private address: 00:00:00:00:00:00 (Non-Resolvable)
Connection interval: 30.00 msec (0x0018)
Connection latency: 0 (0x0000)
Supervision timeout: 32000 msec (0x0c80)
Master clock accuracy: 0x00
@ MGMT Event: Device Connected (0x000b) plen 13 {0x0001} [hci0] 159.851662
LE Address: C3:FA:ED:5C:BC:04 (Static)
Flags: 0x00000000
Data length: 0
@ MGMT Event: Device Connected (0x000b) plen 13 {0x0002} [hci0] 159.851662
LE Address: C3:FA:ED:5C:BC:04 (Static)
Flags: 0x00000000
Data length: 0
< HCI Command: LE Read Remote Use.. (0x08|0x0016) plen 2 #54 [hci0] 159.851942
Handle: 0
> HCI Event: LE Meta Event (0x3e) plen 4 #55 [hci0] 159.852576
LE Channel Selection Algorithm (0x14)
Handle: 0
Algorithm: #2 (0x01)
> HCI Event: Command Status (0x0f) plen 4 #56 [hci0] 159.854577
LE Read Remote Used Features (0x08|0x0016) ncmd 1
Status: Success (0x00)
> HCI Event: LE Meta Event (0x3e) plen 12 #57 [hci0] 159.915586
LE Read Remote Used Features (0x04)
Status: Success (0x00)
Handle: 0
Features: 0x25 0x41 0x00 0x00 0x00 0x00 0x00 0x00
LE Encryption
Extended Reject Indication
LE Data Packet Length Extension
LE 2M PHY
Channel Selection Algorithm #2
= bluetoothd: No cache for C3:FA:ED:5C:BC:04 159.918535
< ACL Data TX: Handle 0 flags 0x00 dlen 7 #58 [hci0] 159.916965
ATT: Exchange MTU Request (0x02) len 2
Client RX MTU: 517
> HCI Event: Number of Completed Packets (0x13) plen 5 #59 [hci0] 159.975580
Num handles: 1
Handle: 0
Count: 1
< HCI Command: Disconnect (0x01|0x0006) plen 3 #60 [hci0] 192.021591
Handle: 0
Reason: Remote User Terminated Connection (0x13)
> HCI Event: Command Status (0x0f) plen 4 #61 [hci0] 192.022492
Disconnect (0x01|0x0006) ncmd 1
Status: Success (0x00)
> HCI Event: Disconnect Complete (0x05) plen 4 #62 [hci0] 192.073487
Status: Success (0x00)
Handle: 0
Reason: Connection Terminated By Local Host (0x16)
@ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0001} [hci0] 192.073540
LE Address: C3:FA:ED:5C:BC:04 (Static)
Reason: Connection terminated by local host (0x02)
@ MGMT Event: Device Disconnected (0x000c) plen 8 {0x0002} [hci0] 192.073540
LE Address: C3:FA:ED:5C:BC:04 (Static)
Reason: Connection terminated by local host (0x02)
The time that pass between connection and disconnect event is approximately 40 seconds but not exact every time.
My connection parameters which passed to controller via host is exactly fits the peripheral's settings.
Any help would be appreciated, thanks in advance.