mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Add transmit support for ISO 9141-2
This commit is contained in:
@@ -12,6 +12,7 @@ class ISO9141Message : public Message {
|
||||
public:
|
||||
std::array<uint8_t, 3> header;
|
||||
bool isInit = false;
|
||||
bool isBreak = false;
|
||||
bool framingError = false;
|
||||
bool overflowError = false;
|
||||
bool parityError = false;
|
||||
|
||||
@@ -12,8 +12,12 @@
|
||||
namespace icsneo {
|
||||
|
||||
typedef uint16_t icscm_bitfield;
|
||||
class Packetizer;
|
||||
|
||||
struct HardwareISO9141Packet {
|
||||
static bool EncodeFromMessage(const ISO9141Message& message, std::vector<uint8_t>& bytestream,
|
||||
const device_eventhandler_t& report, const Packetizer& packetizer);
|
||||
|
||||
class Decoder {
|
||||
public:
|
||||
std::shared_ptr<ISO9141Message> decodeToMessage(const std::vector<uint8_t>& bytestream);
|
||||
|
||||
Reference in New Issue
Block a user