Timo Kokkonen
Timo Kokkonen
What is the version of Rasbian (or Raspberry Pi OS)? And version of Mini-XML? (```dpkg -l libmxml-dev```)
I just checked in change to fix compile issue against Mini-XML 3.x (5123887c520010ee9716d7ffc06a88e071447c80), that might help with your issue as well?
Sounds like you don't have nxgipd process running on the background? It needs to be running as nxstat and nxcmd tools communicate with it via IPC. To setup nxgipd run...
You may want to run nxgipd on foreground at first, to confirm it is able to connect and talk with panel ok... Simply launch it from shell with -v flag...
You may want to use terminal emulator (_tio_ is probably easiest to use), to make sure you have working connection to panel, panel should be sending messages when there is...
When the nxgipd starts, it will at first send NX_INT_CONFIG_REQ (0x21) message to panel. Based on the error you saw, looks like panel did not respond to that message. Common...
Looks like "serial" is the NX-584 "ascii" protocol (and perhaps "Serial STU" is the "binary" protocol....) So, you should use that "serial" mode on the alarm panel, and configure protocol...
Also, make sure nothing else is using the serial port at the same time (as nxgipd process). Something like: ```fuser -v /dev/ttyUSB0```
If you set "log" setting in the config file to 4, nxgipd process will log messages received/sent in the log file: ``` ... 2023-03-27 19:52:19: nx_receive_message(): got message 01 (01)...
You can change following in nx-584.c: ``` #define DEBUG 0 ``` to ``` #define DEBUG 1 ``` And recompile...that should enable more detailed debugging....