btleCharacteristicWrite()
The function tries to write a characteristic to a service.
Synopsis
int btleCharacteristicWrite(int serviceId, string uuid, blob
value)
Parameters
Parameter | Description |
---|---|
serviceId | The Id of the service. |
uuid | The UUID of the characteristic. |
value | The characteristic value. |
Return Value
Returns 0 on success. On error the return value is one of:
-1 ... illegal arguments passed
1 ... OperationError
2 ... CharacteristicWriteError
4 ... UnknownError
Description
The function tries to write a characteristic, given by its uuid, to the service, which must be connected by a call to btleServiceConnect().
Assignment
Mobile UI control functions
Availability
UI