toplard
United Kingdom
2 Posts |
Posted - 09/30/2017 : 12:00:36
|
Dear All,
My GQ GMC320+v4.25 is working perfectly with GQ Data Logger, so the USB serial link must be wokring fine.
I want to use rrdtool to poll it periodically write to an RRD and graph it on a web server.
But... when I use the commands in the readme I get the following results which I cannot fathom. It works for some commands but not others - some respond, others not, others respond with garbage, so it makes no sense.
Setup is RPi, Fedora 25 Server armv7, 115200 8N1.
I get the same results under windows 10 using Putty.
See link for screen shot: https://photos.app.goo.gl/OiW5tMoMfBsDmLfx1
<GETVER>> OK <HEARTBEAT1>> OK <HEARTBEAT0>> OK <POWEROFF>> OK <FACTORYRESET>> OK <REBOOT>> OK <POWERON>> OK
Heartbeat returns garbage
<GETCPM>> <GETVOLT>> returns a * <SPIR[A2][A1][A0][L1][L0]>> returns garbage <GETCFG>> returns garbage <ECFG>> <WCFG[A0][D0]>> <key[D0]>> <GETSERIAL>> returns garbage <CFGUPDATE>> <SETDATEYY[D0]>> <SETDATEMM[D0]>> <SETTIMEHH[D0]>> <SETTIMEMM[D0]>> <SETTIMESS[D0]>> <SETDATETIME[YYMMDDHHMMSS]>> <GETDATETIME>> <GETTEMP>> <GETGYRO>> returns garbage
* blanks = no response
Thoughts anyone?
|
Robin Smith |
Edited by - toplard on 09/30/2017 12:02:05
|
|