24 #include "../../acomms/driver_tester/driver_tester.h" 25 #include "goby/acomms/modemdriver/iridium_driver.h" 27 boost::shared_ptr<goby::acomms::ModemDriverBase> driver1, driver2;
29 int main(
int argc,
char* argv[])
48 glider_cfg.set_modem_id(1);
49 glider_cfg.set_connection_type(goby::acomms::protobuf::DriverConfig::CONNECTION_TCP_AS_CLIENT);
50 glider_cfg.set_tcp_server(
"127.0.0.1");
51 glider_cfg.set_reconnect_interval(1);
52 glider_cfg.set_tcp_port(4001);
54 shore->set_iridium_number(
"6001");
55 shore->set_modem_id(2);
56 glider_cfg.AddExtension(IridiumDriverConfig::config,
"+GSN");
59 shore_cfg.set_modem_id(2);
60 shore_cfg.set_connection_type(goby::acomms::protobuf::DriverConfig::CONNECTION_TCP_AS_CLIENT);
61 shore_cfg.set_tcp_server(
"127.0.0.1");
62 shore_cfg.set_reconnect_interval(1);
63 shore_cfg.set_tcp_port(4002);
65 gumstix->set_iridium_number(
"6001");
66 gumstix->set_modem_id(2);
102 std::vector<int> tests_to_run;
103 tests_to_run.push_back(4);
104 tests_to_run.push_back(5);
106 DriverTester tester(driver1, driver2, glider_cfg, shore_cfg, tests_to_run,
107 goby::acomms::protobuf::DRIVER_IRIDIUM);
void set_name(const std::string &s)
Set the name of the application that the logger is serving.
common::FlexOstream glog
Access the Goby logger through this object.
void add_stream(logger::Verbosity verbosity=logger::VERBOSE, std::ostream *os=0)
Attach a stream object (e.g. std::cout, std::ofstream, ...) to the logger with desired verbosity...