@ -78,7 +78,7 @@ bool CDVAPDongle::Initialize(const char *devpath, const char *serialno, const in
for (int i = 0; i < 32; i++)
{
sprintf(device, "/dev/ttyUSB%d", i);
printf("Trying device %s...\n", device);
if (open_device(device))
if (get_ser(device, serialno))
@ -49,7 +49,7 @@
#include "DStarDecode.h"
#include "QnetDVAP.h"
#define DVAP_VERSION "QnetDVAP-526"
#define DVAP_VERSION "QnetDVAP-220429"
#define CALL_SIZE 8
#define IP_SIZE 15
@ -611,7 +611,7 @@ int CQnetModem::SendToModem(const unsigned char *buf)
if (EAGAIN != errno)
printf("Error %d writing to dvap, message=%s\n", errno, strerror(errno));
printf("Error %d writing to modem, message=%s\n", errno, strerror(errno));
return -1;
}
Powered by TurnKey Linux.