Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribe on Matter-C2 (UUID = 18EE2EF5-263D-4559-959F-4F9C429F9D12) is not working for a device (Shelly Smart Plug) #18

Open
Apollon77 opened this issue Jan 4, 2025 · 1 comment

Comments

@Apollon77
Copy link

I subscribe to C2 and when I interpret the data right it also receves data but the event is not triggered in this case

2025-01-04 17:17:49.038 DEBUG  BleChannel           Connect to Peripheral now (try 1)
  hci create le conn - writing: 010d2019600030000000569994eabf8c000600120000002a0004000600 +9ms
  hci onSocketData: 0111200700569994eabf8c +460ms
  hci 	event type = 1 +1ms
  hci 		cmd = 8209 +0ms
  hci 		data len = 7 +0ms
  hci onSocketData: 040e0401112000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8209 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 010b200700600060000001 +1ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8203 +0ms
  hci 		data len = 7 +0ms
  hci onSocketData: 040e04010b2000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8203 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +1ms
  noble scanParametersSet +472ms
  hci onSocketData: 010c20020101 +0ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8204 +0ms
  hci 		data len = 2 +0ms
  hci 			LE enable scan command +0ms
  hci 			enable scanning = true +0ms
  hci 			filter duplicates = true +0ms
  noble scanStart +1ms
  hci onSocketData: 040e04010c2000 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8204 +0ms
  hci 		status = 0 +1ms
  hci 		result =  +0ms
  hci onSocketData: 043e1b02010000569994eabf8c0f0201060b16f6ff0054019014010000bf +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 2 +0ms
  hci 		LE meta event data length = 27 +0ms
  hci 		LE meta event num reports = 1 +0ms
  hci 		LE meta event data = 0000569994eabf8c0f0201060b16f6ff0054019014010000bf +0ms
  hci 			type = 0 +0ms
  hci 			address = 8c:bf:ea:94:99:56 +1ms
  hci 			address type = public +0ms
  hci 			eir = 0201060b16f6ff0054019014010000 +0ms
  hci 			rssi = -65 +0ms
  hci onSocketData: 010c20020000 +0ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8204 +0ms
  hci 		data len = 2 +0ms
  hci 			LE enable scan command +0ms
  hci 			enable scanning = false +1ms
  hci 			filter duplicates = false +0ms
  hci onSocketData: 040e04010c2000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8204 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 010d2019600060000000569994eabf8c001800280000002a0000000000 +0ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8205 +1ms
  hci 		data len = 25 +0ms
  hci onSocketData: 040f0400010d20 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 15 +0ms
  hci 		status = 0 +0ms
  hci 		cmd = 8205 +0ms
  hci onSocketData: 043e13010040000000569994eabf8c270000002a0000 +0ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 1 +0ms
  hci 		LE meta event data length = 19 +0ms
  hci 		LE meta event num reports = 0 +0ms
  hci 		LE meta event data = 40000000569994eabf8c270000002a0000 +0ms
  hci 			handle = 64 +1ms
  hci 			role = 0 +0ms
  hci 			address type = public +0ms
  hci 			address = 8c:bf:ea:94:99:56 +0ms
  hci 			interval = 48.75 +0ms
  hci 			latency = 0 +0ms
  hci 			supervision timeout = 420 +0ms
  hci 			master clock accuracy = 0 +0ms
  att 8c:bf:ea:94:99:56: write: 020001 +0ms
  hci push to acl queue: 024000070003000400020001 +6ms
  hci flush - pending: 0 queue length: 1 +1ms
  hci write acl data packet - writing: 024000070003000400020001 +0ms
  hci onSocketData: 011620024000 +0ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8214 +0ms
  hci 		data len = 2 +0ms
  hci onSocketData: 040f0400011620 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 15 +0ms
  hci 		status = 0 +0ms
  hci 		cmd = 8214 +0ms
  hci onSocketData: 02402007000300040002f401 +0ms
  hci 	event type = 2 +1ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 02f401 +0ms
  att 8c:bf:ea:94:99:56: replying to MTU request +6ms
  att 8c:bf:ea:94:99:56: write: 030001 +0ms
  hci push to acl queue: 024000070003000400030001 +1ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 024000070003000400030001 +1ms
  hci onSocketData: 043e0c040040003f00000000000000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 4 +0ms
  hci 		LE meta event data length = 12 +0ms
  hci 		LE meta event num reports = 0 +0ms
  hci 		LE meta event data = 40003f00000000000000 +0ms
  hci onSocketData: 02402007000300040003f401 +78ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 03f401 +1ms
  att 8c:bf:ea:94:99:56: read: 03f401 +80ms
  att 8c:bf:ea:94:99:56: new MTU is 500 +0ms
  att 8c:bf:ea:94:99:56: write: 100100ffff0028 +1ms
  hci push to acl queue: 0240000b0007000400100100ffff0028 +1ms
  hci flush - pending: 2 queue length: 1 +1ms
  hci write acl data packet - writing: 0240000b0007000400100100ffff0028 +0ms
  hci onSocketData: 0413050140000200 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +1ms
  hci 		completed = 2 +0ms
  hci flush - pending: 1 queue length: 0 +0ms
  hci onSocketData: 02402012000e000400110601000600f6ff07000b000018 +93ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 110601000600f6ff07000b000018 +0ms
  att 8c:bf:ea:94:99:56: read: 110601000600f6ff07000b000018 +96ms
  att 8c:bf:ea:94:99:56: write: 100c00ffff0028 +1ms
  hci push to acl queue: 0240000b0007000400100c00ffff0028 +2ms
  hci flush - pending: 1 queue length: 1 +1ms
  hci write acl data packet - writing: 0240000b0007000400100c00ffff0028 +0ms
  hci onSocketData: 0413050140000200 +46ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +1ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 0240201a001600040011140c00ffff5f44495f4356535f4350525f534f6d5f +47ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +1ms
  hci 		handle = 64 +0ms
  hci 		data = 11140c00ffff5f44495f4356535f4350525f534f6d5f +0ms
  att 8c:bf:ea:94:99:56: read: 11140c00ffff5f44495f4356535f4350525f534f6d5f +96ms
