Skip to content

Commit

Permalink
Added option to disable mailbox check on empty Iridium SDB messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaubergine committed May 8, 2017
1 parent a07914b commit f7ad945
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/acomms/modemdriver/iridium_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,8 @@ void goby::acomms::IridiumDriver::process_transmission(protobuf::ModemTransmissi
}
else if(msg.rate() == RATE_SBD)
{
fsm_.process_event(fsm::EvSBDBeginData()); // mailbox check
if(msg.GetExtension(IridiumDriverConfig::if_no_data_do_mailbox_check))
fsm_.process_event(fsm::EvSBDBeginData()); // mailbox check
}
}

Expand Down
6 changes: 6 additions & 0 deletions src/acomms/protobuf/iridium_driver.proto
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ message IridiumDriverConfig
optional bool use_dtr = 1390 [default = false];
optional int32 handshake_hangup_seconds = 1392 [default = 5];
}

extend goby.acomms.protobuf.ModemTransmission
{
optional bool if_no_data_do_mailbox_check = 1381 [default = true];
}

}

// subset of goby.acomms.protobuf.ModemTransmission
Expand Down

0 comments on commit f7ad945

Please sign in to comment.