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

bt-host

Test

$ fx test //src/connectivity/bluetooth/core/bt-host

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
    low_energy_discovery_manager:
       state
       paused
       failed_count
       scan_interval_ms
       scan_window_ms
    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)
    low_energy_connection_manager:
        pending_requests:
            pending_request_0x0:
                address
                callbacks
        connections:
            connection_0x0:
                peer_id
                peer_address
                ref_count