@tequin/mcumgr
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

MCU Manager (Web Bluetooth)

This library is forked from boogie's webapp: https://github.com/boogie/mcumgr-web, converted to TypeScript and published to https://www.npmjs.com/package/@tequin/mcumgr for convenience.

This library provides access to MCU Manager that can manage remote devices running Mynewt OS or Zephyr RTOS. It uses a connection profile to establish a connection with a device and sends command requests to the device.

The main focus is implementing firmware updates via Web Bluetooth, however other commands might be supported as well.

The Web Bluetooth API provides the ability to connect and interact with Bluetooth Low Energy peripherals. You’ll find Web Bluetooth:

  • on the desktop (or laptop) in Chrome, Edge and Opera browsers (make sure you have the latest)
  • on Android phones in Chrome (perhaps in Edge or Opera?)
  • on iOS or iPadOS there is Bluefy that seems to be working.

Safari, Chrome, Edge and Opera on iOS are using the Safari WebKit engine which not yet supports Web Bluetooth. Mobile and desktop Firefox is not implemented it yet, too.

You can try MCU Manager by visiting https://boogie.github.io/mcumgr-web/ with a supported browser. For security reasons, Web Bluetooth is only working on https addresses or localhost.

Install

npm install @tequin/mcumgr

Readme

Keywords

Package Sidebar

Install

npm i @tequin/mcumgr

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

45.6 kB

Total Files

5

Last publish

Collaborators

  • tequin