Class: PairingRequestMessage

remotemessage.PairingRequestMessage()

new PairingRequestMessage()

Source:

Extends

Methods

(static) PairingRequestMessage#getApplicationName() → {String}

Get the field value The name of the application the peripheral is associated with. This is the "resourceDescriptor" in the handshake
Source:
Returns:
Type
String

(static) PairingRequestMessage#getAuthenticationToken() → {String|Null}

Get the field value The token, recognized by the specific device.
Source:
Returns:
Type
String | Null

(static) PairingRequestMessage#getName() → {String}

Get the field value The peripheral sends a pairing request containing the peripheral name
Source:
Returns:
Type
String

(static) PairingRequestMessage#getSerialNumber() → {String}

Get the field value The peripheral serial number
Source:
Returns:
Type
String

(static) PairingRequestMessage#setApplicationName(applicationName)

Set the field value The name of the application the peripheral is associated with. This is the "resourceDescriptor" in the handshake
Parameters:
Name Type Description
applicationName String
Source:

(static) PairingRequestMessage#setAuthenticationToken(authenticationToken)

Set the field value The token, recognized by the specific device.
Parameters:
Name Type Description
authenticationToken String | Null
Source:

(static) PairingRequestMessage#setName(name)

Set the field value The peripheral sends a pairing request containing the peripheral name
Parameters:
Name Type Description
name String
Source:

(static) PairingRequestMessage#setSerialNumber(serialNumber)

Set the field value The peripheral serial number
Parameters:
Name Type Description
serialNumber String
Source: