From d211c3cbcbace176892dd9333102a8fbd2c21d01 Mon Sep 17 00:00:00 2001 From: Stefan Wahren Date: Wed, 3 Oct 2012 23:03:05 +0200 Subject: [PATCH] new function mbus_frame_direction to get the direction of a frame (slave to master or vice versa) --- mbus/mbus-protocol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/mbus/mbus-protocol.h b/mbus/mbus-protocol.h index 8ec0ce6..f1e9d06 100755 --- a/mbus/mbus-protocol.h +++ b/mbus/mbus-protocol.h @@ -555,6 +555,7 @@ const char *mbus_data_fixed_function(int status); // M-Bus frame data struct access/write functions // int mbus_frame_type(mbus_frame *frame); +int mbus_frame_direction(mbus_frame *frame); // // Slave status data register.