mirror of https://github.com/sfeakes/AqualinkD.git
Update serial_logger.c
parent
000ccca55f
commit
57978e4419
|
@ -32,8 +32,10 @@
|
|||
#include "packetLogger.h"
|
||||
#include "rs_msg_utils.h"
|
||||
|
||||
// Make us look lie config.c when we load config.h
|
||||
#define CONFIG_C
|
||||
#ifdef SERIAL_LOGGER
|
||||
// Make us look lie config.c when we load config.h
|
||||
#define CONFIG_C
|
||||
#endif
|
||||
#include "config.h"
|
||||
|
||||
#define SLOG_MAX 80
|
||||
|
@ -435,13 +437,13 @@ int main(int argc, char *argv[]) {
|
|||
//int logLevel;
|
||||
//char buffer[256];
|
||||
//bool idMode = true;
|
||||
|
||||
|
||||
// aq_serial.c uses the following
|
||||
_aqconfig_.readahead_b4_write = false;
|
||||
_aqconfig_.log_protocol_packets = false;
|
||||
_aqconfig_.log_raw_bytes = false;
|
||||
_aqconfig_.ftdi_low_latency = true;
|
||||
|
||||
|
||||
printf("AqualinkD %s\n",VERSION);
|
||||
|
||||
if (getuid() != 0) {
|
||||
|
@ -888,4 +890,4 @@ Jandy From 0x58 of type Unknown '0x1a' | HEX: 0x10|0x02|0x00|0x1a|0x56|0x00|
|
|||
Jandy To 0x58 of type Probe | HEX: 0x10|0x02|0x58|0x00|0x6a|0x10|0x03|
|
||||
Jandy From 0x58 of type Unknown '0x1a' | HEX: 0x10|0x02|0x00|0x1a|0x56|0x00|0x4d|0xc2|0x31|0x42|0x41|0x36|0x32|0x38|0x32|0x35|0x42|0x37|0x43|0x36|0x39|0x41|0x34|0x43|0x43|0x36|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0xff|0xff|0xff|0x52|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0x00|0xf7|0x10|0x03|
|
||||
|
||||
********************************************/
|
||||
********************************************/
|
||||
|
|
Loading…
Reference in New Issue