obniz
Version:
obniz sdk for javascript
33 lines (28 loc) • 965 B
YAML
## YAML Template.
##---
$schema: http://json-schema.org/draft-04/schema#
id: "/response/ble/central/characteristic_get"
type: object
required : [get_characteristic_result]
properties:
get_characteristic_result :
type : object
required: [address,service_uuid,characteristic_uuid,properties]
additionalProperties: false
properties:
address : {$ref : "/deviceAddress"}
service_uuid : {$ref : "/uuid"}
characteristic_uuid : {$ref : "/uuid"}
properties :
type : array
items :
type : string
enum :
- broadcast
- read
- write_without_response
- write
- notify
- indicate
- auth
- extended_properties