2025-01-04 17:17:49.796 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Found services: fff6
2025-01-04 17:17:49.797 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Handle service: fff6
  att 8c:bf:ea:94:99:56: write: 08010006000328 +7ms
  hci push to acl queue: 0240000b000700040008010006000328 +8ms
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b000700040008010006000328 +0ms
  hci onSocketData: 0240201b002c00040009150200080300119d9f429c4f9f9559453d26f52eee18 +89ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci onSocketData: 02401015000400200500129d9f429c4f9f9559453d26f52eee18 +1ms
  hci 	event type = 2 +0ms
  att 8c:bf:ea:94:99:56: read: 09150200080300119d9f429c4f9f9559453d26f52eee180400200500129d9f429c4f9f9559453d26f52eee18 +93ms
  att 8c:bf:ea:94:99:56: write: 08060006000328 +1ms
  hci push to acl queue: 0240000b000700040008060006000328 +4ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b000700040008060006000328 +0ms
  hci onSocketData: 0413050140000200 +47ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 024020090005000400010806000a +44ms
  hci 	event type = 2 +1ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 010806000a +0ms
  att 8c:bf:ea:94:99:56: read: 010806000a +94ms
2025-01-04 17:17:49.991 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Handle characteristic: 18ee2ef5263d4559959f4f9c429f9d11 write
2025-01-04 17:17:49.993 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Found C1 characteristic
2025-01-04 17:17:49.993 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Handle characteristic: 18ee2ef5263d4559959f4f9c429f9d12 indicate
2025-01-04 17:17:49.994 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Found C2 characteristic
2025-01-04 17:17:49.996 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Using MTU=244 bytes (Peripheral supports up to 500 bytes)
2025-01-04 17:17:49.999 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Sending BTP handshake request: "656c04000000f400ff"
  att 8c:bf:ea:94:99:56: write: 120300656c04000000f400ff +12ms
  hci push to acl queue: 02400010000c000400120300656c04000000f400ff +13ms
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 02400010000c000400120300656c04000000f400ff +0ms
  hci onSocketData: 02402005000100040013 +84ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 13 +0ms
  att 8c:bf:ea:94:99:56: read: 13 +85ms
2025-01-04 17:17:50.087 DEBUG  BleChannel           Peripheral 8c:bf:ea:94:99:56: Subscribing to C2 characteristic
  att 8c:bf:ea:94:99:56: write: 08040006000229 +4ms
  hci push to acl queue: 0240000b000700040008040006000229 +4ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b000700040008040006000229 +1ms
  hci onSocketData: 0413050140000200 +44ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 0240200a0006000400090406000000 +48ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +1ms
  hci 		data = 090406000000 +0ms
  att 8c:bf:ea:94:99:56: read: 090406000000 +94ms
  att 8c:bf:ea:94:99:56: write: 1206000200 +1ms
  hci push to acl queue: 0240000900050004001206000200 +1ms
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000900050004001206000200 +1ms
2025-01-04 17:17:50.305 DEBUG  MdnsScanner          Sending 2 query records for 1 queries with 0 known answers. Re-Announce in 6 seconds
  hci onSocketData: 0240200d00090004001d0500656c04f10006 +143ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +1ms
  hci 		handle = 64 +0ms
  hci 		data = 1d0500656c04f10006 +0ms
  hci onSocketData: 02402005000100040013 +1ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 13 +0ms
  att 8c:bf:ea:94:99:56: read: 13 +146ms
  att 8c:bf:ea:94:99:56: write: 1e +1ms
  hci push to acl queue: 0240000500010004001e +2ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000500010004001e +0ms
  hci onSocketData: 0413050140000200 +45ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  att 8c:bf:ea:94:99:56: write: 08040006000229 +5s
  hci push to acl queue: 0240000b000700040008040006000229 +5s
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b000700040008040006000229 +0ms
  hci onSocketData: 0240200a0006000400090406000200 +58ms
  hci 	event type = 2 +1ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 090406000200 +0ms
  att 8c:bf:ea:94:99:56: read: 090406000200 +60ms
  att 8c:bf:ea:94:99:56: write: 1206000000 +1ms
  hci push to acl queue: 0240000900050004001206000000 +1ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000900050004001206000000 +1ms
  hci onSocketData: 0413050140000100 +87ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 1 +0ms
  hci flush - pending: 1 queue length: 0 +0ms
  hci onSocketData: 0413050140000100 +250ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 1 +0ms
  hci flush - pending: 0 queue length: 0 +1ms
  hci onSocketData: 04050400400013 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 5 +0ms
  hci 		handle = 64 +0ms
  hci 		reason = 19 +0ms
  hci flush - pending: 0 queue length: 0 +1ms

Directly after subscribing data come in the look like the response:

hci onSocketData: 0240200d00090004001d0500656c04f10006 +143ms

(Matter has 656c as kind of prefix and a length of 6 bytes .. this would match to the received data here. But I do not get any callback on the subscribe).

@Apollon77
Copy link
Author

In comparism here the same log part from a device where it works (a Sonoff Matter relay). Maybe you see the reason?

2025-01-04 19:43:07.452 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Connect to Peripheral now (try 1)
  hci create le conn - writing: 010d20196000300000018effb864b2ed000600120000002a0004000600 +10ms
  hci onSocketData: 01112007018effb864b2ed +2s
  hci 	event type = 1 +0ms
  hci 		cmd = 8209 +0ms
  hci 		data len = 7 +1ms
  hci onSocketData: 040e0401112000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8209 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 010b200700600060000001 +0ms
  hci 	event type = 1 +1ms
  hci 		cmd = 8203 +0ms
  hci 		data len = 7 +0ms
  hci onSocketData: 040e04010b2000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8203 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  noble scanParametersSet +2s
  hci onSocketData: 010c20020101 +1ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8204 +0ms
  hci 		data len = 2 +0ms
  hci 			LE enable scan command +0ms
  hci 			enable scanning = true +0ms
  hci 			filter duplicates = true +0ms
  noble scanStart +1ms
  hci onSocketData: 040e04010c2000 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8204 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +1ms
  hci onSocketData: 043e2b020100018effb864b2ed1f0201060b16f6ff00280821130200010e08636b5f3130303231393332323900cc +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 2 +0ms
  hci 		LE meta event data length = 43 +0ms
  hci 		LE meta event num reports = 1 +0ms
  hci 		LE meta event data = 00018effb864b2ed1f0201060b16f6ff00280821130200010e08636b5f3130303231393332323900cc +0ms
  hci 			type = 0 +0ms
  hci 			address = ed:b2:64:b8:ff:8e +1ms
  hci 			address type = random +0ms
  hci 			eir = 0201060b16f6ff00280821130200010e08636b5f3130303231393332323900 +0ms
  hci 			rssi = -52 +0ms
  hci onSocketData: 010c20020000 +0ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8204 +0ms
  hci 		data len = 2 +0ms
  hci 			LE enable scan command +1ms
  hci 			enable scanning = false +0ms
  hci 			filter duplicates = false +0ms
  hci onSocketData: 040e04010c2000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 14 +0ms
  hci 		cmd = 8204 +0ms
  hci 		status = 0 +0ms
  hci 		result =  +0ms
  hci onSocketData: 010d20196000600000018effb864b2ed001800280000002a0000000000 +1ms
  hci 	event type = 1 +0ms
  hci 		cmd = 8205 +0ms
  hci 		data len = 25 +0ms
  hci onSocketData: 040f0400010d20 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 15 +0ms
  hci 		status = 0 +0ms
  hci 		cmd = 8205 +0ms
  hci onSocketData: 043e130100400000018effb864b2ed270000002a0000 +1ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 1 +0ms
  hci 		LE meta event data length = 19 +0ms
  hci 		LE meta event num reports = 0 +0ms
  hci 		LE meta event data = 400000018effb864b2ed270000002a0000 +0ms
  hci 			handle = 64 +1ms
  hci 			role = 0 +0ms
  hci 			address type = random +0ms
  hci 			address = ed:b2:64:b8:ff:8e +0ms
  hci 			interval = 48.75 +0ms
  hci 			latency = 0 +1ms
  hci 			supervision timeout = 420 +0ms
  hci 			master clock accuracy = 0 +0ms
  att ed:b2:64:b8:ff:8e: write: 020001 +0ms
  hci push to acl queue: 024000070003000400020001 +5ms
  hci flush - pending: 0 queue length: 1 +1ms
  hci write acl data packet - writing: 024000070003000400020001 +0ms
  hci onSocketData: 011620024000 +0ms
  hci 	event type = 1 +1ms
  hci 		cmd = 8214 +0ms
  hci 		data len = 2 +0ms
  hci onSocketData: 040f0400011620 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 15 +0ms
  hci 		status = 0 +0ms
  hci 		cmd = 8214 +0ms
  hci onSocketData: 043e0c040040003f00000000000000 +0ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 62 +0ms
  hci 		LE meta event type = 4 +0ms
  hci 		LE meta event data length = 12 +1ms
  hci 		LE meta event num reports = 0 +0ms
  hci 		LE meta event data = 40003f00000000000000 +0ms
