obniz
Version:
obniz sdk for javascript
26 lines (21 loc) • 727 B
YAML
## YAML Template.
##---
$schema: http://json-schema.org/draft-04/schema#
id: "/request/ble/peripheral/descriptor_read"
related : "/response/ble/peripheral/descriptor_read"
description : "read descriptor on own service"
type: object
required : [peripheral]
properties:
peripheral :
type : object
required : [read_descriptor]
properties:
read_descriptor :
type : object
required: [service_uuid,characteristic_uuid]
additionalProperties: false
properties:
service_uuid : {$ref : "/uuid"}
characteristic_uuid : {$ref : "/uuid"}
descriptor_uuid : {$ref : "/uuid"}