New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

unpi

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unpi

Unified Network Processor Interface for Texas Instruments Wireless SoCs.

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
2
Created
Source

unpi

Unified Network Processor Interface for Texas Instruments Wireless SoCs.

NPM

Travis branch npm npm


Documentation

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.

Keywords

npi

FAQs

Package last updated on 14 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts