Hi
I have trouble getting AIS data to traccar.
I'm using AIS Dispatcher (https://www.aishub.net/ais-dispatcher) to send data to my server.
It kinda works but not with AIS protocol port 5130.
Some examples from port 5005 (t55 protocol)
2019-09-09 19:14:16 INFO: [10c55f60: t55 < 37.157.99.26] HEX: 21414956444d2c312c312c2c412c33336556566235303030316870435452314c5571746e604e304460622c302a35330d0a
hex decoded:
!AIVDM,1,1,,A,33eVVb50001hpCTR1LUqtn`N0D`b,0*53
2019-09-09 19:18:31 INFO: [10c55f60: t55 < 37.157.99.26] HEX: 21414956444d2c312c312c2c412c4234373e3376303030384c454e4d38503d776563677767556f5030362c302a32310d0a
hex decoded:
!AIVDM,1,1,,A,B47>3v0008LENM8P=wecgwgUoP06,0*21
Then traccar receives it, but if I send to port 5130 which is default AIS port in traccar then it wont make it to the logs.
I tried to change config file ais.port to 5005 and t55.port to 5130 just to test it, but still can't receive parsed ais.
Has anyone more experience with AIS devices?
Or is it better to decode AIS data myself and use osmand protocol?
I think it is related to TCP/UDP.
AIS Dispatcher sends out UDP, but I don't know how if Traccar can receive AIS data on UDP?
For me quick workaround at the moment is Node.js app listening to UDP stream and sending data out with osmand protocol to Traccar.
In AisProtocol.java, is it possible to enable UDP also?
Sending same data with TCP then everything works.
But unfortunately AIS Dispatcher does not support sending data with TCP.
Hi
I have trouble getting AIS data to traccar.
I'm using AIS Dispatcher (https://www.aishub.net/ais-dispatcher) to send data to my server.
It kinda works but not with AIS protocol port 5130.
Some examples from port 5005 (t55 protocol)
hex decoded:
hex decoded:
Then traccar receives it, but if I send to port 5130 which is default AIS port in traccar then it wont make it to the logs.
I tried to change config file ais.port to 5005 and t55.port to 5130 just to test it, but still can't receive parsed ais.
Has anyone more experience with AIS devices?
Or is it better to decode AIS data myself and use osmand protocol?