2025-01-04 19:43:09.123 DEBUG  MdnsScanner          Sending 2 query records for 1 queries with 0 known answers. Re-Announce in 3 seconds
  hci onSocketData: 024020070003000400030001 +78ms
  hci 	event type = 2 +1ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 030001 +0ms
  att ed:b2:64:b8:ff:8e: read: 030001 +87ms
  att ed:b2:64:b8:ff:8e: new MTU is 256 +0ms
  att ed:b2:64:b8:ff:8e: write: 100100ffff0028 +1ms
  hci push to acl queue: 0240000b0007000400100100ffff0028 +5ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b0007000400100100ffff0028 +0ms
  hci onSocketData: 0413050140000200 +43ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +1ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 0240201b001a00040011060100050000180600090001180a001400ff001500ff +48ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci onSocketData: 0240100300fff6ff +1ms
  hci 	event type = 2 +0ms
  att ed:b2:64:b8:ff:8e: read: 11060100050000180600090001180a001400ff001500fffff6ff +96ms
2025-01-04 19:43:09.304 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Found services: fff6
2025-01-04 19:43:09.305 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Handle service: fff6
  att ed:b2:64:b8:ff:8e: write: 081500ffff0328 +7ms
  hci push to acl queue: 0240000b0007000400081500ffff0328 +9ms
  hci flush - pending: 0 queue length: 1 +1ms
  hci write acl data packet - writing: 0240000b0007000400081500ffff0328 +0ms
  hci onSocketData: 0240201b004100040009151600081700119d9f429c4f9f9559453d26f52eee18 +86ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +1ms
  hci onSocketData: 0240101b001800221900129d9f429c4f9f9559453d26f52eee181b00021c0004 +0ms
  hci 	event type = 2 +0ms
  hci onSocketData: 0240100f008f21838a747db8f245728738026364 +1ms
  hci 	event type = 2 +0ms
  att ed:b2:64:b8:ff:8e: read: 09151600081700119d9f429c4f9f9559453d26f52eee181800221900129d9f429c4f9f9559453d26f52eee181b00021c00048f21838a747db8f245728738026364 +89ms
  att ed:b2:64:b8:ff:8e: write: 081d00ffff0328 +2ms
  hci push to acl queue: 0240000b0007000400081d00ffff0328 +4ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b0007000400081d00ffff0328 +0ms
  hci onSocketData: 0413050140000200 +43ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +1ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 02402009000500040001081d000a +96ms
  hci 	event type = 2 +1ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 01081d000a +0ms
  att ed:b2:64:b8:ff:8e: read: 01081d000a +143ms
