raspberry pi BLE test

Embeded : 2020. 11. 20. 17:05

pi@raspberrypi:~ $ hciconfig
hci0:   Type: Primary  Bus: UART
        BD Address: DC:A6:32:1B:77:A1  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN
        RX bytes:262620421 acl:446292 sco:0 events:558 errors:0
        TX bytes:11747 acl:305 sco:0 commands:148 errors:0

pi@raspberrypi:~ $ sudo hciconfig hci0 up 

pi@raspberrypi:~ $ hcitool dev
Devices:
        hci0    DC:A6:32:1B:77:A1

pi@raspberrypi:~ $ hcitool lescan
Set scan parameters failed: Operation not permitted

pi@raspberrypi:~ $ sudo hcitool lescan
LE Scan ...
7D:1B:0B:6A:05:63 (unknown)
7D:1B:0B:6A:05:63 (unknown)
6A:E7:D6:09:08:99 (unknown)
49:FD:47:DE:FF:B1 (unknown)
49:FD:47:DE:FF:B1 (unknown)
EC:55:4A:7C:64:8F (unknown)
44:23:7C:32:A0:0F (unknown)
44:23:7C:32:A0:0F (unknown)
04:CF:8C:24:88:1D (unknown)
04:CF:8C:24:88:1D Qingping Bluetooth Gateway
E0:1F:64:B1:49:0B (unknown)
E0:1F:64:B1:49:0B Amazfit Bip Watch
50:EC:50:8B:E3:B8 (unknown)
50:EC:50:8B:E3:B8 Qingping Bluetooth Gateway
2E:08:6B:35:2A:28 (unknown)
4E:ED:0B:FF:93:97 (unknown)
5A:16:D6:9E:41:39 (unknown)
65:43:57:FC:2C:34 Lio

pi@raspberrypi:~ $ sudo hcitool leinfo 65:43:57:FC:2C:34
Requesting information ...
Could not create connection: Input/output error

pi@raspberrypi:~ $ sudo hcitool leinfo 65:43:57:FC:2C:34
Requesting information ...
Could not create connection: Input/output error

pi@raspberrypi:~ $ gatttool -I -b 65:43:57:FC:2C:34
[65:43:57:FC:2C:34][LE]> connect
Attempting to connect to 65:43:57:FC:2C:34
[65:43:57:FC:2C:34][LE]>

Posted by Real_G

댓글을 달아 주세요