From 12f2d905ce24567849a7b8b67965a4e486f2dc41 Mon Sep 17 00:00:00 2001 From: Gerolf Ziegenhain Date: Sun, 4 Jan 2015 15:02:18 +0100 Subject: [PATCH] started separating protocol. --- src/cwprotocol.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/cwprotocol.c b/src/cwprotocol.c index e69de29..326e28e 100644 --- a/src/cwprotocol.c +++ b/src/cwprotocol.c @@ -0,0 +1,9 @@ + id_packet.command = DAT; + id_packet.length = 492; + snprintf(id_packet.id, 128, id, "%s"); + id_packet.sequence = 0; + id_packet.n = 0; + snprintf(id_packet.status, 128, "irmc v0.02"); + id_packet.a21 = 1; /* These magic numbers was provided by Les Kerr */ + id_packet.a22 = 755; + id_packet.a23 = 65535;