UNPKG

obniz

Version:

obniz sdk for javascript

24 lines (22 loc) 915 B
## YAML Template. ##--- $schema: http://json-schema.org/draft-04/schema# id: "/response/ble/peripheral/characteristic_notify_write" description : "callback of external device write characteristic" type: object required : [peripheral] properties: peripheral: type : object additionalProperties: false required : [notify_write_characteristic] properties: notify_write_characteristic : type : object required: [address,service_uuid, characteristic_uuid, data] additionalProperties: false properties: address : {$ref : "/deviceAddress"} service_uuid : {$ref : "/uuid"} characteristic_uuid : {$ref : "/uuid"} data : {$ref : "/dataArray"}