Displaying 1 result from an estimated 1 matches for "b_msg".
Did you mean:
e_msg
2006 Oct 11
2
Adding TrippLite SMART550 / Protocol 2001 Support
...status_set("OL");
+ }
+ }
+
if(tl_model == TRIPP_LITE_SMARTPRO) {
switch(s_value[2]) {
case '0':
@@ -949,7 +991,7 @@
status_commit();
- if( tl_model == TRIPP_LITE_OMNIVS ) {
+ if( tl_model == TRIPP_LITE_OMNIVS || tl_model == TRIPP_LITE_OMNIVS2 ) {
ret = send_cmd(b_msg, sizeof(b_msg), b_value, sizeof(b_value));
if(ret <= 0) {
dstate_datastale();
@@ -1037,6 +1079,7 @@
switch(tl_model) {
case TRIPP_LITE_OMNIVS:
+ case TRIPP_LITE_OMNIVS2:
dstate_setinfo("output.voltage", "%.1f", hex2d(l_value+1, 4)/2.0);
break;
case T...