UNPKG

obniz

Version:

obniz sdk for javascript

25 lines (23 loc) 979 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" 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"}