You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PULSE is a layered protocol stack. The link layer provides integrity-assured delivery of packet data. On top of the link layer is a suite of transport protocols which provide multiprotocol delivery of application datagrams with or without guaranteed reliable in-order delivery. Application protocols use one or more of the available transports to exchange datagrams between the firmware running on a board and a host workstation.
5
+
6
+
This repo provides a TypeScript implementation of the protocol stack with minimal dependencies.
7
+
8
+
Example usage:
9
+
--------------
10
+
11
+
```
12
+
import SerialPort from 'serialport';
13
+
14
+
const port = new SerialPort('/dev/cu.usbmodem01013');
15
+
const intf = Interface.create(port); // Port can be any duplex stream
16
+
17
+
intf.getLink(async link => {
18
+
const transportType = 'reliable'; // reliable or bestEffort
19
+
const port = 0x3e20; // Port number specific to your usage, must be <= 65535
0 commit comments