rscada / libmbus

Meter-bus library and utility programs
http://www.rscada.se/libmbus
BSD 3-Clause "New" or "Revised" License
217 stars 137 forks source link

Support for application layer Mode 2 CI Field (0x76 and 0x77) #115

Open jferreirasetesys opened 7 years ago

jferreirasetesys commented 7 years ago

I have a Bus with a mix of slaves, and some of them respond using Mode1 and others Mode2. It is not working and for what i have seen I presume that it is not implemented. Can anyone help me confirm this issue?

mmuruev commented 7 years ago

Yesterday dealt with this. Actually CI hard coded in the function user send call. Why? No idea. Change it manually. Better solution will be overload function with C and CI fields. This is true it you're using CLI utils. but maybe for direct call you can set it, by create frame manually in your code.