Host: the Name of your Computer (you don't have to change)
IP: the actual IP Adress of your Computer (you don't have to change)
Port: normaly 9999 (AOG is listening at this port)
IP: 192.168.1.77
Port: 8888, do not change
IP: 192.168.1.55
Port: 7777, do not change
don't change this code, especially the ipDestination must be x.x.x.255!
static byte myDNS[] = { 8, 8, 8, 8 }; //DNS- you just need one anyway static byte mask[] = { 255, 255, 255, 0 }; //mask unsigned int portMy = 5577; //this is port of this module Autosteer = 5577 //sending back to where and which port static byte ipDestination[] = {192, 168, 1, 255}; // (255=Broadcast) every module could use the info unsigned int portDestination = 9999; // Port of Computer // ethernet mac address - must be unique on your network static byte mymac[] = { 0x70, 0x69, 0x69, 0x2D, 0x30, 0x31 };
AGOpen can receive $PAOGI NMEA style sentences that contain a combined GPS and IMU payloads. $PAOGI stands for Proprietary AgOpen GPS + IMU
The PAOGI Sentence format is as follows:
$PAOGI From GGA:
From RMC or VTG:
FROM IMU:
*CHKSUM