Options
All
  • Public
  • Public/Protected
  • All
Menu

@powered-up/protocol

Package Version

A partial implementation of the LEGO® Powered Up BLE protocol in JavaScript.

This package is part of PoweredUpJS.

Disclaimer: LEGO® is a trademark of the LEGO Group of companies which does not sponsor, authorize or endorse this software.

Getting started

Install @powered-up/protocol as a dependency:

# Install using Yarn
yarn add @powered-up/protocol
# Install using npm
npm install @powered-up/protocol

Copyright (c) 2018-present, Clemens Akens. Released under the terms of the MIT License.

Index

Type aliases

DeviceInfo

Input

ModeInfo

Output

PortInput

PropertyUpdate

Functions

parseInput

  • parseInput(data: Buffer): Input | undefined

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc