mergBLEAddCharacteristicToService

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergBLEAddCharacteristicToService <pUUID>, <pCharacteristic>, <pRead>, <pWriteWithoutResponse>, <pWrite>, <pNotify>, <pIndicate>, <pAuthenticatedSignedWrites>, <pNotifyEncryptionRequired>, <pIndicateEncryptionRequired>, [<pValue>]
Associationsmergble
Summary

Add a characteristic to a previously created service

Introduced8.0
OSios, mac
Platformsdesktop, mobile
Parameters
NameTypeDescription
pUUID

A service UUID being advertised by the device

pCharacteristic

A characteristic UUID.

pRead

The characteristic‰??s value can be read.

pWriteWithoutResponse

The characteristic‰??s value can be written, without a response from the peripheral to indicate that the write was successful.

pWrite

The characteristic‰??s value can be written, with a response from the peripheral to indicate that the write was successful.

pNotify

Notifications of the characteristic‰??s value are permitted, without a response from the central to indicate that the notification was received.

pIndicate

Indications of the characteristic‰??s value are permitted, with a response from the central to indicate that the indication was received.

pAuthenticatedSignedWrites

Signed writes of the characteristic‰??s value are permitted, without a response from the peripheral to indicate that the write was successful.

pNotifyEncryptionRequired

Only trusted devices can enable notifications of the characteristic‰??s value.

pIndicateEncryptionRequired

Only trusted devices can enable indications of the characteristic‰??s value.

pValue

(optional with The default) The value of the characteristic. Only set for readable characteristics.

Description

Add a characteristic to a previously created service

Tagsexternals