new function mbus_frame_direction to get the direction of a frame
(slave to master or vice versa)
This commit is contained in:
@ -555,6 +555,7 @@ const char *mbus_data_fixed_function(int status);
|
|||||||
// M-Bus frame data struct access/write functions
|
// M-Bus frame data struct access/write functions
|
||||||
//
|
//
|
||||||
int mbus_frame_type(mbus_frame *frame);
|
int mbus_frame_type(mbus_frame *frame);
|
||||||
|
int mbus_frame_direction(mbus_frame *frame);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Slave status data register.
|
// Slave status data register.
|
||||||
|
Reference in New Issue
Block a user