UNPKG

obniz

Version:

obniz sdk for javascript

24 lines (23 loc) 734 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" deprecated: 3.0.0 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"}