iShafayet / node-astm

Read ASTM data from serial port
MIT License
15 stars 16 forks source link

How to write and send an ASTM frame to medical equipment #8

Open Ahmed-Sarmoum opened 2 years ago

Ahmed-Sarmoum commented 2 years ago

I am currently working on the ASTM protocol using node js, the problem is I can't send a message to the equipment correctly for example, I want to send this msg:

let msg = "H|!~|||LISHOST|||||||P|LIS2-A2|20040318235959 P|1||12345677||AHMED!SARMOUM||20120112!4!Y|M||||| O|1|SID_133||!!!CD|||20160510111238||||N||||WB L|1|N"

The current target machine is SELECTRA and COBAS E411