How does btmon know that type 9 is "Apple TV"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.)

- Thank You
Jake Rue



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux