added beacon period diagnostic

This commit is contained in:
Jeff Hill
2001-01-27 00:13:39 +00:00
parent 55bd72a6b1
commit 5882c4d675
9 changed files with 51 additions and 6 deletions

View File

@@ -15,6 +15,8 @@
* 505 665 1831
*/
#include <float.h>
#include "iocinf.h"
cacChannel::cacChannel () : pChannelIO (0)
@@ -197,6 +199,17 @@ unsigned cacChannel::searchAttempts () const
}
}
double cacChannel::beaconPeriod () const
{
cacChannelIO *pIO = this->pChannelIO;
if ( pIO ) {
return pIO->beaconPeriod ();
}
else {
return - DBL_MAX;
}
}
bool cacChannel::ca_v42_ok () const
{
cacChannelIO *pIO = this->pChannelIO;