Send own beacon to gateway incase its not repeated.
Fix premature decrement of repeat value (when not going to repeat).
Adjust beacon intervals.
Send location.