Service Bluetooth
from bluetooth import Bluetooth
| Port Name | Location | Protocol | Interfaces |
|---|---|---|---|
| ip | local | BluetoothInterface |
List of Available Interfaces
BluetoothInterface
| Operation Name | Input Type | Output Type | Faults | Description |
|---|---|---|---|---|
| inquire | void | BluetoothInquiryResponse | - | |
| setDiscoverable | int | int | - | Sets the current Bluetooth device as discoverable or not discoverable @request: 0 if the device has to be set not discoverable, 1 if the device has to be set discoverable. |
Types
BluetoothInquiryResponse:
Type Declaration
void {
service[0,1]: void {
location[1,1]: string //
} //
device[0,1]: void {
address[1,1]: string //
name[1,1]: string //
} //
}