Updated gps2hotspot
Updated gps2hotspot

moved some code blocks to subroutines. Added logic if ftp_host_ip is not defined to reset the ftp_host variable 
with gateway ip on each connection instance to prevent retention of a stale one.
xor-function/gps2hotspot,xor-function/gps2hotspot