Skip to content

goroya/node-thetav

Repository files navigation

node-thetav

Node.js Library for Ricoh Theta V

Install

npm install --save node-thetav

Require

import thetav from 'node-thetav';
const httpApi = thetav.http;
const bleApi = thetav.ble;

Usage

import thetav from 'node-thetav';
const httpApi = thetav.http;
const bleApi = thetav.ble;

(async () => {
    try {
        await httpApi.cameraSetBluetoothDevice('11111111-1111-1111-1111-111111111111');
        await bleApi.init();
        await bleApi.setAuthBluetoothDevice(
            '11111111-1111-1111-1111-111111111111'
        );
        await bleApi.setTakePicture(1);
    } catch (err) {
        console.error(err);
    }
})();

About

Node.js Theta V Library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published