What's in the logs? If something doesn't work, first this you should do is check logs.
The log is fine:
[E95FA291] id: 000000000000002, time: 2018-07-24 01:08:14, lat: 59.99200, lon: 9.00000, speed: 1.0, course: 180.0
The device shows fine, and is moving on the map; it just annoys me the device is red and offline in the device list
Time 2018-07-24 01:09:34
Latitude 59° 59' 2" N
Longitude 9° 0' 0" E
Valid Yes
Accuracy 0.00 km
Altitude 0
Speed 1.9 km/h
Course S
Address Unnamed Road, Telemark, NO
Protocol xexun
Signal F
Distance 0.22 km
Total Distance 386.50 km
Motion Yes
Offline means that you disconnected after sending data. If you keep connection open, it will show online.
P.S. use triple-back-ticks for proper formatting
Oh, got it. I opened the connection, send the data, closed it.
The tcp connection is not open, so the device is not online
To have some "live" data to test on, I send data to port 5006
My dummy device then moves 0.001 deg south every 5 seconds.
However, the device is listed as offline, what part of the specification do I not understand?
Or is there an easier protocol to fake?