takawata / FreeBSD-BLE

17 stars 9 forks source link

question about read_neighbor_cache #5

Open sparvu opened 4 years ago

sparvu commented 4 years ago

I am experimenting more with FBSd 12.1 and BLE. I have a question about: hccontrol read_neighbor_cache command.

If I run this I can see from my system the following devices around:

root@generic:/home/freebsd/FreeBSD-BLE/le_enable # hccontrol read_neighbor_cache
T BD_ADDR           Features                Clock offset Page scan Rep. scan
R cc:6a:49:a8:23:bb 00 00 00 00 00 00 00 00            0      0xac         0
NDflag:6
Type17:ff 99 04 03 
NDflag:4b

P e0:7d:ea:07:1c:c7 00 00 00 00 00 00 00 00            0      0xd0         0
NDflag:6
Type17:06 ba 5c f7 
Type59:12 d3 89 e4 11 e7 ad 08 1c 2e b4 09 ff 34 03 58 94 a4 ae 08 00 

R ff:89:69:67:89:c9 00 00 00 00 00 00 00 00            0      0xcb         0
NDflag:6
Type17:ff 99 04 03 
Type21:61 c0 cf 00 11 ff fa 04 00 0c 67 

P a4:da:32:46:cd:31 00 00 00 00 00 00 00 00            0      0xaf         0
NDflag:6
Type17:06 ba 5c f7 
Type59:12 d3 89 e4 11 e7 ad 08 1c 2e b4 09 ff 34 03 00 96 a4 ae 08 00 

R 54:f8:bc:1e:12:40 00 00 00 00 00 00 00 00            0      0xc0         0
NDflag:1a
Type2:0a 0c 0b ff 4c 00 10 06 13 1e 16 cc 73 f2 

P dc:56:e7:38:d6:35 00 00 00 00 00 00 00 00            0      0xb9         0
NDflag:1a
Type2:0a 0c 0a ff 4c 00 10 05 01 14 0c c9 79 

P 80:6f:b0:38:f4:5d 00 00 00 00 00 00 00 00            0      0xa6         0
NDflag:6
Type17:06 ba 5c f7 
Type59:12 d3 89 e4 11 e7 ad 08 1c 2e b4 09 ff 34 03 9f c1 a4 ae 08 00 

R 44:b5:3a:d1:32:f6 00 00 00 00 00 00 00 00            0      0xc7         0
NDflag:1a
Type2:0a 0c 0a ff 4c 00 10 05 47 1c ac d3 09 

R 4e:38:e8:61:67:e4 00 00 00 00 00 00 00 00            0      0xc4         0
NDflag:6
Type19:ff 4c 00 0c 
Type8:9b b1 f9 9a e2 e3 2e f2 6f b8 a2 6a 

R 24:a1:4a:9b:6c:81 00 00 00 00 00 00 00 00            0      0xb9         0
NDflag:1b
Type11:ff 4c 00 09 06 03 07 c0 a8 01 6f 

P f4:5c:89:a6:15:98 00 00 00 00 00 00 00 00            0      0xc1         0
NDflag:6
Type10:ff 4c 00 10 
Type75:1c ed 1b 

Questions:

R cc:6a:49:a8:23:bb 00 00 00 00 00 00 00 00            0      0xac         0
NDflag:6
Type17:ff 99 04 03 
NDflag:4b
T BD_ADDR           Features                Clock offset Page scan Rep. scan
R cc:6a:49:a8:23:bb 00 00 00 00 00 00 00 00            0      0xac         0
NDflag:6
Type17:ff 99 04 03 
NDflag:4b

P e0:7d:ea:07:1c:c7 00 00 00 00 00 00 00 00            0      0xd0         0
NDflag:6
Type17:06 ba 5c f7 
Type59:12 d3 89 e4 11 e7 ad 08 1c 2e b4 09 ff 34 03 58 94 a4 ae 08 00 

R ff:89:69:67:89:c9 00 00 00 00 00 00 00 00            0      0xcb         0
NDflag:6
Type17:ff 99 04 03 
Type21:61 c0 cf 00 11 ff fa 04 00 0c 67 

Thanks a lot for help, pointers. Im trying to build around FBSD BLE support for our K1 product: www.kronometrix.com/k1