Typescript library for controlling DJI Osmo Action 3/4/5 and Pocket 3 using BLE (Bluetooth Low Energy)
Features:
- Pairing
- Connecting to Wi-Fi
- Selecting resolution, FPS, bitrate and stabilizer mode
- Going live to a specified RTMP server
- Getting battery percentage
This project is intended to be used with the latest Active LTS release of Node.js.
For usage examples, please check the examples folder. Proper API documentation is coming at some point.
BLE (noble library) acts differently on each platform. I have not got this library fully stable yet. PRs are welcome.
clean
- remove coverage data, Jest cache and transpiled files,prebuild
- lint source files and tests before building,build
- transpile TypeScript to ES6,build:watch
- interactive watch mode to automatically transpile source files,lint
- lint source files and tests,prettier
- reformat files,test
- run tests,test:watch
- interactive watch mode to automatically re-run tests
This library would not be possible without these great people and projects:
- Spillmaker - Initial reverse-engineering of the protocol
- Moblin - Implementation was highly inspired from this project
Licensed under the MIT License. See the LICENSE file for details.