The upstream source assumes you will use a traditional hard-wired serial
port, but those are getting rare. Rather than refactor the code, I've just
made the Debian package always open the device /dev/REG. All you need to
do is symlink this to whatever your actual serial port is with something like:
ln -s ttyUSB0 REG
The 'port' field in the REG line of the eggrc file will be ignored, so just
leave it set to '0'.
- - - - -
If the EGG computer is behind a firewall, it must be programmed
to allow UDP packets on port 2510 outgoing packet and UDP port
1105 for an incoming connection.
This allows the bidirectional communication required for the data
to be transmitted. What happens is that your program sends an
"awake" packet when it has unsent data. The server in Princeton
responds with a "data request" packet, and then the EGG program
will send the data.