Method: BLE::Device#characteristics
- Defined in:
- lib/ble/device.rb
#characteristics(service) ⇒ Array<String>?
Note:
The list is retrieve once when object is connected if auto_refresh is enable, otherwise you need to call #refresh.
List of available characteristics UUID for a service.
244 245 246 247 248 249 |
# File 'lib/ble/device.rb', line 244 def characteristics(service) _require_connection! if chars = _characteristics(service) chars.keys end end |