summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-08 10:50:45 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-08 10:50:45 +0100
commita4361e2d585daa00b0480b7bb059ce1e47857288 (patch)
treee5f044f9324a1b8a65d3bac8c2d44a7dc295dea9
parentc377f001e2f19aba95b89affd71592cc8e5866bc (diff)
downloadecon-a4361e2d585daa00b0480b7bb059ce1e47857288.tar.gz
econ-a4361e2d585daa00b0480b7bb059ce1e47857288.tar.bz2
econ-a4361e2d585daa00b0480b7bb059ce1e47857288.zip
econproto: Add cmd with id 25
Unknown yet what it does, but its send by the client as last step of connection..
-rw-r--r--econproto.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/econproto.h b/econproto.h
index 5fc99ab..8790310 100644
--- a/econproto.h
+++ b/econproto.h
@@ -187,8 +187,13 @@ typedef struct {
uint16_t height;
} e_command_cmd22;
+typedef struct {
+ uint32_t unknown_field1;
+ uint32_t unknown_field2;
+} e_command_cmd25;
+
-struct econ_header{
+struct econ_header {
char magicnum[ECON_MAGICNUM_SIZE];
char version[ECON_PROTOVER_MAXLEN];
uint8_t IPaddress[ECON_IPADDRESS_SIZE];
@@ -196,7 +201,7 @@ struct econ_header{
uint32_t datasize;
};
-struct econ_command{
+struct econ_command {
uint8_t recordCount;
uint8_t implicit_padding[3];
union e_commands {
@@ -208,6 +213,7 @@ struct econ_command{
e_command_sendkey sendkey;
e_command_cmd22 cmd22;
+ e_command_cmd25 cmd25;
} command;
};