summaryrefslogtreecommitdiff
path: root/src/components/policy/policy_external/doc/doxygen/components/TransportManager/Internal Design/Device Adapters/BluetoothAdapter.txt
blob: eb5de23e35c25c23fe4743cefb38d2b4651beaef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @page components_transportmanager_internal_design_transport_adapters_bluetooth_adapter Bluetooth Adapter
 *
 * Bluetooth adapter handles communication with external devices via bluetooth. It is implemented in
 * ns_smart_device_link::ns_transport_manager::CBluetoothAdapter.
 *
 * @section components_transportmanager_internal_design_transport_adapters_bluetooth_adapter_discovery Device discovery
 *
 * When requested by a call to ns_smart_device_link::ns_transport_manager::CTransportAdapter::scanForNewDevices() bluetooth adapter
 * searches for bluetooth devices. For each found device it runs SDP query for service with SmartDeviceLink UUID
 * (936DA01F-9ABD-4D9D-80C7-02AF85C822A8). Devices that support this service are added to bluetooth adapter device list.
 * Bluetooth device scans are performed only when explicitly requested.
 *
 * @section components_transportmanager_internal_design_transport_adapters_bluetooth_adapter_connecting_devices Connecting devices
 *
 * ns_smart_device_link::ns_transport_manager::CBluetoothAdapter::createConnectionsListForDevice() runs SDP query for specified device
 * and fills connection list with connections to all RFCOMM channels on remote device where SmartDeviceLink service has been discovered.
 *
 * @see @ref components_transportmanager_internal_design_transport_adapters_common_connecting_devices
 */