UNPKG

obniz

Version:

obniz sdk for javascript

730 lines (624 loc) 3.88 MB
var Obniz = /******/ (function(modules) { // webpackBootstrap /******/ // The module cache /******/ var installedModules = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache /******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, /******/ l: false, /******/ exports: {} /******/ }; /******/ /******/ // Execute the module function /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); /******/ /******/ // Flag the module as loaded /******/ module.l = true; /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /******/ /******/ // expose the modules object (__webpack_modules__) /******/ __webpack_require__.m = modules; /******/ /******/ // expose the module cache /******/ __webpack_require__.c = installedModules; /******/ /******/ // define getter function for harmony exports /******/ __webpack_require__.d = function(exports, name, getter) { /******/ if(!__webpack_require__.o(exports, name)) { /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); /******/ } /******/ }; /******/ /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ /******/ // create a fake namespace object /******/ // mode & 1: value is a module id, require it /******/ // mode & 2: merge all properties of value into the ns /******/ // mode & 4: return value when already ns object /******/ // mode & 8|1: behave like require /******/ __webpack_require__.t = function(value, mode) { /******/ if(mode & 1) value = __webpack_require__(value); /******/ if(mode & 8) return value; /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; /******/ var ns = Object.create(null); /******/ __webpack_require__.r(ns); /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); /******/ return ns; /******/ }; /******/ /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function getDefault() { return module['default']; } : /******/ function getModuleExports() { return module; }; /******/ __webpack_require__.d(getter, 'a', getter); /******/ return getter; /******/ }; /******/ /******/ // Object.prototype.hasOwnProperty.call /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; /******/ /******/ // __webpack_public_path__ /******/ __webpack_require__.p = ""; /******/ /******/ /******/ // Load entry module and return exports /******/ return __webpack_require__(__webpack_require__.s = "./dist/src/obniz/index.js"); /******/ }) /************************************************************************/ /******/ ({ /***/ "./dist/package.js": /***/ (function(module, exports) { module.exports = { "name": "obniz", "version": "4.0.0", "description": "obniz sdk for javascript", "main": "./dist/src/obniz/index.js", "types": "./dist/src/obniz/index.d.ts", "files": [ "dist", "index.js", "obniz.js" ], "engines": { "node": ">=10.23.0" }, "engineStrict": true, "scripts": { "test": "npm run tstest && npm run lint-test && nyc --reporter=text --reporter=html mocha --exit $NODE_DEBUG_OPTION ./test/functiontest/index.js -b 1", "testOnlyNodejs": "NO_BROWSER_TEST=1 npm test", "buildAndtest": "npm run build && npm test", "tstest": "mocha --require espower-typescript/guess test/functiontest/**/*.ts", "tsExampleTest": "tsc --project ./test/functiontest", "realtest": "mocha --exit $NODE_DEBUG_OPTION ./test/realtest/index.js", "realtest-debug": "DEBUG=1 mocha $NODE_DEBUG_OPTION -b ./test/realtest/index.js", "local": "gulp --gulpfile devtools/_tools/server.js --cwd .", "watch": "tsc -w & webpack --watch --config ./devtools/webpack.config.js ", "watch:debug": "tsc -w -p tsconfig.debug.json & webpack --watch --config ./devtools/webpack.config.js ", "build": "npm run clean && npm run generate:ble-uuid && npm run lint && gulp --gulpfile devtools/_tools/server.js --cwd . build ", "doc": "typedoc --plugin ./devtools/typedoc-plugins/external-module-name.js --tsconfig ./tsconfig.json --entryPointStrategy expand --entryPoints ./src --includes ./src/ --exclude '**/*.json' --theme default --excludeInternal --readme none --out docs/obnizjs --excludePrivate --excludeProtected --media ./docs/images", "build-ts": "npm run clean && npm run generate:ble-uuid && npm run lint-ts && gulp --gulpfile devtools/_tools/server.js --cwd . build", "version": "npm run build && npm run doc && git add docs && git add obniz.js", "lint": "eslint --fix . --rulesdir devtools/eslint/rule --quiet", "lint-js": "eslint --fix './**/*.js' --rulesdir devtools/eslint/rule --quiet", "lint-ts": "eslint --fix 'src/**/*.ts' 'test/**/*.ts' --rulesdir devtools/eslint/rule --quiet", "lint-test": "mocha $NODE_DEBUG_OPTION ./devtools/eslint/test/**/*.js", "precommit": "lint-staged && npm run build && git add obniz.js", "prepublishOnly": "npm run build", "code-quality": "docker run --rm -it -v $PWD:/data/project/ -p 8080:8080 jetbrains/qodana-js:2022.2-eap --show-report", "clean": "rimraf ./dist ./obniz.js ./obniz.d.ts", "prepare": "husky install", "generate:ble-uuid": "node devtools/_tools/generateBleUuids.js" }, "lint-staged": { "src/**/*.ts": [ "eslint --fix --rulesdir devtools/eslint/rule --quiet", "git add" ], "test/**/*.ts": [ "eslint --fix --rulesdir devtools/eslint/rule --quiet", "git add" ] }, "keywords": [ "obniz" ], "repository": "obniz/obniz", "author": "obniz Inc. <supportteam@obniz.com>", "homepage": "https://obniz.com/", "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "@types/chai": "^4.2.7", "@types/chai-like": "^1.1.0", "@types/dialog-polyfill": "^0.5.0", "@types/eventemitter3": "^1.2.0", "@types/events": "^3.0.0", "@types/glob": "^7.1.1", "@types/js-yaml": "^3.12.1", "@types/minimatch": "^3.0.3", "@types/mocha": "^5.2.7", "@types/node": "^13.1.5", "@types/node-dir": "0.0.33", "@types/node-fetch": "^2.5.4", "@types/semver": "^6.2.0", "@types/sinon": "^7.5.1", "@types/webpack-env": "^1.15.0", "@types/window-or-global": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.36.1", "@typescript-eslint/eslint-plugin-tslint": "^5.36.1", "@typescript-eslint/parser": "^5.36.1", "chai": "^4.2.0", "chai-like": "^1.1.1", "child_process": "^1.0.2", "concat-with-sourcemaps": "^1.1.0", "dialog-polyfill": "^0.5.0", "ejs": "^2.6.2", "eslint": "^7.32.0", "eslint-config-prettier": "^3.6.0", "eslint-plugin-jasmine": "^2.10.1", "eslint-plugin-jsdoc": "^32.2.0", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-rulesdir": "^0.2.0", "espower-typescript": "^9.0.2", "express": "^4.17.1", "get-port": "^4.0.0", "glob": "^7.1.3", "gulp": "^4.0.2", "gulp-concat": "^2.6.1", "gulp-ejs": "^3.2.0", "gulp-filter": "^5.1.0", "gulp-plumber": "^1.2.0", "gulp-rename": "^1.4.0", "gulp-sort": "^2.0.0", "gulp-sourcemaps": "^2.6.5", "gulp-typescript": "^6.0.0-alpha.1", "gulp-yaml": "^2.0.2", "husky": "^8.0.0", "json-loader": "^0.5.7", "lint-staged": "^9.4.1", "lodash": "^4.17.21", "mocha": "^5.2.0", "mocha-chrome": "^2.2.0", "mocha-directory": "^2.3.0", "mocha-sinon": "^2.1.0", "natives": "^1.1.6", "ncp": "^2.0.0", "node-notifier": "^5.3.0", "nyc": "^14.1.1", "path": "^0.12.7", "plugin-error": "^1.0.1", "power-assert": "^1.6.1", "prettier": "^2.2.1", "raw-loader": "^4.0.0", "rimraf": "^3.0.2", "sinon": "^7.5.0", "text-encoding": "^0.7.0", "through2": "^2.0.3", "typedoc": "0.24.8", "typescript": "^4.7.4", "vinyl": "^2.2.0", "webpack": "^4.34.0", "webpack-cli": "^3.3.4", "webpack-node-externals": "^1.7.2", "webpack-stream": "^5.2.1", "yaml-loader": "^0.5.0" }, "dependencies": { "@9wick/serial-executor": "^1.0.0", "@types/tv4": "^1.2.29", "@types/ws": "^6.0.4", "binary-analyzer": "^1.0.0", "eventemitter3": "^3.1.2", "js-yaml": "^3.13.1", "moment": "^2.29.3", "node-fetch": "^2.3.0", "p-limit": "^3.1.0", "round-to": "^5.0.0", "semver": "^5.7.0", "strict-event-emitter": "^0.2.6", "tv4": "^1.3.0", "ws": "^6.1.4" }, "bugs": { "url": "https://forum.obniz.com" }, "private": false, "browser": { "fs": false, "ws": "./dist/src/obniz/libs/webpackReplace/ws", "canvas": "./dist/src/obniz/libs/webpackReplace/canvas", "./dist/src/obniz/libs/webpackReplace/require-context": "./dist/src/obniz/libs/webpackReplace/require-context-browser", "./dist/src/obniz/libs/webpackReplace/dialogPollyfill": "./dist/src/obniz/libs/webpackReplace/dialogPollyfill-browser" }, "volta": { "node": "16.15.0" } } ; /***/ }), /***/ "./dist/src/json_schema sync recursive \\.yml$": /***/ (function(module, exports, __webpack_require__) { var map = { "./index.yml": "./dist/src/json_schema/index.yml", "./request/ad/deinit.yml": "./dist/src/json_schema/request/ad/deinit.yml", "./request/ad/index.yml": "./dist/src/json_schema/request/ad/index.yml", "./request/ad/input.yml": "./dist/src/json_schema/request/ad/input.yml", "./request/ble/central/characteristic_get.yml": "./dist/src/json_schema/request/ble/central/characteristic_get.yml", "./request/ble/central/characteristic_read.yml": "./dist/src/json_schema/request/ble/central/characteristic_read.yml", "./request/ble/central/characteristic_register_notify.yml": "./dist/src/json_schema/request/ble/central/characteristic_register_notify.yml", "./request/ble/central/characteristic_unregister_notify.yml": "./dist/src/json_schema/request/ble/central/characteristic_unregister_notify.yml", "./request/ble/central/characteristic_write.yml": "./dist/src/json_schema/request/ble/central/characteristic_write.yml", "./request/ble/central/connect.yml": "./dist/src/json_schema/request/ble/central/connect.yml", "./request/ble/central/descriptor_get.yml": "./dist/src/json_schema/request/ble/central/descriptor_get.yml", "./request/ble/central/descriptor_read.yml": "./dist/src/json_schema/request/ble/central/descriptor_read.yml", "./request/ble/central/descriptor_write.yml": "./dist/src/json_schema/request/ble/central/descriptor_write.yml", "./request/ble/central/disconnect.yml": "./dist/src/json_schema/request/ble/central/disconnect.yml", "./request/ble/central/index.yml": "./dist/src/json_schema/request/ble/central/index.yml", "./request/ble/central/scan_start.yml": "./dist/src/json_schema/request/ble/central/scan_start.yml", "./request/ble/central/scan_stop.yml": "./dist/src/json_schema/request/ble/central/scan_stop.yml", "./request/ble/central/service_get.yml": "./dist/src/json_schema/request/ble/central/service_get.yml", "./request/ble/hci/advertisement_filter.yml": "./dist/src/json_schema/request/ble/hci/advertisement_filter.yml", "./request/ble/hci/deinit.yml": "./dist/src/json_schema/request/ble/hci/deinit.yml", "./request/ble/hci/index.yml": "./dist/src/json_schema/request/ble/hci/index.yml", "./request/ble/hci/init.yml": "./dist/src/json_schema/request/ble/hci/init.yml", "./request/ble/hci/write.yml": "./dist/src/json_schema/request/ble/hci/write.yml", "./request/ble/index.yml": "./dist/src/json_schema/request/ble/index.yml", "./request/ble/peripheral/advertisement_start.yml": "./dist/src/json_schema/request/ble/peripheral/advertisement_start.yml", "./request/ble/peripheral/advertisement_stop.yml": "./dist/src/json_schema/request/ble/peripheral/advertisement_stop.yml", "./request/ble/peripheral/characteristic_notify.yml": "./dist/src/json_schema/request/ble/peripheral/characteristic_notify.yml", "./request/ble/peripheral/characteristic_read.yml": "./dist/src/json_schema/request/ble/peripheral/characteristic_read.yml", "./request/ble/peripheral/characteristic_write.yml": "./dist/src/json_schema/request/ble/peripheral/characteristic_write.yml", "./request/ble/peripheral/descriptor_read.yml": "./dist/src/json_schema/request/ble/peripheral/descriptor_read.yml", "./request/ble/peripheral/descriptor_write.yml": "./dist/src/json_schema/request/ble/peripheral/descriptor_write.yml", "./request/ble/peripheral/index.yml": "./dist/src/json_schema/request/ble/peripheral/index.yml", "./request/ble/peripheral/servie_start.yml": "./dist/src/json_schema/request/ble/peripheral/servie_start.yml", "./request/ble/peripheral/servie_stop.yml": "./dist/src/json_schema/request/ble/peripheral/servie_stop.yml", "./request/ble/peripheral/servie_stop_all.yml": "./dist/src/json_schema/request/ble/peripheral/servie_stop_all.yml", "./request/ble/security/auth.yml": "./dist/src/json_schema/request/ble/security/auth.yml", "./request/ble/security/devices_clear.yml": "./dist/src/json_schema/request/ble/security/devices_clear.yml", "./request/ble/security/index.yml": "./dist/src/json_schema/request/ble/security/index.yml", "./request/ble/security/indicate_security_level.yml": "./dist/src/json_schema/request/ble/security/indicate_security_level.yml", "./request/ble/security/key_max_size.yml": "./dist/src/json_schema/request/ble/security/key_max_size.yml", "./request/ble/security/key_type.yml": "./dist/src/json_schema/request/ble/security/key_type.yml", "./request/canbus/deinit.yml": "./dist/src/json_schema/request/canbus/deinit.yml", "./request/canbus/index.yml": "./dist/src/json_schema/request/canbus/index.yml", "./request/canbus/init.yml": "./dist/src/json_schema/request/canbus/init.yml", "./request/canbus/send.yml": "./dist/src/json_schema/request/canbus/send.yml", "./request/display/clear.yml": "./dist/src/json_schema/request/display/clear.yml", "./request/display/index.yml": "./dist/src/json_schema/request/display/index.yml", "./request/display/pin_assign.yml": "./dist/src/json_schema/request/display/pin_assign.yml", "./request/display/qr.yml": "./dist/src/json_schema/request/display/qr.yml", "./request/display/raw.yml": "./dist/src/json_schema/request/display/raw.yml", "./request/display/text.yml": "./dist/src/json_schema/request/display/text.yml", "./request/i2c/deinit.yml": "./dist/src/json_schema/request/i2c/deinit.yml", "./request/i2c/index.yml": "./dist/src/json_schema/request/i2c/index.yml", "./request/i2c/init_master.yml": "./dist/src/json_schema/request/i2c/init_master.yml", "./request/i2c/init_slave.yml": "./dist/src/json_schema/request/i2c/init_slave.yml", "./request/i2c/read.yml": "./dist/src/json_schema/request/i2c/read.yml", "./request/i2c/write.yml": "./dist/src/json_schema/request/i2c/write.yml", "./request/index.yml": "./dist/src/json_schema/request/index.yml", "./request/io/deinit.yml": "./dist/src/json_schema/request/io/deinit.yml", "./request/io/index.yml": "./dist/src/json_schema/request/io/index.yml", "./request/io/input.yml": "./dist/src/json_schema/request/io/input.yml", "./request/io/input_detail.yml": "./dist/src/json_schema/request/io/input_detail.yml", "./request/io/output.yml": "./dist/src/json_schema/request/io/output.yml", "./request/io/output_detail.yml": "./dist/src/json_schema/request/io/output_detail.yml", "./request/io/output_type.yml": "./dist/src/json_schema/request/io/output_type.yml", "./request/io/pull_type.yml": "./dist/src/json_schema/request/io/pull_type.yml", "./request/ioAnimation/changeState.yml": "./dist/src/json_schema/request/ioAnimation/changeState.yml", "./request/ioAnimation/index.yml": "./dist/src/json_schema/request/ioAnimation/index.yml", "./request/ioAnimation/init.yml": "./dist/src/json_schema/request/ioAnimation/init.yml", "./request/location/deinit.yml": "./dist/src/json_schema/request/location/deinit.yml", "./request/location/index.yml": "./dist/src/json_schema/request/location/index.yml", "./request/location/init.yml": "./dist/src/json_schema/request/location/init.yml", "./request/logicAnalyzer/deinit.yml": "./dist/src/json_schema/request/logicAnalyzer/deinit.yml", "./request/logicAnalyzer/index.yml": "./dist/src/json_schema/request/logicAnalyzer/index.yml", "./request/logicAnalyzer/init.yml": "./dist/src/json_schema/request/logicAnalyzer/init.yml", "./request/measure/echo.yml": "./dist/src/json_schema/request/measure/echo.yml", "./request/measure/index.yml": "./dist/src/json_schema/request/measure/index.yml", "./request/message/index.yml": "./dist/src/json_schema/request/message/index.yml", "./request/message/send.yml": "./dist/src/json_schema/request/message/send.yml", "./request/motion/deinit.yml": "./dist/src/json_schema/request/motion/deinit.yml", "./request/motion/index.yml": "./dist/src/json_schema/request/motion/index.yml", "./request/motion/init.yml": "./dist/src/json_schema/request/motion/init.yml", "./request/plugin/exec_lua.yml": "./dist/src/json_schema/request/plugin/exec_lua.yml", "./request/plugin/index.yml": "./dist/src/json_schema/request/plugin/index.yml", "./request/plugin/reload_lua.yml": "./dist/src/json_schema/request/plugin/reload_lua.yml", "./request/plugin/send.yml": "./dist/src/json_schema/request/plugin/send.yml", "./request/pwm/deinit.yml": "./dist/src/json_schema/request/pwm/deinit.yml", "./request/pwm/freq.yml": "./dist/src/json_schema/request/pwm/freq.yml", "./request/pwm/index.yml": "./dist/src/json_schema/request/pwm/index.yml", "./request/pwm/init.yml": "./dist/src/json_schema/request/pwm/init.yml", "./request/pwm/modulate.yml": "./dist/src/json_schema/request/pwm/modulate.yml", "./request/pwm/pulse.yml": "./dist/src/json_schema/request/pwm/pulse.yml", "./request/spi/deinit.yml": "./dist/src/json_schema/request/spi/deinit.yml", "./request/spi/index.yml": "./dist/src/json_schema/request/spi/index.yml", "./request/spi/init_master.yml": "./dist/src/json_schema/request/spi/init_master.yml", "./request/spi/write.yml": "./dist/src/json_schema/request/spi/write.yml", "./request/storage/index.yml": "./dist/src/json_schema/request/storage/index.yml", "./request/storage/read.yml": "./dist/src/json_schema/request/storage/read.yml", "./request/storage/save.yml": "./dist/src/json_schema/request/storage/save.yml", "./request/switch/get.yml": "./dist/src/json_schema/request/switch/get.yml", "./request/switch/index.yml": "./dist/src/json_schema/request/switch/index.yml", "./request/system/index.yml": "./dist/src/json_schema/request/system/index.yml", "./request/system/keep_working_at_offline.yml": "./dist/src/json_schema/request/system/keep_working_at_offline.yml", "./request/system/ping.yml": "./dist/src/json_schema/request/system/ping.yml", "./request/system/queue_mode.yml": "./dist/src/json_schema/request/system/queue_mode.yml", "./request/system/reboot.yml": "./dist/src/json_schema/request/system/reboot.yml", "./request/system/reset.yml": "./dist/src/json_schema/request/system/reset.yml", "./request/system/self_check.yml": "./dist/src/json_schema/request/system/self_check.yml", "./request/system/set_clock.yml": "./dist/src/json_schema/request/system/set_clock.yml", "./request/system/sleep_io_trigger.yml": "./dist/src/json_schema/request/system/sleep_io_trigger.yml", "./request/system/sleep_minute.yml": "./dist/src/json_schema/request/system/sleep_minute.yml", "./request/system/sleep_seconds.yml": "./dist/src/json_schema/request/system/sleep_seconds.yml", "./request/system/wait.yml": "./dist/src/json_schema/request/system/wait.yml", "./request/tcp/connect.yml": "./dist/src/json_schema/request/tcp/connect.yml", "./request/tcp/disconnect.yml": "./dist/src/json_schema/request/tcp/disconnect.yml", "./request/tcp/index.yml": "./dist/src/json_schema/request/tcp/index.yml", "./request/tcp/write.yml": "./dist/src/json_schema/request/tcp/write.yml", "./request/uart/de.yml": "./dist/src/json_schema/request/uart/de.yml", "./request/uart/deinit.yml": "./dist/src/json_schema/request/uart/deinit.yml", "./request/uart/index.yml": "./dist/src/json_schema/request/uart/index.yml", "./request/uart/init.yml": "./dist/src/json_schema/request/uart/init.yml", "./request/uart/send.yml": "./dist/src/json_schema/request/uart/send.yml", "./request/wifi/index.yml": "./dist/src/json_schema/request/wifi/index.yml", "./request/wifi/scan.yml": "./dist/src/json_schema/request/wifi/scan.yml", "./request/ws/index.yml": "./dist/src/json_schema/request/ws/index.yml", "./request/ws/reset_obniz_on_ws_disconnection.yml": "./dist/src/json_schema/request/ws/reset_obniz_on_ws_disconnection.yml", "./response/ad/get.yml": "./dist/src/json_schema/response/ad/get.yml", "./response/ad/index.yml": "./dist/src/json_schema/response/ad/index.yml", "./response/ble/central/characteristic_get.yml": "./dist/src/json_schema/response/ble/central/characteristic_get.yml", "./response/ble/central/characteristic_get_finish.yml": "./dist/src/json_schema/response/ble/central/characteristic_get_finish.yml", "./response/ble/central/characteristic_notify.yml": "./dist/src/json_schema/response/ble/central/characteristic_notify.yml", "./response/ble/central/characteristic_read.yml": "./dist/src/json_schema/response/ble/central/characteristic_read.yml", "./response/ble/central/characteristic_register_notify.yml": "./dist/src/json_schema/response/ble/central/characteristic_register_notify.yml", "./response/ble/central/characteristic_unregister_notify.yml": "./dist/src/json_schema/response/ble/central/characteristic_unregister_notify.yml", "./response/ble/central/characteristic_write.yml": "./dist/src/json_schema/response/ble/central/characteristic_write.yml", "./response/ble/central/descriptor_get.yml": "./dist/src/json_schema/response/ble/central/descriptor_get.yml", "./response/ble/central/descriptor_get_finish.yml": "./dist/src/json_schema/response/ble/central/descriptor_get_finish.yml", "./response/ble/central/descriptor_read.yml": "./dist/src/json_schema/response/ble/central/descriptor_read.yml", "./response/ble/central/descriptor_write.yml": "./dist/src/json_schema/response/ble/central/descriptor_write.yml", "./response/ble/central/index.yml": "./dist/src/json_schema/response/ble/central/index.yml", "./response/ble/central/scan.yml": "./dist/src/json_schema/response/ble/central/scan.yml", "./response/ble/central/scan_finish.yml": "./dist/src/json_schema/response/ble/central/scan_finish.yml", "./response/ble/central/service_get.yml": "./dist/src/json_schema/response/ble/central/service_get.yml", "./response/ble/central/service_get_finish.yml": "./dist/src/json_schema/response/ble/central/service_get_finish.yml", "./response/ble/central/status_update.yml": "./dist/src/json_schema/response/ble/central/status_update.yml", "./response/ble/error.yml": "./dist/src/json_schema/response/ble/error.yml", "./response/ble/hci/index.yml": "./dist/src/json_schema/response/ble/hci/index.yml", "./response/ble/hci/read.yml": "./dist/src/json_schema/response/ble/hci/read.yml", "./response/ble/index.yml": "./dist/src/json_schema/response/ble/index.yml", "./response/ble/peripheral/characteristic_notify_read.yml": "./dist/src/json_schema/response/ble/peripheral/characteristic_notify_read.yml", "./response/ble/peripheral/characteristic_notify_write.yml": "./dist/src/json_schema/response/ble/peripheral/characteristic_notify_write.yml", "./response/ble/peripheral/characteristic_read.yml": "./dist/src/json_schema/response/ble/peripheral/characteristic_read.yml", "./response/ble/peripheral/characteristic_write.yml": "./dist/src/json_schema/response/ble/peripheral/characteristic_write.yml", "./response/ble/peripheral/descriptor_notify_read.yml": "./dist/src/json_schema/response/ble/peripheral/descriptor_notify_read.yml", "./response/ble/peripheral/descriptor_notify_write.yml": "./dist/src/json_schema/response/ble/peripheral/descriptor_notify_write.yml", "./response/ble/peripheral/descriptor_read.yml": "./dist/src/json_schema/response/ble/peripheral/descriptor_read.yml", "./response/ble/peripheral/descriptor_write.yml": "./dist/src/json_schema/response/ble/peripheral/descriptor_write.yml", "./response/ble/peripheral/index.yml": "./dist/src/json_schema/response/ble/peripheral/index.yml", "./response/ble/peripheral/status.yml": "./dist/src/json_schema/response/ble/peripheral/status.yml", "./response/canbus/index.yml": "./dist/src/json_schema/response/canbus/index.yml", "./response/canbus/receive.yml": "./dist/src/json_schema/response/canbus/receive.yml", "./response/debug/error.yml": "./dist/src/json_schema/response/debug/error.yml", "./response/debug/index.yml": "./dist/src/json_schema/response/debug/index.yml", "./response/debug/warning.yml": "./dist/src/json_schema/response/debug/warning.yml", "./response/i2c/error.yml": "./dist/src/json_schema/response/i2c/error.yml", "./response/i2c/index.yml": "./dist/src/json_schema/response/i2c/index.yml", "./response/i2c/master.yml": "./dist/src/json_schema/response/i2c/master.yml", "./response/i2c/slave.yml": "./dist/src/json_schema/response/i2c/slave.yml", "./response/i2c/warning.yml": "./dist/src/json_schema/response/i2c/warning.yml", "./response/index.yml": "./dist/src/json_schema/response/index.yml", "./response/io/error.yml": "./dist/src/json_schema/response/io/error.yml", "./response/io/get.yml": "./dist/src/json_schema/response/io/get.yml", "./response/io/index.yml": "./dist/src/json_schema/response/io/index.yml", "./response/io/warning.yml": "./dist/src/json_schema/response/io/warning.yml", "./response/ioanimation/index.yml": "./dist/src/json_schema/response/ioanimation/index.yml", "./response/ioanimation/notify.yml": "./dist/src/json_schema/response/ioanimation/notify.yml", "./response/location/index.yml": "./dist/src/json_schema/response/location/index.yml", "./response/location/update.yml": "./dist/src/json_schema/response/location/update.yml", "./response/logicanalyzer/data.yml": "./dist/src/json_schema/response/logicanalyzer/data.yml", "./response/logicanalyzer/index.yml": "./dist/src/json_schema/response/logicanalyzer/index.yml", "./response/measure/echo.yml": "./dist/src/json_schema/response/measure/echo.yml", "./response/measure/index.yml": "./dist/src/json_schema/response/measure/index.yml", "./response/message/index.yml": "./dist/src/json_schema/response/message/index.yml", "./response/message/receive.yml": "./dist/src/json_schema/response/message/receive.yml", "./response/motion/acceleration.yml": "./dist/src/json_schema/response/motion/acceleration.yml", "./response/motion/index.yml": "./dist/src/json_schema/response/motion/index.yml", "./response/motion/recognition.yml": "./dist/src/json_schema/response/motion/recognition.yml", "./response/motion/temperature.yml": "./dist/src/json_schema/response/motion/temperature.yml", "./response/plugin/frame.yml": "./dist/src/json_schema/response/plugin/frame.yml", "./response/plugin/index.yml": "./dist/src/json_schema/response/plugin/index.yml", "./response/plugin/receive.yml": "./dist/src/json_schema/response/plugin/receive.yml", "./response/spi/index.yml": "./dist/src/json_schema/response/spi/index.yml", "./response/spi/read.yml": "./dist/src/json_schema/response/spi/read.yml", "./response/storage/index.yml": "./dist/src/json_schema/response/storage/index.yml", "./response/storage/read.yml": "./dist/src/json_schema/response/storage/read.yml", "./response/switch/change.yml": "./dist/src/json_schema/response/switch/change.yml", "./response/switch/index.yml": "./dist/src/json_schema/response/switch/index.yml", "./response/system/index.yml": "./dist/src/json_schema/response/system/index.yml", "./response/system/pong.yml": "./dist/src/json_schema/response/system/pong.yml", "./response/system/timestamp.yml": "./dist/src/json_schema/response/system/timestamp.yml", "./response/tcp/connect.yml": "./dist/src/json_schema/response/tcp/connect.yml", "./response/tcp/connection.yml": "./dist/src/json_schema/response/tcp/connection.yml", "./response/tcp/index.yml": "./dist/src/json_schema/response/tcp/index.yml", "./response/tcp/read.yml": "./dist/src/json_schema/response/tcp/read.yml", "./response/uart/index.yml": "./dist/src/json_schema/response/uart/index.yml", "./response/uart/receive.yml": "./dist/src/json_schema/response/uart/receive.yml", "./response/wifi/index.yml": "./dist/src/json_schema/response/wifi/index.yml", "./response/wifi/scan.yml": "./dist/src/json_schema/response/wifi/scan.yml", "./response/ws/index.yml": "./dist/src/json_schema/response/ws/index.yml", "./response/ws/obniz.yml": "./dist/src/json_schema/response/ws/obniz.yml", "./response/ws/ready.yml": "./dist/src/json_schema/response/ws/ready.yml", "./response/ws/redirect.yml": "./dist/src/json_schema/response/ws/redirect.yml" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "./dist/src/json_schema sync recursive \\.yml$"; /***/ }), /***/ "./dist/src/json_schema/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/","definitions":{"pinSetting":{"id":"pinSetting","type":"integer","minimum":0,"maximum":40,"default":null},"bleAdvertiseData":{"id":"bleAdvertiseData","type":"array","default":null,"maxItems":31,"items":{"type":"integer","minimum":0,"maximum":255}},"dataArray32":{"id":"dataArray32","type":"array","default":null,"maxItems":32,"items":{"type":"integer","minimum":0,"maximum":255}},"dataArray1024":{"id":"dataArray1024","type":"array","default":null,"maxItems":1024,"items":{"type":"integer","minimum":0,"maximum":255}},"bitArray":{"id":"bitArray","type":"array","default":null,"items":{"type":"integer","minimum":0,"maximum":1}},"dataArray":{"id":"dataArray","type":"array","default":null,"items":{"type":"integer","minimum":0,"maximum":255}},"imageDataArray":{"id":"imageDataArray","type":"array","minItems":0,"items":{"type":"integer","minimum":0}},"hexString":{"id":"hexString","type":"string","default":null,"pattern":"^([0-9a-fA-F]+)$"},"uuid":{"id":"uuid","type":"string","pattern":"^([-0-9a-fA-F]+)$","minLength":4,"maxLength":36},"uuidOrNull":{"id":"uuidOrNull","type":["string","null"],"pattern":"^([-0-9a-fA-F]+)$","minLength":4,"maxLength":36},"uuidOrNullOrEmpty":{"id":"uuidOrNullOrEmpty","type":["string","null"],"pattern":"^([-0-9a-fA-F]*)$","minLength":0,"maxLength":36},"deviceAddress":{"id":"deviceAddress","type":"string","pattern":"^([0-9a-fA-F]+)$","minLength":12,"maxLength":12},"deviceAddressOrEmpty":{"id":"deviceAddressOrEmpty","type":"string","pattern":"^([0-9a-fA-F]*)$","minLength":0,"maxLength":12},"obnizId":{"id":"obnizId","type":["string","integer"],"pattern":"^[0-9]{4}-?[0-9]{4}$","minimum":0,"maximum":99999999}}} /***/ }), /***/ "./dist/src/json_schema/request/ad/deinit.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ad/deinit","type":"null"} /***/ }), /***/ "./dist/src/json_schema/request/ad/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ad","basePath":"ad0","anyOf":[{"$ref":"/request/ad/get"},{"$ref":"/request/ad/deinit"}]} /***/ }), /***/ "./dist/src/json_schema/request/ad/input.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ad/get","related":"/response/ad/get","desription":"enable & start ad module at io.","type":"object","required":["stream"],"properties":{"stream":{"type":"boolean","default":false}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/characteristic_get.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/characteristic_get","related":"/response/ble/central/characteristic_get","deprecated":"3.0.0","type":"object","required":["get_characteristics"],"properties":{"get_characteristics":{"type":"object","required":["address","service_uuid"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"},"service_uuid":{"$ref":"/uuid"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/characteristic_read.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/characteristic_read","related":"/response/ble/central/characteristic_read","deprecated":"3.0.0","type":"object","required":["read_characteristic"],"properties":{"read_characteristic":{"type":"object","required":["address","service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"},"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/characteristic_register_notify.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/characteristic_register_notify","related":"/response/ble/central/characteristic_register_notify","deprecated":"3.0.0","type":"object","required":["register_notify_characteristic"],"properties":{"register_notify_characteristic":{"type":"object","required":["address","service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"},"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/characteristic_unregister_notify.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/characteristic_unregister_notify","related":"/response/ble/central/characteristic_unregister_notify","deprecated":"3.0.0","type":"object","required":["unregister_notify_characteristic"],"properties":{"unregister_notify_characteristic":{"type":"object","required":["address","service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"},"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/characteristic_write.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/characteristic_write","related":"/response/ble/central/characteristic_write","deprecated":"3.0.0","type":"object","required":["write_characteristic"],"properties":{"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"},"needResponse":{"type":"boolean","default":true}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/connect.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/connect","related":"/response/ble/central/status_update","deprecated":"3.0.0","type":"object","required":["connect"],"properties":{"connect":{"type":"object","required":["address"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/descriptor_get.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/descriptor_get","related":"/response/ble/central/descriptor_get","deprecated":"3.0.0","type":"object","required":["get_descriptors"],"properties":{"get_descriptors":{"type":"object","required":["address","service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"},"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/descriptor_read.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/descriptor_read","related":"/response/ble/central/descriptor_read","deprecated":"3.0.0","type":"object","required":["read_descriptor"],"properties":{"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"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/descriptor_write.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/descriptor_write","related":"/response/ble/central/descriptor_write","deprecated":"3.0.0","type":"object","required":["write_descriptor"],"properties":{"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"},"needResponse":{"type":"boolean","default":true}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/disconnect.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/disconnect","deprecated":"3.0.0","type":"object","required":["disconnect"],"properties":{"disconnect":{"type":"object","required":["address"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central","basePath":"ble","anyOf":[{"$ref":"/request/ble/central/scan_start"},{"$ref":"/request/ble/central/scan_stop"},{"$ref":"/request/ble/central/connect"},{"$ref":"/request/ble/central/disconnect"},{"$ref":"/request/ble/central/service_get"},{"$ref":"/request/ble/central/characteristic_get"},{"$ref":"/request/ble/central/characteristic_read"},{"$ref":"/request/ble/central/characteristic_write"},{"$ref":"/request/ble/central/characteristic_register_notify"},{"$ref":"/request/ble/central/characteristic_unregister_notify"},{"$ref":"/request/ble/central/descriptor_get"},{"$ref":"/request/ble/central/descriptor_read"},{"$ref":"/request/ble/central/descriptor_write"}]} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/scan_start.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/scan_start","related":["/response/ble/central/scan","/response/ble/central/scan_finish"],"deprecated":"3.0.0","type":"object","required":["scan"],"properties":{"scan":{"type":"object","additionalProperties":false,"properties":{"duration":{"type":"integer","default":30}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/scan_stop.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/scan_stop","deprecated":"3.0.0","type":"object","required":["scan"],"properties":{"scan":{"type":"null"}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/central/service_get.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/central/service_get","related":"/response/ble/central/service_get","deprecated":"3.0.0","type":"object","required":["get_services"],"properties":{"get_services":{"type":"object","required":["address"],"additionalProperties":false,"properties":{"address":{"$ref":"/deviceAddress"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/hci/advertisement_filter.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/hci/advertisement_filter","type":"object","required":["hci"],"properties":{"hci":{"type":"object","required":["advertisement_filter"],"properties":{"advertisement_filter":{"type":"array","items":{"type":"object","required":["range"],"properties":{"range":{"type":"object","required":["index","length"],"properties":{"index":{"type":"integer","minimum":0,"maximum":255},"length":{"type":"integer","minimum":0,"maximum":255}}},"value":{"$ref":"/dataArray"}}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/hci/deinit.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/hci/deinit","type":"object","required":["hci"],"properties":{"hci":{"type":"null"}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/hci/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/hci","basePath":"ble","anyOf":[{"$ref":"/request/ble/hci/init"},{"$ref":"/request/ble/hci/deinit"},{"$ref":"/request/ble/hci/write"},{"$ref":"/request/ble/hci/advertisement_filter"}]} /***/ }), /***/ "./dist/src/json_schema/request/ble/hci/init.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/hci/init","type":"object","required":["hci"],"properties":{"hci":{"type":"object","required":["initialize"],"properties":{"initialize":{"type":"boolean"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/hci/write.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/hci/write","type":"object","required":["hci"],"properties":{"hci":{"type":"object","required":["write"],"properties":{"write":{"$ref":"/dataArray"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble","basePath":"ble","anyOf":[{"$ref":"/request/ble/peripheral"},{"$ref":"/request/ble/central"},{"$ref":"/request/ble/security"},{"$ref":"/request/ble/hci"}]} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/advertisement_start.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/advertisement_start","related":"/response/ble/peripheral/status","deprecated":"3.0.0","type":"object","required":["advertisement"],"properties":{"advertisement":{"type":"object","required":["adv_data"],"additionalProperties":false,"properties":{"adv_data":{"$ref":"/bleAdvertiseData"},"scan_resp":{"$ref":"/bleAdvertiseData"}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/advertisement_stop.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/advertisement_stop","deprecated":"3.0.0","type":"object","required":["advertisement"],"properties":{"advertisement":{"type":"null"}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/characteristic_notify.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/characteristic_notify","deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["notify_characteristic"],"properties":{"notify_characteristic":{"type":"object","required":["service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/characteristic_read.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/characteristic_read","related":"/response/ble/peripheral/characteristic_read","deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["read_characteristic"],"properties":{"read_characteristic":{"type":"object","required":["service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/characteristic_write.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/characteristic_write","related":"/response/ble/peripheral/characteristic_write","deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["write_characteristic"],"properties":{"write_characteristic":{"type":"object","required":["service_uuid","characteristic_uuid","data"],"additionalProperties":false,"properties":{"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"},"data":{"$ref":"/dataArray"}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/descriptor_read.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/descriptor_read","related":"/response/ble/peripheral/descriptor_read","deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["read_descriptor"],"properties":{"read_descriptor":{"type":"object","required":["service_uuid","characteristic_uuid"],"additionalProperties":false,"properties":{"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"},"descriptor_uuid":{"$ref":"/uuid"}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/descriptor_write.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/descriptor_write","related":"/response/ble/peripheral/descriptor_write","deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["write_descriptor"],"properties":{"write_descriptor":{"type":"object","required":["service_uuid","characteristic_uuid","descriptor_uuid","data"],"additionalProperties":false,"properties":{"service_uuid":{"$ref":"/uuid"},"characteristic_uuid":{"$ref":"/uuid"},"descriptor_uuid":{"$ref":"/uuid"},"data":{"$ref":"/dataArray"}}}}}}} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/index.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral","basePath":"ble","anyOf":[{"$ref":"/request/ble/peripheral/advertisement_start"},{"$ref":"/request/ble/peripheral/advertisement_stop"},{"$ref":"/request/ble/peripheral/service_start"},{"$ref":"/request/ble/peripheral/service_stop"},{"$ref":"/request/ble/peripheral/service_stop_all"},{"$ref":"/request/ble/peripheral/characteristic_read"},{"$ref":"/request/ble/peripheral/characteristic_write"},{"$ref":"/request/ble/peripheral/descriptor_read"},{"$ref":"/request/ble/peripheral/descriptor_write"}]} /***/ }), /***/ "./dist/src/json_schema/request/ble/peripheral/servie_start.yml": /***/ (function(module, exports) { module.exports = {"$schema":"http://json-schema.org/draft-04/schema#","id":"/request/ble/peripheral/service_start","related":["/response/ble/peripheral/status","/response/ble/peripheral/characteristic_notify_read","/response/ble/peripheral/characteristic_notify_write","/response/ble/peripheral/descriptor_notify_read","/response/ble/peripheral/descriptor_notify_write"],"deprecated":"3.0.0","type":"object","required":["peripheral"],"properties":{"peripheral":{"type":"object","required":["services"],"properties":{"services":{"type":"array","minItems":1,"items":{"type":"object","required":["uuid"],"additionalProperties":false,"properties":{"uuid":{"$ref":"/uuid"},"characteristics":{"type":"array","minItems":0,"items":{"type":"object","required":["uuid"],"additionalProperties":false,"properties":{"uuid":{"$ref":"/uuid"},"data":{"$ref":"/dataArray"},"properties":{"type":"array","default":["read","write"],"items":{"type":"string","enum":["broadcast","read","write_without_response","write","notify","indicate","auth","extended_properties"]}},"permissions":{"type":