Skip to content
/ pynbp Public

Python Numeric Broadcast Protocol Implementation

License

Notifications You must be signed in to change notification settings

tmkdev/pynbp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pynbp - Python Numeric Broadcast Protocol

Python Numeric Broadcast Protocol

This module implements HP Tuners / Track Addict Numeric Broadcast Protocol

http://racerender.com/TrackAddict/docs/NBP%20Specification%20V1.pdf

Example: $ python examples/example1.py

Attributes: nbpqueue - queue.Queue() for sending payloads into the class - Format: NbpPayload(timetamp, packettype, kpilist) device: Bluetooth Serial device for comms device_name: Device name sent via metadata packet to host protocol_version: NBP1 as defined. max_update_interval: Minimum interval to send packets. If using this with high rate senders, send 'ALL' packets as updates will miss updates.

See racerender docs for unit types.

Supports WiFi / Socket connections now (0.0.7)

Requirements:

  • pyserial

Install: pip install pynbp or python setup.py install