The example Python3 code below can be used to send fixed GPS data over a UDP connection to the Syncbox. The IP address should be configured to match the DHCP or Static IP of the Syncbox. The UDP Port number should be the same as the ‘port’ parameter in the SD card config. Eg; port=7005.
The example Python3 code below can be used to send fixed GPS data over an RS232 serial connection to the Syncbox. For using the serial interface, the parameter bypassEthernet=true should be present in the config.txt file on the SD card. Note that the “COM23” parameter should be altered to match the com port on the users PC.