informatica:linux:bluetooth
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
informatica:linux:bluetooth [2015/04/13 20:19] – external edit 127.0.0.1 | informatica:linux:bluetooth [2019/07/01 10:44] – jose | ||
---|---|---|---|
Line 326: | Line 326: | ||
obexftp -b $mac -g $directorio/ | obexftp -b $mac -g $directorio/ | ||
</ | </ | ||
+ | |||
+ | ===== beacon ===== | ||
+ | Lanzamos el scan y mientras está el scan el btmon: | ||
+ | hcitool lescan | ||
+ | < | ||
+ | 4A: | ||
+ | 44: | ||
+ | E7: | ||
+ | 42: | ||
+ | 14: | ||
+ | F8: | ||
+ | </ | ||
+ | |||
+ | sudo btmon | ||
+ | < | ||
+ | > HCI Event: LE Meta Event (0x3e) plen 42 [hci0] 662.852030 | ||
+ | LE Advertising Report (0x02) | ||
+ | Num reports: 1 | ||
+ | Event type: Connectable undirected - ADV_IND (0x00) | ||
+ | Address type: Random (0x01) | ||
+ | Address: E7: | ||
+ | Data length: 30 | ||
+ | Flags: 0x06 | ||
+ | LE General Discoverable Mode | ||
+ | BR/EDR Not Supported | ||
+ | Company: Apple, Inc. (76) | ||
+ | Type: iBeacon (2) | ||
+ | UUID: 25786407-ebc6-cfaf-b14f-e2a49306a5fd | ||
+ | Version: 256.512 | ||
+ | TX power: -40 dB | ||
+ | RSSI: -61 dBm (0xc3) | ||
+ | </ | ||
+ | |||
+ | Para buscar dispositivos que también nos sirve para ver la señal: | ||
+ | sudo btmgmt find | ||
+ | < | ||
+ | Discovery started | ||
+ | hci0 type 7 discovering on | ||
+ | hci0 dev_found: 67: | ||
+ | AD flags 0x1a | ||
+ | eir_len 30 | ||
+ | hci0 dev_found: 73: | ||
+ | AD flags 0x1a | ||
+ | eir_len 30 | ||
+ | hci0 dev_found: 72: | ||
+ | AD flags 0x00 | ||
+ | eir_len 31 | ||
+ | hci0 dev_found: 0F: | ||
+ | AD flags 0x00 | ||
+ | eir_len 31 | ||
+ | hci0 dev_found: 28: | ||
+ | AD flags 0x19 | ||
+ | eir_len 25 | ||
+ | hci0 dev_found: 49: | ||
+ | </ | ||
+ | | ||
+ |
informatica/linux/bluetooth.txt · Last modified: 2023/01/27 22:05 by javi