UNPKG

node-bebop

Version:

Node.js JavaScript library for the Parrot Bebop

18 lines (10 loc) 356 B
"use strict"; var commandToBuffer = require("./commandToBuffer"); var PROState = module.exports = function(self) { this.self = self; }; PROState.prototype.features = function(features) { var buffer = commandToBuffer(1, "PROState", "Features", features); this.self._writePacket(this.self._networkFrameGenerator(buffer)); return this.self; };