Program and library for building GPS network.
https://github.com/DOOBW/OC-GPS
Download:
wget https://raw.githubusercontent.com/DOOBW/OC-GPS/master/usr/bin/gps.lua /bin/gps.lua
wget https://raw.githubusercontent.com/DOOBW/OC-GPS/master/usr/lib/gps.lua /lib/gps.lua
The functionality is the same as in the ComputerCraft.
Additional command "flash" allows to upload firmware to EEPROM.
When the coordinates are precisely determined, when flashing the position of the microcontroller can be omitted - at the first start it will determine its position from neighboring sate