Global

Members

(constant) ARDiscoveryError :Enum

Type:
Properties:
Name Type Description
OK number

No error

ERROR number

Unknown generic error

ERROR_SIMPLE_POLL number

Avahi failed to create simple poll object

ERROR_BUILD_NAME number

Avahi failed to create simple poll object

ERROR_CLIENT number

Avahi failed to create client

ERROR_CREATE_CONFIG number

Failed to create config file

ERROR_DELETE_CONFIG number

Failed to delete config file

ERROR_ENTRY_GROUP number

Avahi failed to create entry group

ERROR_ADD_SERVICE number

Avahi failed to add service

ERROR_GROUP_COMMIT number

Avahi failed to commit group

ERROR_BROWSER_ALLOC number

Avahi failed to allocate desired number of browsers

ERROR_BROWSER_NEW number

Avahi failed to create one browser

ERROR_ALLOC number

Failed to allocate connection resources

ERROR_INIT number

Wrong type to connect as

ERROR_SOCKET_CREATION number

Socket creation error

ERROR_SOCKET_PERMISSION_DENIED number

Socket access permission denied

ERROR_SOCKET_ALREADY_CONNECTED number

Socket is already connected

ERROR_ACCEPT number

Socket accept failed

ERROR_SEND number

Failed to write frame to socket

ERROR_READ number

Failed to read frame from socket

ERROR_SELECT number

Failed to select sets

ERROR_TIMEOUT number

timeout error

ERROR_ABORT number

Aborted by the user

ERROR_PIPE_INIT number

Failed to intitialize a pipe

ERROR_BAD_PARAMETER number

Bad parameters

ERROR_BUSY number

discovery is busy

ERROR_SOCKET_UNREACHABLE number

host or net is not reachable

ERROR_OUTPUT_LENGTH number

the length of the output is to small

ERROR_JNI number

JNI error

ERROR_JNI_VM number

JNI virtual machine, not initialized

ERROR_JNI_ENV number

null JNI environment

ERROR_JNI_CALLBACK_LISTENER number

null jni callback listener

ERROR_CONNECTION number

Connection error

ERROR_CONNECTION_BUSY number

Product already connected

ERROR_CONNECTION_NOT_READY number

Product not ready to connect

ERROR_CONNECTION_BAD_ID number

It is not the good Product

ERROR_DEVICE number

Device generic error

ERROR_DEVICE_OPERATION_NOT_SUPPORTED number

The current device does not support this operation

ERROR_JSON number

Json generic error

ERROR_JSON_PARSSING number

Json parssing error

ERROR_JSON_BUFFER_SIZE number

The size of the buffer storing the Json is too small

Source:
See:

(constant) bufferType :Enum

Buffer types

Type:
Properties:
Name Type Description
ACK number

Acknowledgment of previously received data

DATA number

Normal data (no ack requested)

NON_ACK number

Same as DATA

HIGH_PRIO number

Not sure about this one could be LLD

LOW_LATENCY_DATA number

Treated as normal data on the network, but are given higher priority internally

DATA_WITH_ACK number

Data requesting an ack. The receiver must send an ack for this data unit!

Source:

(constant) characteristicReceiveUuids :Enum

Receive characteristsic UUIDs

Type:
Properties:
Name Type Description
ACK_DRONE_DATA string

drone data that needs an ack (needs to be ack on 1e)

NO_ACK_DRONE_DATA string

data from drone (including battery and others), no ack

ACK_COMMAND_SENT string

ack 0b channel, SEND_WITH_ACK

ACK_HIGH_PRIORITY string

ack 0c channel, SEND_HIGH_PRIORITY

Source:

(constant) characteristicSendUuids :Enum

Send characteristsic UUIDs

Type:
Properties:
Name Type Description
SEND_NO_ACK string

not-ack commands (PCMD only)

SEND_WITH_ACK string

ack commands (all piloting commands)

SEND_HIGH_PRIORITY string

emergency commands

ACK_COMMAND string

ack for data sent on 0e

Source: