Bluetooth

Inclusion code:

Service Deployment
Port NameLocationProtocolInterfaces
Bluetooth documentation:
Bluetooth--BluetoothInterface

List of Available Interfaces

BluetoothInterface

Interface documentation:

Operation NameInput TypeOutput TypeFaults
inquirevoidBluetoothInquiryResponse
setDiscoverableintint

Operation Description

inquire

Operation documentation: 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.

Invocation template:

inquire@Bluetooth( request )( response )

Request type

Type: void

void : void

Response type

Type: BluetoothInquiryResponse

type BluetoothInquiryResponse: void {
    .service*: void {
        .location: string
    }
    .device*: void {
        .address: string
        .name: string
    }
}

BluetoothInquiryResponse : void

  • service : void
    • location : string
  • device : void
    • address : string
    • name : string

setDiscoverable

Operation documentation: 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.

Invocation template:

setDiscoverable@Bluetooth( request )( response )

Request type

Type: int

int : int

Response type

Type: int

int : int