├── .eslintignore ├── .eslintrc.json ├── .github ├── dependabot.yml └── workflows │ ├── build.yml │ ├── docs.yml │ └── prebuild.yml ├── .gitignore ├── .gitmodules ├── .npmignore ├── .vscode ├── launch.json └── tasks.json ├── CHANGELOG.md ├── CMakeLists.txt ├── LICENSE ├── README.md ├── binding-options.js ├── examples ├── eddystone.js ├── heartrate.js ├── list-adapters.js ├── list.js ├── microbits.js └── selector.js ├── firmware ├── MICROBIT.hex ├── codal.json └── main.cpp ├── index.html ├── lib ├── adapter.cpp ├── adapter.h ├── bindings.cpp ├── peripheral.cpp └── peripheral.h ├── package.json ├── src ├── adapters │ ├── adapter.ts │ ├── index.ts │ ├── noble-adapter.ts │ ├── simpleble-adapter.ts │ └── simpleble.ts ├── bluetooth.ts ├── browser.ts ├── characteristic.ts ├── descriptor.ts ├── device.ts ├── events.ts ├── index.ts ├── server.ts ├── service.ts └── uuid.ts ├── test ├── bluetooth.test.js └── mocha.setup.js ├── tsconfig.json ├── typedoc.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | build 3 | dist 4 | docs 5 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.github/workflows/prebuild.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.github/workflows/prebuild.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.gitmodules -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.npmignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/.vscode/tasks.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/README.md -------------------------------------------------------------------------------- /binding-options.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/binding-options.js -------------------------------------------------------------------------------- /examples/eddystone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/eddystone.js -------------------------------------------------------------------------------- /examples/heartrate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/heartrate.js -------------------------------------------------------------------------------- /examples/list-adapters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/list-adapters.js -------------------------------------------------------------------------------- /examples/list.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/list.js -------------------------------------------------------------------------------- /examples/microbits.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/microbits.js -------------------------------------------------------------------------------- /examples/selector.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/examples/selector.js -------------------------------------------------------------------------------- /firmware/MICROBIT.hex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/firmware/MICROBIT.hex -------------------------------------------------------------------------------- /firmware/codal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/firmware/codal.json -------------------------------------------------------------------------------- /firmware/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/firmware/main.cpp -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/index.html -------------------------------------------------------------------------------- /lib/adapter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/lib/adapter.cpp -------------------------------------------------------------------------------- /lib/adapter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/lib/adapter.h -------------------------------------------------------------------------------- /lib/bindings.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/lib/bindings.cpp -------------------------------------------------------------------------------- /lib/peripheral.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/lib/peripheral.cpp -------------------------------------------------------------------------------- /lib/peripheral.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/lib/peripheral.h -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/package.json -------------------------------------------------------------------------------- /src/adapters/adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/adapters/adapter.ts -------------------------------------------------------------------------------- /src/adapters/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/adapters/index.ts -------------------------------------------------------------------------------- /src/adapters/noble-adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/adapters/noble-adapter.ts -------------------------------------------------------------------------------- /src/adapters/simpleble-adapter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/adapters/simpleble-adapter.ts -------------------------------------------------------------------------------- /src/adapters/simpleble.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/adapters/simpleble.ts -------------------------------------------------------------------------------- /src/bluetooth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/bluetooth.ts -------------------------------------------------------------------------------- /src/browser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/browser.ts -------------------------------------------------------------------------------- /src/characteristic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/characteristic.ts -------------------------------------------------------------------------------- /src/descriptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/descriptor.ts -------------------------------------------------------------------------------- /src/device.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/device.ts -------------------------------------------------------------------------------- /src/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/events.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/server.ts -------------------------------------------------------------------------------- /src/service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/service.ts -------------------------------------------------------------------------------- /src/uuid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/src/uuid.ts -------------------------------------------------------------------------------- /test/bluetooth.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/test/bluetooth.test.js -------------------------------------------------------------------------------- /test/mocha.setup.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/typedoc.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thegecko/webbluetooth/HEAD/yarn.lock --------------------------------------------------------------------------------