tree: 0ca2516775687b3af1ad2466f598244aba7dd3e6 [path history] [tgz]
  1. att/
  2. cobalt/
  3. common/
  4. fidl/
  5. gap/
  6. gatt/
  7. hci/
  8. l2cap/
  9. sco/
  10. sdp/
  11. sm/
  12. socket/
  13. testing/
  14. .clang-tidy
  15. bt_host.bind
  16. BUILD.gn
  17. driver.cc
  18. gatt_host.cc
  19. gatt_host.h
  20. gatt_host_unittest.cc
  21. gatt_remote_service_device.cc
  22. gatt_remote_service_device.h
  23. host.cc
  24. host.h
  25. host_device.cc
  26. host_device.h
  27. README.md
  28. tests.json
src/connectivity/bluetooth/core/bt-host/README.md

bt-host

Test

$ fx test bt-host-unittests

Inspect

bt-host uses the standard driver processes to expose its inspect hierarchy to the Fuchsia system.

Usage

To query the current state of the bt-host Inspect hierarchy through fx tooling, run

fx iquery show-file /dev/diagnostics/class/bt-host/000.inspect

Hierarchy

adapter:
    adapter_id
    hci_version
    bredr_max_num_packets
    bredr_max_data_length
    le_max_num_packets
    le_max_data_length
    lmp_features
    le_features
    l2cap:
        logical_links:
          logical_link_0x0:
            handle
            link_type
            channels:
              channel_0x0:
                local_id
                remote_id
                psm
        services:
          service_0x0:
            psm
    peer_cache:
        peer_0x0:
            peer_id
            technology
            address
            connectable
            temporary
            features
            hci_version
            manufacturer
            bredr_data:
                connection_state
                bonded
                services
            le_data:
                connection_state
                bonded
                features
    sdp_server:
        record_0x2:
            record
            // TODO(fxbug.dev/51995): Migrate this to UIntArray when support is better.
            registered_psms:
                psm_0x0:
                    psm
                psm_0x1:
                    psm
        record_0x3:
            record
            registered_psms:
                (none)
<<<<<<< HEAD   (8e8bd1 [bt][gap] Move connection parameter logic to LowEnergyConnec)
=======
    low_energy_connection_manager:
        pending_requests:
            pending_request_0x0:
                address
                callbacks
        connections:
            connection_0x0:
                peer_id
                peer_address
                ref_count
>>>>>>> CHANGE (e58c26 [bt][gap] Create gap::LowEnergyConnector)