1.1.1 • Published 5 years ago

unpi v1.1.1

Weekly downloads
53
License
MIT
Repository
github
Last release
5 years ago

unpi

Unified Network Processor Interface for Texas Instruments Wireless SoCs.

NPM

Travis branch npm npm

Please visit the Wiki.

Overview

The unpi is the packet builder and parser for Texas Instruments Unified Network Processor Interface (UNPI) used in RF4CE, BluetoothSmart, and ZigBee wireless SoCs. As stated in TI's wiki page:

TI's Unified Network Processor Interface (NPI) is used for establishing a serial data link between a TI SoC and external MCUs or PCs. This is mainly used by TI's network processor solutions.

Installation

$ npm install unpi --save

Usage

Here is an quick example. See Usage on the Wiki for details.

var Unpi = require('unpi'),
    SerialPort = require("serialport").SerialPort;

var sp = new SerialPort("/dev/ttyUSB0", {
        baudrate: 57600
    }),
    unpi = new Unpi({
        lenBytes: 1
        phy: sp
    });

unpi.on('data', function (data) {
    console.log(data);  // The parsed data receiving from the serial port
});

License

Licensed under MIT.

1.1.1

5 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago

0.1.0

8 years ago

0.9.8

8 years ago

0.9.7

8 years ago

0.9.6

8 years ago

0.9.4

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago

0.9.0

8 years ago

0.8.3

8 years ago

0.8.2

8 years ago

0.8.1

8 years ago

0.8.0

8 years ago