Hi,
Prob to connect with UDP method :
Android 7.0
Windows 7 64bit
Mock location is active for GPSBridge in developpement setting
DCS OB 2.5.4
No prob with my firewall, have open UDP 8080 port on my router
Connection method : wifi
DCS_NMEA.lua
UDP Part 1
my_init = socket.protect(function()
host2, port2 = "192.168.1.11", 8080 --4353 -- replace IP with android device ip
udp = socket.try(socket.udp())
end)
my_init()
UDP Part 2
my_send = socket.protect(function()
local json = string.format("$%s*%x\r\n$%s*%x\r\n", GGA,csGGA,RMC,csRMC)
socket.try(udp:sendto(json, host2, port2))
end)
my_send()
UDP Part 3
my_close = socket.protect(function()
socket.try(udp:close())
end)
my_close()
Export.lua (at the bottom)
userprofile = os.getenv ("userprofile"):gsub("\\","/")
dofile(userprofile .. "/Saved Games/DCS/Scripts/DCS_NMEA.lua")
GPSBridge setting
Protocol : UDP
TCP/UDP port : 8080
TCP adress : will attempt to connect to
Thank's again for your help.
++