Service Bluetooth

from bluetooth import Bluetooth

Port NameLocationProtocolInterfaces
iplocalBluetoothInterface

List of Available Interfaces

BluetoothInterface

Operation NameInput TypeOutput TypeFaultsDescription
inquirevoidBluetoothInquiryResponse-
setDiscoverableintint-
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 // 
  } // 
}