Hi Jake, On Fri, Sep 16, 2022 at 1:15 PM Jake Rue <jakerue222@xxxxxxxxx> wrote: > > In an advertisement like this: > > > HCI Event: LE Meta Event (0x3e) plen 27 #86 [hci0] 44.156857 > LE Advertising Report (0x02) > Num reports: 1 > Event type: Non connectable undirected - ADV_NONCONN_IND (0x03) > Address type: Random (0x01) > Address: 0D:07:B9:9A:33:0F (Non-Resolvable) > Data length: 15 > Flags: 0x1a > LE General Discoverable Mode > Simultaneous LE and BR/EDR (Controller) > Simultaneous LE and BR/EDR (Host) > Company: Apple, Inc. (76) > Type: Apple TV (9) > Data: 0376c0a801f5 > RSSI: -80 dBm (0xb0) > > Where does the mapping of Type 9 to "Apple TV" come from in the code? > When I search the bluez github repository for "Apple TV" > (https://github.com/bluez/bluez/search?q=%22Apple+TV%22), I don't get > any hits. (In contrast I can find the switch statement that encodes 76 > == "Apple, Inc." fine.) I'd like to see what table encodes that > information so I can use it in my code as well (and what all it knows > about other types.) git grep "Apple TV" monitor/packet.c: str = "Apple TV"; -- Luiz Augusto von Dentz