2025-01-04 19:43:09.545 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Handle characteristic: 18ee2ef5263d4559959f4f9c429f9d11 write
2025-01-04 19:43:09.547 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Found C1 characteristic
2025-01-04 19:43:09.548 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Handle characteristic: 18ee2ef5263d4559959f4f9c429f9d12 read indicate
2025-01-04 19:43:09.549 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Found C2 characteristic
2025-01-04 19:43:09.549 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Handle characteristic: 64630238877245f2b87d748a83218f04 read
2025-01-04 19:43:09.550 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Found C3 characteristic
2025-01-04 19:43:09.550 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Reading additional commissioning related data
  att ed:b2:64:b8:ff:8e: write: 0a1c00 +9ms
  hci push to acl queue: 0240000700030004000a1c00 +10ms
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000700030004000a1c00 +0ms
  hci onSocketData: 0240201b00180004000b153000120400dcc7eb29d4634c6813e1856ffcfd6b1c +87ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci onSocketData: 024010010018 +1ms
  hci 	event type = 2 +0ms
  att ed:b2:64:b8:ff:8e: read: 0b153000120400dcc7eb29d4634c6813e1856ffcfd6b1c18 +89ms
2025-01-04 19:43:09.642 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Additional data: 153000120400dcc7eb29d4634c6813e1856ffcfd6b1c18
2025-01-04 19:43:09.645 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Using MTU=244 bytes (Peripheral supports up to 256 bytes)
2025-01-04 19:43:09.647 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Sending BTP handshake request: "656c04000000f400ff"
  att ed:b2:64:b8:ff:8e: write: 121700656c04000000f400ff +9ms
  hci push to acl queue: 02400010000c000400121700656c04000000f400ff +9ms
  hci flush - pending: 1 queue length: 1 +0ms
  hci write acl data packet - writing: 02400010000c000400121700656c04000000f400ff +0ms
  hci onSocketData: 0413050140000200 +39ms
  hci 	event type = 4 +0ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +1ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 02402005000100040013 +47ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +1ms
  hci 		handle = 64 +0ms
  hci 		data = 13 +0ms
  att ed:b2:64:b8:ff:8e: read: 13 +88ms
2025-01-04 19:43:09.738 DEBUG  BleChannel           Peripheral ed:b2:64:b8:ff:8e: Subscribing to C2 characteristic
  att ed:b2:64:b8:ff:8e: write: 0818001a000229 +3ms
  hci push to acl queue: 0240000b00070004000818001a000229 +4ms
  hci flush - pending: 0 queue length: 1 +0ms
  hci write acl data packet - writing: 0240000b00070004000818001a000229 +0ms
  hci onSocketData: 0240200a000600040009041a000000 +93ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +1ms
  hci 		data = 09041a000000 +0ms
  att ed:b2:64:b8:ff:8e: read: 09041a000000 +95ms
  att ed:b2:64:b8:ff:8e: write: 121a000200 +1ms
  hci push to acl queue: 024000090005000400121a000200 +1ms
  hci flush - pending: 1 queue length: 1 +1ms
  hci write acl data packet - writing: 024000090005000400121a000200 +0ms
  hci onSocketData: 0413050140000200 +94ms
  hci 	event type = 4 +1ms
  hci 	sub event type = 19 +0ms
  hci 	handle = 64 +0ms
  hci 		completed = 2 +0ms
  hci flush - pending: 0 queue length: 0 +0ms
  hci onSocketData: 02402005000100040013 +48ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +1ms
  hci 		data = 13 +0ms
  att ed:b2:64:b8:ff:8e: read: 13 +145ms
  hci onSocketData: 0240200d00090004001d1900656c04f10005 +2ms
  hci 	event type = 2 +0ms
  hci 		cid = 4 +0ms
  hci 		handle = 64 +0ms
  hci 		data = 1d1900656c04f10005 +1ms
  att ed:b2:64:b8:ff:8e: write: 1e +4ms
2025-01-04 19:43:09.986 INFO   BleChannel           Peripheral ed:b2:64:b8:ff:8e: Received Matter handshake response: 656c04f10005.
  hci push to acl queue: 0240000500010004001e +4ms
  hci flush - pending: 0 queue length: 1 +0ms
2025-01-04 19:43:09.989 DEBUG  BtpSessionHandler    Handshake request version: 4 attMtu: 241 windowSize: 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants