Add COMMB_AMBIGUOUS for Comm-B messages we're not sure of (not yet used)

This commit is contained in:
Oliver Jowett 2019-05-02 17:29:04 +08:00
parent 1b5b0dfa03
commit d33b1160f2
2 changed files with 3 additions and 0 deletions

View file

@ -196,6 +196,7 @@ typedef enum {
typedef enum { typedef enum {
COMMB_UNKNOWN, COMMB_UNKNOWN,
COMMB_AMBIGUOUS,
COMMB_EMPTY_RESPONSE, COMMB_EMPTY_RESPONSE,
COMMB_DATALINK_CAPS, COMMB_DATALINK_CAPS,
COMMB_GICB_CAPS, COMMB_GICB_CAPS,

View file

@ -1569,6 +1569,8 @@ static const char *commb_format_to_string(commb_format_t format) {
switch (format) { switch (format) {
case COMMB_EMPTY_RESPONSE: case COMMB_EMPTY_RESPONSE:
return "empty response"; return "empty response";
case COMMB_AMBIGUOUS:
return "ambiguous format";
case COMMB_DATALINK_CAPS: case COMMB_DATALINK_CAPS:
return "BDS1,0 Datalink capabilities"; return "BDS1,0 Datalink capabilities";
case COMMB_GICB_CAPS: case COMMB_GICB_CAPS: