Skip to content

Commit

Permalink
Patch to try to recognize SP200 ping messages
Browse files Browse the repository at this point in the history
TODO: This isn't a permanent fix, there's probably some better
      indicator than the message's size. Now that we've got
      two logs to work with from different devices this may
      become clearer.
  • Loading branch information
scherererer committed Jan 22, 2018
1 parent cd9c145 commit feeb1c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion library/sonarphony/sonarMsg.C
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ sonarMsg_t::type_t sonarMsg_t::type () const
{
case 10: return T_BUSY;
case 32: return T_HANDSHAKE;
case 340: return T_PING;
case 340: return T_PING; // T-POD
case 360: return T_PING; // SP200
default: return T_UNKNOWN;
}
}
Expand Down

1 comment on commit feeb1c2

@scherererer
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1

Please sign in to comment.