Skip to content

jormc/z21

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

z21

A Z21 client library made with Nodejs & Typescript to connect via http / udp protocols with the connected device(s).


How does it works?

In this version only two ts files are included:

  • src/z21Client.ts: this is the main Z21 udp client, only the public sendRequest(command: Buffer): Promise function is supported by the now
  • src/app.ts: this is the main app file, just gets the Z21 serial number

Test this version

On this version you can simply use the app.ts module that uses the z21Client.ts.

Launch the demo app with:

$ npm run demo

and see what's happend...


Next steps

Work is in progres...

Any contribution will be welcome :-)




Revisions

  • 0.0.1b (2022-02-01)

    First version of the library. Project is started, including a very very simple udp socket client that connects with the Z21 device and accepts http requests. Also a very very simple app that uses this client is included.