Services, Characteristics, & Descriptors
GATT collections are all based off the peripheral and are used after you have a connection.
Services
Section titled “Services”Once connected to a device, you can initiate service discovery (it is pretty much all you can do against services).
Characteristics
Section titled “Characteristics”This is the main operation points within BLE GATT
Read Characteristic
Section titled “Read Characteristic”//TODO
Write Characteristic
Section titled “Write Characteristic”//TODO
Binary Large Objects (BLOBS) Writes
Section titled “Binary Large Objects (BLOBS) Writes”Generally, writing anything large over BLE is not recommended due to the maximum transmission unit (MTU)
//TODO
Notifications
Section titled “Notifications”// TODO
Waiting or checking if a notification is hooked
// TODO
Notifications will stay hooked as long as you hold a subscription to it. Make sure you dispose of it when you are done
Descriptors
Section titled “Descriptors”Descriptors generally aren’t used by Bluetooth LE applications. They are a child collection off each characterisitcs and have read/write operations just like characteristics.
Read Descriptor
Section titled “Read Descriptor”//TODO
Write Descriptor
Section titled “Write Descriptor”//TODO
Async Methods
Section titled “Async Methods”TODO