This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Error/Disconnection anytime Event Length is set to greater than 3

We are seeing an LMP PDU error when connecting to a Nexus 6p with Oreo (8.0.0) when connecting to an nRF52832 utilizing SDK 14.2 and either s132 vs 5.0 or 5.1 anytime NRF_SDH_BLE_GAP_EVENT_LENGTH is set to greater than 3.   All of our other test devices (iOS and Android) seem to operate fine. The wireshark capture below was generated by building ble blinky app with an NRF_SDH_BLE_GAP_EVENT_LENGTH=5.  It seems like the reguest/responses get jumbled and ultimately and LL_REJECT_IND is received and sometime later the device disconnects.  The disconnect reason reported by the softdevice is 0x22  BLE_HCI_STATUS_CODE_LMP_RESPONSE_TIMEOUT.  Any ideas on how to prevent would be appreciated.

event_length_5_.pcapng

No.	Time	Source	Destination	Protocol	Length	Info
2226	31.217452	7f:dd:dc:44:f2:6e	c2:54:95:25:c3:a2	LE LL	60	CONNECT_REQ
2228	31.229951	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	33	Rcvd Exchange MTU Request, Client Rx MTU: 247
2229	31.235385	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	35	Control Opcode: LL_FEATURE_REQ
2230	31.240706	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	35	Control Opcode: LL_FEATURE_REQ
2231	31.247712	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	33	Rcvd Exchange MTU Request, Client Rx MTU: 247
2234	31.369294	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	35	Control Opcode: LL_LENGTH_REQ
2235	31.374525	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	33	Sent Exchange MTU Response, Server Rx MTU: 247
2236	31.381378	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	33	Sent Exchange MTU Response, Server Rx MTU: 247
2238	31.391684	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Group Type Request, GATT Primary Service Declaration, Handles: 0x0001..0xffff
2239	31.399118	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Group Type Request, GATT Primary Service Declaration, Handles: 0x0001..0xffff
2240	31.404095	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	35	Control Opcode: LL_FEATURE_RSP
2241	31.512094	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	28	Control Opcode: LL_REJECT_IND
2242	31.518606	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	44	Rcvd Read By Group Type Response, Attribute List Length: 2, Generic Access Profile, Generic Attribute Profile
2243	31.526132	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	38	Control Opcode: LL_CONNECTION_UPDATE_REQ
2244	31.536596	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	28	Control Opcode: LL_UNKNOWN_RSP
2245	31.547906	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Group Type Request, GATT Primary Service Declaration, Handles: 0x000b..0xffff
2248	31.571161	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	52	Rcvd Read By Group Type Response, Attribute List Length: 1, Unknown
2249	31.678029	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Include Declaration, Handles: 0x0001..0x0009
2252	31.693557	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x0001 (Generic Access Profile)
2253	31.801383	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Characteristic Declaration, Handles: 0x0001..0x0009
2256	31.827217	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	53	L2CAP Fragment Start
2258	31.84577	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	33	Rcvd Read By Type Response, Attribute List Length: 4, Device Name, Appearance, Peripheral Preferred Connection Parameters, Central Address Resolution
2259	31.854798	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Characteristic Declaration, Handles: 0x0009..0x0009
2261	31.875728	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	35	Control Opcode: LL_FEATURE_REQ
2262	31.885003	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x0009 (Generic Access Profile: Central Address Resolution)
2263	31.892664	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Include Declaration, Handles: 0x000a..0x000a
2264	31.907794	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	35	Control Opcode: LL_FEATURE_RSP
2265	31.918591	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	32	Control Opcode: LL_VERSION_IND
2266	31.926263	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x000a (Generic Attribute Profile)
2267	31.935445	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Characteristic Declaration, Handles: 0x000a..0x000a
2268	31.947126	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	32	Control Opcode: LL_VERSION_IND
2269	31.9565	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	35	Control Opcode: LL_LENGTH_REQ
2270	31.967623	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x000a (Generic Attribute Profile)
2271	31.979654	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Include Declaration, Handles: 0x000b..0xffff
2272	31.988681	Slave_0xaf9a8211	Master_0xaf9a8211	LE LL	35	Control Opcode: LL_LENGTH_RSP
2274	32.039726	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x000b (Unknown)
2275	32.065517	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Characteristic Declaration, Handles: 0x000b..0xffff
2278	32.117407	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	63	Rcvd Read By Type Response, Attribute List Length: 1, Unknown[Malformed Packet]
2279	32.123221	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	37	Sent Read By Type Request, GATT Characteristic Declaration, Handles: 0x0010..0xffff
2282	32.151475	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x0010 (Unknown: Unknown: Unknown)
2283	32.158979	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	35	Sent Find Information Request, Handles: 0x000e..0x000e
2286	32.192564	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	36	Rcvd Find Information Response, Handle: 0x000e (Unknown: Unknown: Client Characteristic Configuration)
2287	32.203034	Master_0xaf9a8211	Slave_0xaf9a8211	ATT	35	Sent Find Information Request, Handles: 0x0011..0xffff
2290	32.225098	Slave_0xaf9a8211	Master_0xaf9a8211	ATT	35	Rcvd Error Response - Attribute Not Found, Handle: 0x0011 (Unknown: Unknown: Unknown)
2291	32.233231	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	38	Control Opcode: LL_CONNECTION_UPDATE_REQ
2427	35.122447	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	34	Control Opcode: LL_CHANNEL_MAP_REQ
3082	51.236355	Slave_0xaf9a8211	Master_0xaf9a8211	L2CAP	42	Connection Parameter Update Request
3083	51.242261	Master_0xaf9a8211	Slave_0xaf9a8211	LE LL	38	Control Opcode: LL_CONNECTION_UPDATE_REQ
3085	51.356132	Master_0xaf9a8211	Slave_0xaf9a8211	L2CAP	36	Connection Parameter Update Response (Accepted)

Related