UNPKG

obniz

Version:

obniz sdk for javascript

25 lines (24 loc) 778 B
## YAML Template. ##--- $schema: http://json-schema.org/draft-04/schema# id: "/response/ble/peripheral/descriptor_notify_write" description: "callback of external device write descriptor" deprecated: 3.0.0 type: object required: [peripheral] properties: peripheral: type: object additionalProperties: false required: [notify_write_descriptor] properties: notify_write_descriptor: type: object required: [address,service_uuid, characteristic_uuid,descriptor_uuid, data] additionalProperties: false properties: address: {$ref: "/deviceAddress"} service_uuid: {$ref: "/uuid"} characteristic_uuid: {$ref: "/uuid"} descriptor_uuid: {$ref: "/uuid"} data: {$ref: "/dataArray"}