2.0.0-alpha.11 • Published 7 months ago
@novastar/net v2.0.0-alpha.11
@novastar/net
Net binding for @novastar/codec.
Go to API documentation.
Installation
Using npm:
$ npm install --save @novastar/net@next
or yarn:
$ yarn add @novastar/net@next
Usage:
import net, { findNetDevices } from '@novastar/net';
const [address] = await findNetDevices();
if (address) {
session = net.open(address);
}
const writeReq = new Request([255]);
writeReq.deviceType = DeviceType.ReceivingCard;
writeReq.address = 0x02000001;
await session.connection.send(writeReq);
// Close all network sessions
net.release();
2.0.0-alpha.11
7 months ago
2.0.0-alpha.9
1 year ago
2.0.0-alpha.7
2 years ago
2.0.0-alpha.8
2 years ago
2.0.0-alpha.3
2 years ago
2.0.0-alpha.5
2 years ago
2.0.0-alpha.6
2 years ago
2.0.0-alpha.2
2 years ago
2.0.0-alpha.1
2 years ago
2.0.0-alpha.0
2 years ago