obniz
Version:
obniz sdk for javascript
25 lines (23 loc) • 731 B
YAML
## YAML Template.
##---
$schema: http://json-schema.org/draft-04/schema#
id: "/response/ble/peripheral/descriptor_notify_read"
description: "callback of external device read descriptor"
deprecated: 3.0.0
type: object
required: [peripheral]
properties:
peripheral:
type: object
additionalProperties: false
required: [notify_read_descriptor]
properties:
notify_read_descriptor:
type: object
required: [address,service_uuid, characteristic_uuid,descriptor_uuid]
additionalProperties: false
properties:
address: {$ref: "/deviceAddress"}
service_uuid: {$ref: "/uuid"}
characteristic_uuid: {$ref: "/uuid"}
descriptor_uuid: {$ref: "/uuid"}