Main Content
subscribe
Subscribe to characteristic notification or indication
Description
subscribe(
subscribes to a characteristic
notification or indication of a Bluetooth® Low Energy peripheral device. Notification or indication depends on the
c
)Attributes
property of the characteristic c
. The
property must contain "Notify"
, "Indicate"
, or both.
If the property contains both "Notify"
and "Indicate"
,
the function subscribes to notification.
Examples
Input Arguments
Version History
Introduced in R2019b
See Also
characteristic
| read
| unsubscribe
| write