0.1.1 • Published 2 years ago

@gallofeliz/beewi-reader v0.1.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Beewi Reader

npm.io

Note: This module is part of @gallofeliz/js-libs that is a personal project. It is not developed nor tested for applications that need high security or scalability.

import { readBeewiDevice, BeewiDeviceReader } from '@gallofeliz/beewi-reader'

await readBeewiDevice({
    logger,
    device: 'hci0',
    hmac: 'xx:xx:xx:xx:xx:xx'
})

const reader = new BeewiDeviceReader({
    logger,
    // ...
})

await reader.read({hmac: 'xx:xx:xx:xx:xx:xx', device: 'hci0'})