Closed vhscott closed 1 year ago
Hi! After you await, you can do service.discoveredCharacteristics
to get the list of all of them, or service.discoveredCharacteristics?.first(where: { $0.uuid == characteristicUUIDTX })
to get the characteristic you were looking for.
Also, the readValue
, writeValue
and setNotifyValue
extensions on Peripheral
will automatically discover the given service and characteristic.
Thank you!
Not a bug.
Can you please show me how to get the discovered characteristic?
Thanks!
sample code below: