Hello,
I am trying to send a sequence to a motorized magnetic card reader.
I have to send, for instance, to eject the card, the following sequence
0x02 0x00 0x02 0x32 0x30 0x03 0x01
The manual states that communication format is:
Eject Card Command = 0x30
STX Command ETX BCC
How can I convert this sequence to bytes to send via Asyncstreams ?
I am trying to send a sequence to a motorized magnetic card reader.
I have to send, for instance, to eject the card, the following sequence
0x02 0x00 0x02 0x32 0x30 0x03 0x01
The manual states that communication format is:
Eject Card Command = 0x30
STX Command ETX BCC
How can I convert this sequence to bytes to send via Asyncstreams ?