diff --git a/Dockerfile b/Dockerfile index 2667c55..7081bbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN sed -i "s%http://archive.ubuntu.com/ubuntu/%${APT_URL}%" /etc/apt/sources.li # Update packages and install dependencies RUN apt-get update && apt-get -y upgrade && apt-get -y clean RUN apt-get install -y protobuf-compiler libh2o-dev libcurl4-openssl-dev \ - libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libeigen3-dev \ + libssl-dev libprotobuf-dev libh2o-evloop-dev libwslay-dev libeigen3-dev libzstd-dev \ make gcc g++ git build-essential curl autoconf automake libfmt-dev libncurses5-dev \ && apt-get -y clean diff --git a/README.md b/README.md index d054790..52b1654 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ To build everything, including the webserver, try: ``` apt-get install protobuf-compiler libh2o-dev libcurl4-openssl-dev libssl-dev libprotobuf-dev \ -libh2o-evloop-dev libwslay-dev libncurses5-dev libeigen3-dev +libh2o-evloop-dev libwslay-dev libncurses5-dev libeigen3-dev libzstd-dev git clone https://github.com/ahupowerdns/galmon.git --recursive cd galmon make diff --git a/nmmsender.cc b/nmmsender.cc index df5fb42..af5ddde 100644 --- a/nmmsender.cc +++ b/nmmsender.cc @@ -100,7 +100,7 @@ void NMMSender::sendTCPThread(Destination* d) } else { if(zsc && hadMessage) { - cerr << "Compressed to: "<< 100.0*zsc->d_outputBytes/zsc->d_inputBytes<<"%, buffered compressed: "<outputBufferBytes()<<" out of " <outputBufferCapacity()<<" bytes. Unacked: "<d_outputBytes/zsc->d_inputBytes<<"%, buffered compressed: "<outputBufferBytes()<<" out of " <outputBufferCapacity()<<" bytes. Unacked: "<flush(); diff --git a/ubxtool.cc b/ubxtool.cc index b271cef..4d0d778 100644 --- a/ubxtool.cc +++ b/ubxtool.cc @@ -426,10 +426,10 @@ int main(int argc, char** argv) unsigned int fuzzPositionMeters=0; string owner; string remark; - bool doCompress=false; + bool doCompress=true; app.add_option("--destination,-d", destinations, "Send output to this IPv4/v6 address"); app.add_flag("--wait", doWait, "Wait a bit, do not try to read init messages"); - app.add_flag("--compress,-z", doCompress, "Use compressed protocol for network transmission"); + // app.add_flag("--compress,-z", doCompress, "Use compressed protocol for network transmission"); app.add_flag("--reset", doReset, "Reset UBX device"); app.add_flag("--beidou,-c", doBeidou, "Enable BeiDou reception"); app.add_flag("--gps,-g", doGPS, "Enable GPS reception");