sjmf / car-gps

Car GPS tracker using Adafruit Ultimate GPS module, and a RPi Zero

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Buffer GPS points, send when connection restored

sjmf opened this issue · comments

Data packets are currently dropped if transmission fails. Instead, the code should push these onto a queue. The head of the queue should be transmitted, then the value popped if the transmission was acknowledged- the STOMP code also needs to have ACKs turned on for this to work. While items exist in the queue, the head should be peeked, transmitted, and popped on ACK.