I’m trying to get a simulated position from another piece of software to AOG. To do so, I’m sending UDP packages.
In wireshark, an example package looks like this:
I checked the GGA String, it should be correct, but in AOG, the UDP counter counts up but it’s still showing no GPS.
What am I missing here?
you must send your data to port 9999 with an ip address such as 192.168.1.255
ino extract
// ethernet interface ip address
static byte myip[] = { 192,168,1,77 };
// gateway ip address
static byte gwip[] = { 192,168,1,1 };
//DNS- you just need one anyway
static byte myDNS[] = { 8,8,8,8 };
//mask
static byte mask[] = { 255,255,255,0 };
//this is port of this autosteer module
unsigned int portMy = 5577;
//sending back to where and which port
static byte ipDestination[] = {192, 168, 1, 255};
unsigned int portDestination = 9999; //AOG port that listens
// ethernet mac address - must be unique on your network
static byte mymac[] = { 0x70,0x69,0x69,0x2D,0x30,0x31 };