INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
serialconnectivity.h00001 // test connectivity to a [serial] device at a [baudrate]; 00002 // Assumes that you can figure out a [challenge] (command ...) to 00003 // which the device will answer with a unique [ack] in [timeOutMsec] milliseconds. 00004 // If [successThresh] or more [challenge]es are answered by an [ack] 00005 // 00006 // Limitations: amount of data expected before timeOutMsec should be 00007 // reasonably small 00008 // 00009 // returns 0 for Success; -1 for failure 00010 bool testConnectivity( 00011 std::string &challenge, 00012 std::string &ack, 00013 gbxserialacfr::Serial& serial, 00014 int timeOutMsec, 00015 int numTry, 00016 int successThresh, 00017 int baudrate); |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)