Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIS didn't show (Android) #273

Closed
Izzul24 opened this issue May 11, 2023 · 12 comments
Closed

AIS didn't show (Android) #273

Izzul24 opened this issue May 11, 2023 · 12 comments

Comments

@Izzul24
Copy link

Izzul24 commented May 11, 2023

Hi, I tried AvNav Android and use TCP Reader to receive AIS data. But when I was open the map, it didn't show at all. The decoder said it received AIS data and some targets. I have tried the same source of data on linux and windows it runs fine.

@free-x
Copy link
Contributor

free-x commented May 11, 2023

Hi,

which AIS source did you use? Ist it local? Public? Could you provide dump of AIS Stream?

same source of data on linux and windows it runs fine

Under Linux:
nc HOST PORT | grep VDM

Greeting
free-x

@wellenvogel
Copy link
Owner

And please provide the version of AvNav you are using and the settings you have in place.
Just consider that by default AIS targets are only shown in circles of 20nm around your GPS position and your chart center.
You can change this in the settings.

@Izzul24
Copy link
Author

Izzul24 commented May 30, 2023

I use version 20230530 running by emulator on Android Studio. I also tried version 20220819.
Here I use the same TCP source on windows and android.
These are my screenshots.
android1
setting1
windows1

@free-x
Copy link
Contributor

free-x commented May 31, 2023

are you sure that AIS stream is not blocked by firewall?

@wellenvogel
Copy link
Owner

Please answet the questiins - esoecialky about the source.
Are you sure that there are targets in the range you defined?

@Izzul24
Copy link
Author

Izzul24 commented Jun 1, 2023

Yeah I'm pretty sure. My source is also a station. I've tested it with set GPS location to a port and the default OSM chart. At the same time I also running AvNav web to the exact location that in my screenshots it showed the AIS just fine. I set the range to max (1000 nM) and still nothing showed up. I'd once tested it with net locator, in the same room as my phone still it didn't showed up.

This is my AIS stream that I've got from android studio:
1,"speed":0.05144444444444445,"course":181,"heading":107,"type":3,"age":54.58}
D/Avnav.AisStore: omitting ais {"mmsi":"352927000","lon":112.66104999999999,"lat":-7.060546666666666,"status":0,"speed":6.8421111111111115,"course":12,"heading":15,"type":3,"age":1.075}
D/Avnav.AisStore: omitting ais {"mmsi":"525900619","lon":112.65356666666666,"lat":-7.115483333333333,"status":5,"speed":0,"course":344,"heading":184,"type":3,"age":68.034}
D/Avnav.AisStore: omitting ais {"mmsi":"525023327","lon":112.70671166666666,"lat":-7.181283333333334,"status":0,"speed":0.05144444444444445,"course":7,"heading":511,"type":1,"age":0.479}
D/Avnav.AisStore: omitting ais {"mmsi":"525001047","lon":112.72982333333333,"lat":-7.207498333333334,"status":3,"speed":0,"course":0,"heading":173,"type":1,"age":10.867,"imo_id":9403970,"callsign":"PLPW ","shipname":"BIMA SAKTI UTAMA ","shiptype":90,"destination":"SURABAYA ","length":60,"beam":12,"draught":3.8}
D/Avnav.AisStore: omitting ais {"mmsi":"525015894","lon":112.72442666666667,"lat":-7.204021666666667,"status":8,"speed":0,"course":172,"heading":511,"type":1,"age":22.966}
D/Avnav.AisStore: omitting ais {"mmsi":"525015659","lon":112.73801166666667,"lat":-7.196755,"speed":0,"course":0,"heading":511,"type":18,"age":43.745}
D/Avnav.AisStore: omitting ais {"mmsi":"525001064","lon":112.714395,"lat":-7.180908333333333,"status":0,"speed":0,"course":0,"heading":511,"type":1,"age":106.864}
D/Avnav.AisStore: omitting ais {"mmsi":"525100143","lon":112.72685499999999,"lat":-7.188675,"status":15,"speed":0.05144444444444445,"course":7,"heading":511,"type":1,"age":10.158}
D/Avnav.AisStore: omitting ais {"mmsi":"538002485","lon":112.688885,"lat":-7.187353333333333,"status":5,"speed":0,"course":354,"heading":126,"type":3,"age":38.242}
D/Avnav.AisStore: omitting ais {"mmsi":"357404000","lon":112.76424,"lat":-6.829876666666666,"status":1,"speed":0.05144444444444445,"course":176,"heading":104,"type":3,"age":116.583}
D/Avnav.AisStore: omitting ais {"mmsi":"777777772","lon":112.67094333333333,"lat":-7.170723333333333,"status":0,"speed":0.05144444444444445,"course":185,"heading":511,"type":1,"age":44.714}
D/Avnav.AisStore: omitting ais {"mmsi":"525600360","lon":112.69853333333334,"lat":-7.179553333333333,"status":1,"speed":0,"course":360,"heading":104,"type":3,"age":88.102}
D/Avnav.AisStore: omitting ais {"mmsi":"525019255","lon":112.73127666666666,"lat":-7.18046,"speed":0.05144444444444445,"course":0,"heading":511,"type":18,"callsign":"YGUE ","shipname":"","shiptype":70,"length":53,"beam":10,"age":82.293}
D/Avnav.AisStore: omitting ais {"mmsi":"525401965","lon":112.66640000000001,"lat":-7.129616666666666,"status":9,"speed":0,"course":339,"heading":511,"type":1,"imo_id":8594617,"callsign":"YDWW2 ","shipname":"BUNGA TERATAI 168 ","shiptype":70,"destination":"SURABAYA","length":0,"beam":0,"draught":4.1,"age":0.943}
D/Avnav.AisStore: omitting ais {"mmsi":"525020278","lon":112.68664333333332,"lat":-7.170523333333334,"status":0,"speed":0.05144444444444445,"course":115,"heading":511,"type":1,"age":17.251}
D/Avnav.AisStore: omitting ais {"mmsi":"525012233","lon":112.72087666666667,"lat":-7.191063333333333,"speed":0,"course":271,"heading":511,"type":18,"age":47.754,"callsign":"JZIU ","shipname":"","shiptype":80,"length":83,"beam":8}
D/Avnav.AisStore: omitting ais {"mmsi":"525100815","lon":112.67445833333333,"lat":-7.1546183333333335,"speed":0,"course":0,"heading":511,"type":18,"age":14.712}
D/Avnav.AisStore: omitting ais {"mmsi":"525700374","lon":112.726665,"lat":-7.208586666666666,"speed":0,"course":116,"heading":511,"type":18,"age":53.008}
D/Avnav.AisStore: omitting ais {"mmsi":"525018127","lon":112.71367166666667,"lat":-7.17929,"status":0,"speed":0.15433333333333335,"course":85,"heading":511,"type":1,"age":8.691}
D/Avnav.AisStore: omitting ais {"mmsi":"123456789","lon":112.79504,"lat":-7.2788916666666665,"speed":0.2057777777777778,"course":171,"heading":511,"type":18,"callsign":"","shipname":"LORAIS ","shiptype":0,"length":0,"beam":0,"age":26.644}
D/Avnav.AisStore: omitting ais {"mmsi":"525101059","lon":112.72971,"lat":-7.2074766666666665,"status":3,"speed":0,"course":240,"heading":511,"type":1,"age":5.391}
D/Avnav.AisStore: omitting ais {"mmsi":"525025049","lon":112.81349666666667,"lat":-6.878276666666666,"status":1,"speed":0.05144444444444445,"course":189,"heading":85,"type":3,"age":119.848}
D/Avnav.AisStore: omitting ais {"mmsi":"525400324","lon":112.73030166666668,"lat":-7.206836666666666,"speed":0,"course":0,"heading":511,"type":18,"age":34.432}
D/Avnav.AisStore: omitting ais {"mmsi":"525025043","lon":112.68571666666666,"lat":-7.003763333333334,"status":0,"speed":5.041555555555556,"course":25,"heading":28,"type":1,"age":24.337}
D/Avnav.AisStore: omitting ais {"mmsi":"525003280","lon":112.671035,"lat":-7.1706183333333335,"status":8,"speed":0,"course":85,"heading":511,"type":1,"age":15.58}
D/Avnav.AisStore: omitting ais {"mmsi":"525016080","lon":181,"lat":91,"status":0,"speed":52.62766666666667,"course":360,"heading":511,"type":3,"age":35.039}
D/Avnav.AisStore: omitting ais {"mmsi":"525005334","lon":112.73113333333335,"lat":-7.200046666666666,"status":0,"speed":0,"course":19,"heading":511,"type":1,"age":7.561}
D/Avnav.AisStore: omitting ais {"mmsi":"525301009","lon":112.70966666666666,"lat":-7.176165,"speed":0,"course":259,"heading":511,"type":18,"age":94.423}
D/Avnav.AisStore: omitting ais {"mmsi":"525019669","lon":112.66352333333333,"lat":-7.126923333333334,"status":1,"speed":0,"course":84,"heading":60,"type":3,"age":30.071}
D/Avnav.AisStore: omitting ais {"mmsi":"525100844","lon":112.72446666666666,"lat":-7.199838333333333,"status":0,"speed":0,"course":310,"heading":511,"type":1,"imo_id":9791339,"callsign":"YCAB2","shipname":"KT.JAYANEGARA402","shiptype":52,"destination":"","length":0,"beam":0,"draught":5,"age":4.112}
D/Avnav.AisStore: omitting ais {"mmsi":"525022251","lon":112.69164,"lat":-7.172443333333334,"status":0,"speed":0,"course":360,"heading":511,"type":1,"age":1.501}
D/Avnav.AisStore: omitting ais {"mmsi":"525005355","lon":112.72331166666666,"lat":-7.176131666666667,"status":0,"speed":0,"course":348,"heading":511,"type":1,"age":3.039}
D/Avnav.AisStore: omitting ais {"mmsi":"564280000","lon":112.673225,"lat":-7.025928333333334,"status":0,"speed":5.093,"course":205,"heading":203,"type":1,"imo_id":9265926,"callsign":"S6DU7 ","shipname":"PAC ALNATH ","shiptype":70,"destination":"SURABAYA,INDONESIA ","length":179,"beam":27,"draught":7.5,"age":5.904}
D/Avnav.AisStore: omitting ais {"mmsi":"525100334","lon":112.66459666666667,"lat":-7.110785000000001,"status":0,"speed":0.05144444444444445,"course":112,"heading":511,"type":1,"age":2.792}
D/Avnav.AisStore: omitting ais {"mmsi":"525200680","lon":112.79733666666667,"lat":-7.18993,"status":5,"speed":0,"course":235,"heading":511,"type":3,"age":46.562}
D/Avnav.AisStore: omitting ais {"mmsi":"525005356","lon":112.72115833333334,"lat":-7.1863883333333325,"status":0,"speed":0.15433333333333335,"course":84,"heading":511,"type":1,"age":1.832}
D/Avnav.AisStore: omitting ais {"mmsi":"525025069","lon":112.77593333333333,"lat":-6.863731666666666,"status":0,"speed":0.565888888888889,"course":186,"heading":334,"type":1,"age":108.302}
D/Avnav.AisStore: omitting ais {"mmsi":"525013027","lon":112.708805,"lat":-7.197025,"status":5,"speed":0,"course":340,"heading":511,"type":3,"age":24.672}
D/Avnav.AisStore: omitting ais {"mmsi":"525018144","lon":112.66364833333334,"lat":-7.10899,"status":0,"speed":0.05144444444444445,"course":116,"heading":511,"type":1,"imo_id":9649969,"callsign":"PKSF","shipname":"[M ISA CLARITY","shiptype":76,"destination":"","length":96,"beam":0,"draught":0,"age":7.688}
D/Avnav.AisStore: omitting ais {"mmsi":"525018149","lon":112.71314000000001,"lat":-7.181768333333333,"status":0,"speed":0,"course":271,"heading":511,"type":1,"age":8.564}
D/Avnav.AisStore: omitting ais {"mmsi":"525100835","lon":112.70201333333333,"lat":-7.1950183333333335,"status":3,"speed":0.6687777777777778,"course":358,"heading":511,"type":1,"age":50.326}
D/Avnav.AisStore: omitting ais {"mmsi":"525018148","lon":112.71575166666666,"lat":-7.180461666666667,"status":8,"speed":0,"course":0,"heading":511,"type":1,"age":25.054}
D/Avnav.AisStore: omitting ais {"mmsi":"525003322","lon":112.72799333333334,"lat":-7.201953333333334,"status":0,"speed":0.36011111111111105,"course":303,"heading":511,"type":1,"age":0.342}
D/Avnav.AisStore: omitting ais {"mmsi":"525100605","lon":112.72438666666667,"lat":-7.206213333333333,"status":0,"speed":1.9034444444444445,"course":333,"heading":511,"type":1,"age":24.672}
D/Avnav.AisStore: omitting ais {"mmsi":"356157000","lon":112.72666666666667,"lat":-7.197500000000001,"status":5,"speed":0,"course":49,"heading":80,"type":3,"age":86.389}
D/Avnav.AisStore: omitting ais {"mmsi":"525101118","lon":112.70604499999999,"lat":-7.18706,"status":1,"speed":0.05144444444444445,"course":209,"heading":83,"type":3,"age":7.56}
D/Avnav.AisStore: omitting ais {"mmsi":"457470000","lon":112.72160833333334,"lat":-7.181598333333333,"status":8,"speed":0.05144444444444445,"course":0,"heading":511,"type":1,"age":17.372}
D/Avnav.AisStore: omitting ais {"mmsi":"525501220","lon":112.67301333333333,"lat":-7.128383333333333,"status":15,"speed":0,"course":360,"heading":511,"type":1,"age":4.113}
D/Avnav.AisStore: omitting ais {"mmsi":"525101106","lon":112.73145666666666,"lat":-7.19895,"status":8,"speed":0,"course":294,"heading":349,"type":1,"age":4.236}
D/Avnav.AisStore: omitting ais {"mmsi":"525020107","lon":112.67553833333334,"lat":-7.176693333333334,"status":0,"speed":0,"course":0,"heading":511,"type":1,"age":4.726}
D/Avnav.AisStore: omitting ais {"mmsi":"525100494","lon":112.67630166666666,"lat":-7.179663333333334,"status":8,"speed":0,"course":0,"heading":511,"type":1,"age":7.097}
D/Avnav.AisStore: omitting ais {"mmsi":"525006281","lon":112.70040999999999,"lat":-7.184388333333334,"status":1,"speed":0,"course":230,"heading":511,"type":3,"age":97.345}
D/Avnav.AisStore: omitting ais {"mmsi":"525119177","lon":112.72677999999999,"lat":-7.205128333333334,"status":5,"speed":0,"course":333,"heading":511,"type":3,"age":5.262}
D/Avnav.AisStore: omitting ais {"mmsi":"525600467","lon":112.71752833333333,"lat":-7.180183333333333,"status":0,"speed":0.05144444444444445,"course":167,"heading":511,"type":1,"age":8.441}
D/Avnav.AisStore: omitting ais {"mmsi":"525020364","lon":112.72633333333333,"lat":-7.204018333333334,"status":1,"speed":0.05144444444444445,"course":360,"heading":511,"type":3,"age":2.117}
D/Avnav.AisStore: omitting ais {"mmsi":"525200069","lon":112.66281833333333,"lat":-7.149096666666667,"status":3,"speed":2.8808888888888884,"course":159,"heading":511,"type":1,"age":4.112}
D/Avnav.AisStore: omitting ais {"mmsi":"525017024","lon":112.7243,"lat":-7.186751666666667,"speed":0,"course":11,"heading":511,"type":18,"age":92.344}
D/Avnav.AisStore: omitting ais {"mmsi":"525500639","lon":112.73915000000001,"lat":-7.191585,"speed":2.520777777777778,"course":62,"heading":511,"type":18,"age":13.654}
D/Avnav.AisStore: omitting ais {"mmsi":"525018053","lon":112.71376666666667,"lat":-7.179246666666667,"status":0,"speed":0.05144444444444445,"course":229,"heading":511,"type":1,"age":2.917}
D/Avnav.AisStore: omitting ais {"mmsi":"525200067","lon":112.72735666666668,"lat":-7.205131666666667,"status":3,"speed":3.138111111111111,"course":156,"heading":511,"type":1,"age":2.918}
D/Avnav.AisStore: omitting ais {"mmsi":"525018052","lon":112.71829833333332,"lat":-7.179258333333333,"status":1,"speed":0,"course":321,"heading":511,"type":3,"age":102.03}
D/Avnav.AisStore: omitting ais {"mmsi":"525401537","lon":112.69304000000001,"lat":-7.180885,"status":0,"speed":0,"course":19,"heading":110,"type":1,"age":56.77}
D/Avnav.AisStore: omitting ais {"mmsi":"525006041","lon":112.67000666666667,"lat":-7.138345,"status":0,"speed":0.05144444444444445,"course":354,"heading":511,"type":1,"age":13.279}
D/Avnav.AisStore: omitting ais {"mmsi":"525011160","lon":112.72507999999999,"lat":-7.182536666666667,"speed":0,"course":0,"heading":511,"type":19,"age":108.16}
D/Avnav.AisStore: omitting ais {"mmsi":"525200857","lon":112.66682666666667,"lat":-7.135588333333333,"status":8,"speed":0,"course":242,"heading":511,"type":1,"imo_id":0,"callsign":"YDB3037","shipname":"GUNTA III","shiptype":52,"destination":"SURABAYA","length":0,"beam":0,"draught":2.8,"age":43.496}
D/Avnav.AisStore: omitting ais {"mmsi":"525022173","lon":112.73053499999999,"lat":-7.175371666666666,"speed":0,"course":0,"heading":511,"type":18,"age":29.424}
D/Avnav.AisStore: omitting ais {"mmsi":"525019602","lon":112.67308333333334,"lat":-7.1437333333333335,"status":1,"speed":0.05144444444444445,"course":79,"heading":159,"type":3,"age":79.422}
D/Avnav.AisStore: omitting ais {"mmsi":"525007315","lon":112.66994666666666,"lat":-7.128206666666667,"status":0,"speed":0.25722222222222224,"course":315,"heading":511,"type":3,"age":3.328}
D/Avnav.AisStore: omitting ais {"mmsi":"525003223","lon":112.71428999999999,"lat":-7.187316666666666,"status":0,"speed":0.25722222222222224,"course":182,"heading":511,"type":1,"age":10.027}
D/Avnav.AisStore: omitting ais {"mmsi":"525500147","lon":112.66332666666668,"lat":-7.154061666666666,"status":13,"speed":0,"course":0,"heading":511,"type":1,"age":6.846}
D/Avnav.AisStore: omitting ais {"mmsi":"525501171","lon":112.66817333333333,"lat":-7.111751666666667,"status":0,"speed":0,"course":65,"heading":161,"type":1,"age":24.92}
D/Avnav.AisStore: omitting ais {"mmsi":"525022440","lon":112.72560166666668,"lat":-7.184151666666667,"speed":0,"course":165,"heading":511,"type":18,"age":70.413}
D/Avnav.AisStore: omitting ais {"mmsi":"525010146","lon":112.71826333333334,"lat":-7.17917,"status":0,"speed":0,"course":0,"heading":511,"type":1,"age":27.566}
D/Avnav.AisStore: omitting ais {"mmsi":"525500665","lon":112.71521,"lat":-7.182546666666667,"speed":0,"course":198,"heading":511,"type":18,"age":85.775,"callsign":"JZOC ","shipname":"","shiptype":37,"length":68,"beam":14}
D/Avnav.AisStore: omitting ais {"mmsi":"525018086","lon":112.67163833333333,"lat":-7.15017,"status":1,"speed":0,"course":261,"heading":511,"type":3,"age":95.473,"imo_id":9082166,"callsign":"JZBQ ","shipname":"MT DIAN DINA ","shiptype":80,"destination":"BITUNG ","length":104,"beam":18,"draught":4.4}
D/Avnav.AisStore: omitting ais {"mmsi":"525019387","lon":112.71878,"lat":-7.189958333333333,"status":0,"speed":0,"course":331,"heading":511,"type":1,"imo_id":9093426,"callsign":"PMCS","shipname":"MV.PACIFIC STAR","shiptype":70,"destination":"","length":93,"beam":12,"draught":5.6,"age":1.195}
D/Avnav.AisStore: omitting ais {"mmsi":"525015288","lon":112.71109333333334,"lat":-7.19839,"status":1,"speed":0.05144444444444445,"course":176,"heading":511,"type":3,"age":44.585}
D/Avnav.AisStore: omitting ais {"mmsi":"525009151","lon":112.73251333333333,"lat":-7.205916666666667,"speed":0,"course":72,"heading":511,"type":18,"age":49.723}
D/Avnav.AisStore: omitting ais {"mmsi":"525800162","lon":112.66116666666667,"lat":-7.0975,"status":0,"speed":0.3086666666666667,"course":336,"heading":155,"type":1,"age":21.675}
D/Avnav.AisStore: omitting ais {"mmsi":"525022195","lon":112.70106166666666,"lat":-7.177508333333334,"speed":0,"course":0,"heading":511,"type":18,"callsign":"POQA","shipname":"","shiptype":70,"length":88,"beam":15,"age":62.223}
D/Avnav.AisStore: omitting ais {"mmsi":"312020000","lon":112.70376,"lat":-7.187091666666666,"status":1,"speed":0,"course":30,"heading":63,"type":1,"age":92.47}
D/Avnav.AisStore: omitting ais {"mmsi":"477233100","lon":112.67407,"lat":-7.163658333333333,"status":0,"speed":6.173333333333333,"course":325,"heading":325,"type":1,"age":3.577}
D/Avnav.AisStore: omitting ais {"mmsi":"525010058","lon":112.650025,"lat":-7.109173333333334,"status":0,"speed":0,"course":258,"heading":511,"type":1,"age":4.465}
D/Avnav.AisStore: omitting ais {"mmsi":"525401491","lon":112.73583166666667,"lat":-7.200703333333333,"speed":0,"course":151,"heading":511,"type":18,"age":107.79,"callsign":"YC7523 ","shipname":"","shiptype":70,"length":29,"beam":11}
D/Avnav.AisStore: omitting ais {"mmsi":"525015176","lon":112.72372666666666,"lat":-7.205238333333333,"status":5,"speed":0,"course":0,"heading":511,"type":3,"age":80.215}
D/Avnav.AisStore: omitting ais {"mmsi":"525841552","lon":112.785865,"lat":-7.186775,"speed":2.3664444444444444,"course":96,"heading":511,"type":18,"callsign":" YHGJ","shipname":"","shiptype":70,"length":54,"beam":12,"age":10.384}
D/Avnav.AisStore: omitting ais {"mmsi":"525501058","lon":112.66287000000001,"lat":-7.116248333333333,"status":0,"speed":0,"course":278,"heading":511,"type":1,"age":15.866}
D/Avnav.AisStore: omitting ais {"mmsi":"525021338","lon":113.00488999999999,"lat":-7.35539,"speed":3.395333333333333,"course":121,"heading":511,"type":18,"callsign":"YHYF ","shipname":"","shiptype":70,"length":57,"beam":10,"age":6.983}
D/Avnav.AisStore: omitting ais {"mmsi":"525125022","lon":112.72404666666667,"lat":-7.206061666666667,"status":5,"speed":0,"course":174,"heading":154,"type":3,"age":12.901}
D/Avnav.AisStore: omitting ais {"mmsi":"416031000","lon":112.65777,"lat":-7.11379,"status":0,"speed":6.790666666666666,"course":181,"heading":178,"type":1,"age":1.075}
D/Avnav.AisStore: omitting ais {"mmsi":"525005200","lon":112.67835,"lat":-7.137583333333334,"status":8,"speed":0,"course":216,"heading":147,"type":1,"age":7.561}
D/Avnav.AisStore: omitting ais {"mmsi":"525009296","lon":112.71438666666667,"lat":-7.184051666666666,"speed":0,"course":0,"heading":511,"type":18,"age":111.21,"callsign":"YBEO ","shipname":"","shiptype":80,"length":64,"beam":10}
D/Avnav.AisStore: omitting ais {"mmsi":"525015440","lon":112.70544333333333,"lat":-7.178623333333333,"status":0,"speed":0,"course":0,"heading":511,"type":1,"age":13.154}
D/Avnav.AisStore: omitting ais {"mmsi":"525020310","lon":112.71966666666667,"lat":-7.179773333333333,"speed":0,"course":149,"heading":511,"type":18,"age":69.524}
D/Avnav.AisStore: omitting ais {"mmsi":"525125010","lon":112.80346333333334,"lat":-6.8991999999999996,"status":1,"speed":0.05144444444444445,"course":204,"heading":102,"type":3,"imo_id":9821512,"callsign":"YCGM2 ","shipname":"MERATUS LARANTUKA ","shiptype":70,"destination":"ID SURABAYA ","length":124,"beam":23,"draught":5.2,"age":29.023}
D/Avnav.AisStore: omitting ais {"mmsi":"667001632","lon":112.66747166666667,"lat":-7.126946666666667,"status":1,"speed":0.05144444444444445,"course":252,"heading":162,"type":3,"imo_id":8597712,"callsign":"9LU2435","shipname":"BENUA 999","shiptype":70,"destination":"SURABAYA","length":95,"beam":14,"draught":4,"age":79.733}
D/Avnav.AisStore: omitting ais {"mmsi":"525000872","lon":112.679955,"lat":-7.168333333333334,"status":8,"speed":1.028888888888889,"course":147,"heading":511,"type":1,"imo_id":9529566,"callsign":"YDA4719","shipname":"TB.MITRA CATUR 3","shiptype":31,"destination":"PELABUHANUKIMANADO","length":24,"beam":8,"draught":3.6,"age":7.238}
D/Avnav.AisStore: omitting ais {"mmsi":"525119145","lon":112.70955000000001,"lat":-6.962733333333333,"status":0,"speed":5.658888888888889,"course":20,"heading":23,"type":1,"age":7.819}
D/Avnav.AisStore: omitting ais {"mmsi":"525200037","lon":112.72659,"lat":-7.203239999999999,"status":8,"speed":3.4467777777777777,"course":150,"heading":511,"type":1,"age":8.441}
D/Avnav.AisStore: omitting ais {"mmsi":"525022369","lon":112.73762166666667,"lat":-7.197711666666667,"status":8,"speed":0,"course":304,"heading":511,"type":1,"age":8.317,"imo_id":4144755,"callsign":"YBAV2 ","shipname":"APOLLO ","shiptype":31,"destination":"ID SUB ","length":100,"beam":32,"draught":4.2}
D/Avnav.AisStore: omitting ais {"mmsi":"525021088","lon":112.67629000000001,"lat":-7.178495,"status":8,"speed":0,"course":303,"heading":511,"type":1,"age":17.989}
D/Avnav.AisStore: omitting ais {"mmsi":"200000000","lon":112.75709,"lat":-7.194005000000001,"speed":0,"course":0,"heading":511,"type":18,"callsign":"PLBU ","shipname":"","shiptype":35,"length":112,"beam":12,"age":35.191}
D/Avnav.AisStore: omitting ais {"mmsi":"525100707","lon":112.70374666666666,"lat":-7.195651666666667,"status":0,"speed":0.46299999999999997,"course":360,"heading":511,"type":1,"age":8.819}
D/Avnav.AisStore: omitting ais {"mmsi":"525015972","lon":112.73261333333333,"lat":-7.181266666666667,"status":8,"speed":0.05144444444444445,"course":224,"heading":511,"type":1,"age":3.452}
D/Avnav.AisStore: omitting ais {"mmsi":"525114047","lon":112.67595166666666,"lat":-7.140581666666667,"status":0,"speed":0,"course":0,"heading":511,"type":1,"age":58.207}
D/Avnav.AisStore: omitting ais {"mmsi":"525009331","lon":112.66533166666666,"lat":-7.107231666666666,"status":0,"speed":0.2057777777777778,"course":171,"heading":165,"type":1,"imo_id":9151448,"callsign":"PMHQ ","shipname":"SC ETERNITY XLVII ","shiptype":81,"destination":"GRESIK/IDN ","length":99,"beam":18,"draught":4.6,"age":79.178}
D/Avnav.AisStore: omitting ais {"mmsi":"525300917","lon":112.73097,"lat":-7.196588333333334,"status":0,"speed":0,"course":197,"heading":78,"type":1,"age":3.453}
D/Avnav.AisStore: omitting ais {"mmsi":"525113009","lon":112.72556666666667,"lat":-7.2059,"status":0,"speed":0,"course":241,"heading":337,"type":1,"imo_id":9816476,"callsign":"YBZH2","shipname":"MV.TANTO SUKSES","shiptype":70,"destination":"ID SUB ","length":130,"beam":23,"draught":5.2,"age":3.452}
D/Avnav.AisStore: omitting ais {"mmsi":"636017175","lon":112.70263333333334,"lat":-7.1958,"status":5,"speed":0,"course":143,"heading":101,"type":3,"imo_id":9327786,"callsign":"D5JQ6 ","shipname":"ALS KRONOS ","shiptype":70,"destination":"IDSUB ","length":276,"beam":40,"draught":10.7,"age":83.695}
D/Avnav.AisStore: getAisData returns 0 values
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17lcQEk000842D=sp3I@05Kp2t3I,01F
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525001047, cog=0, navStatus=3, pos=(129893221,67637894) = (-4324507,67637894), posAcc=0, raim=1, specialManIndicator=0, rot=0, sog=0, spare=0, syncState=1, trueHeading=173, utcSec=60, slotTimeout=7, subMessage=217]
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17lcamhP0383uhsspjdG9?vr28@p,0
0C
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17ld1dh00283gJ?ssf?oO54r2@@t,071
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525003223, cog=1828, navStatus=0, pos=(129905329,67628573) = (-4312399,67628573), posAcc=0, raim=1, specialManIndicator=0, rot=128, sog=3, spare=0, syncState=0, trueHeading=511, utcSec=29, slotTimeout=2, subMessage=1080]
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525009331, cog=1916, navStatus=0, pos=(129953343,67599175) = (-4264385,67599175), posAcc=0, raim=1, specialManIndicator=0, rot=0, sog=2, spare=0, syncState=0, trueHeading=162, utcSec=29, slotTimeout=4, subMessage=1084]
D/Avnav: Decoder: GSV sentence (1/2) numSat=6
D/Avnav: Decoder: GSV sentence (2/2) numSat=6
D/Avnav: Decoder: GSV sentence last, numSat=6
D/Avnav: Decoder: GSA sentence, used=0
I/Avnav:GpsService: timer action
D/AvNav:Decoder: getGpsData: {"mode":1,"lat":-7.204116666666667,"lon":112.72513333333333,"course":0,"speed":0,"time":"2023-06-01 03:07:22.000+0000"}
D/Avnav:AndroidPositionHandler: location: changed, acc=5.0, provider=gps, date=Thu Jun 01 10:07:23 GMT+07:00 2023
D/Avnav: Decoder: RMC sentence, valid=true
D/Avnav: Decoder: external position [07.2041167 S, 112.7251333 E, 0.0 m]
D/AvNav:Decoder: Decoder: location: Location[null -7.204117,112.725133 hAcc=??? et=?!? vel=0.0 bear=0.0 vAcc=??? sAcc=??? bAcc=???]
D/Avnav: Decoder: GSV sentence (1/2) numSat=6
D/Avnav: Decoder: GSV sentence (2/2) numSat=6
D/Avnav: Decoder: GSV sentence last, numSat=6
D/Avnav: Decoder: GSA sentence, used=0
I/Avnav:GpsService: timer action
D/Avnav:GpsService: getTrack returns 1 points
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17ldDA@02N83dIssgiPAPBB0Vr0,0*0F I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525014085, cog=70, navStatus=0, pos=(129953734,67593484) = (-4263994,67593484), posAcc=0, raim=0, specialManIndicator=0, rot=0, sog=158, spare=0, syncState=1, trueHeading=9, utcSec=9, slotTimeout=1, subMessage=11904] D/AvNav: removing track data older then 1685502442 -- From line 911 of http://assets/viewer/avnav_min.js?f9f6b7e6210d7c926050 I/chromium: [INFO:CONSOLE(911)] "removing track data older then 1685502442", source: http://assets/viewer/avnav_min.js?f9f6b7e6210d7c926050 (911) D/AvNav: trackdatadata -- From line 911 of http://assets/viewer/avnav_min.js?f9f6b7e6210d7c926050 I/chromium: [INFO:CONSOLE(911)] "trackdatadata", source: http://assets/viewer/avnav_min.js?f9f6b7e6210d7c926050 (911) D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,B7locvh00210PENv5t@KwfWkP06,0
61
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=18, repeat=0, userId=525200379, classBBandFlag=1, classBDisplayFlag=1, classBDscFlag=1, classBMsg22Flag=1, classBUnitFlag=1, cog=262, commState=393222, commStateSelectorFlag=1, modeFlag=0, pos=(129898127,67637290) = (-4319601,67637290), posAcc=0, raim=0, sog=0, spare=0, spareAfterUserId=0, trueHeading=511, utcSec=29]
D/Avnav.AisStore: store new message type 18 for mmsi525200379
D/AvNav:Decoder: getGpsData: {"mode":1,"lat":-7.204116666666667,"lon":112.72513333333333,"course":0,"speed":0,"time":"2023-06-01 03:07:23.000+0000"}
D/Avnav:AndroidPositionHandler: location: changed, acc=5.0, provider=gps, date=Thu Jun 01 10:07:24 GMT+07:00 2023
D/Avnav: Decoder: RMC sentence, valid=true
D/Avnav: Decoder: external position [07.2041167 S, 112.7251333 E, 0.0 m]
D/AvNav:Decoder: Decoder: location: Location[null -7.204117,112.725133 hAcc=??? et=?!? vel=0.0 bear=0.0 vAcc=??? sAcc=??? bAcc=???]
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,16lAh<8P013wr=sq08P0?vr24HL,0*0A I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=457470000, cog=0, navStatus=8, pos=(129908770,67632966) = (-4308958,67632966), posAcc=1, raim=1, specialManIndicator=0, rot=128, sog=1, spare=0, syncState=0, trueHeading=511, utcSec=29, slotTimeout=1, subMessage=1564] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17lobaHP13841J1sp<h61gvt08B0,0*30 I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525200037, cog=1542, navStatus=8, pos=(129895616,67636032) = (-4322112,67636032), posAcc=0, raim=0, specialManIndicator=0, rot=128, sog=67, spare=0, syncState=0, trueHeading=511, utcSec=30, slotTimeout=2, subMessage=1152] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17m@6lhP0183vecsq3KVhgvt24HL,0*35 I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525600467, cog=1730, navStatus=0, pos=(129909614,67630517) = (-4308114,67630517), posAcc=0, raim=1, specialManIndicator=0, rot=128, sog=1, spare=0, syncState=0, trueHeading=511, utcSec=30, slotTimeout=1, subMessage=1564] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17ldT9@P003uKIspwfbWOvt2<3i,04C
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,B1mg=5@01b15G@vuG2tW?wv43P06,0
4D
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525018149, cog=2717, navStatus=0, pos=(129908666,67627884) = (-4309062,67627884), posAcc=1, raim=1, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=30, slotTimeout=3, subMessage=241]
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=18, repeat=0, userId=123456789, classBBandFlag=0, classBDisplayFlag=0, classBDscFlag=0, classBMsg22Flag=0, classBUnitFlag=1, cog=627, commState=393222, commStateSelectorFlag=1, modeFlag=0, pos=(129850415,67677089) = (-4367313,67677089), posAcc=1, raim=0, sog=6, spare=0, spareAfterUserId=0, trueHeading=511, utcSec=60]
D/Avnav: Decoder: GSV sentence (1/2) numSat=6
D/Avnav: Decoder: GSV sentence (2/2) numSat=6
D/Avnav: Decoder: GSV sentence last, numSat=6
D/Avnav: Decoder: GSA sentence, used=0
I/Avnav:GpsService: timer action
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,H1mg=5@hu84U>22222222222220,267
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,H1mg=5D0111D00P1111111040w?0,0
71
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=24, repeat=0, userId=123456789, partNumber=0, callsign=null, dimBow=0, dimPort=0, dimStarboard=0, dimStern=0, name=LORAIS , shipType=0, spare=0]
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=24, repeat=0, userId=123456789, partNumber=1, callsign=AAAAAAA, dimBow=0, dimPort=63, dimStarboard=15, dimStern=256, name=null, shipType=0, spare=0]
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17ldT3hP0783uV=sq5RkEgvt24HL,049
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,37ldlHP00844VispJDsu?vv0CKu,0*43 I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525018127, cog=854, navStatus=0, pos=(129910155,67628230) = (-4307573,67628230), posAcc=0, raim=1, specialManIndicator=0, rot=128, sog=7, spare=0, syncState=0, trueHeading=511, utcSec=30, slotTimeout=1, subMessage=1564] I/AvNav:Decoder: Decoder: AisPacket received: [msgId=3, repeat=0, userId=525022369, cog=3060, navStatus=8, pos=(129899091,67642584) = (-4318637,67642584), posAcc=0, raim=0, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=31, keep=1, numSlots=6, slotIncrement=4975] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17liUkP0083jcsq4c00?vv08BC,0*2A I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525100494, cog=0, navStatus=8, pos=(129909932,67605781) = (-4307796,67605781), posAcc=0, raim=0, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=31, slotTimeout=2, subMessage=1171] I/Avnav: service onStartCommand, watchdog=true D/Avnav:GpsService: started I/Avnav: service onStartCommand, watchdog=true D/Avnav:GpsService: started I/avnav: start chartlist request 444 D/avnav: found demo chart OSM D/avnav: found demo chart BSH I/avnav: finish chartlist request 444 D/AvNav:Decoder: getGpsData: {"mode":1,"lat":-7.204116666666667,"lon":112.72513333333333,"course":0,"speed":0,"time":"2023-06-01 03:07:24.000+0000"} D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17lciT8Oh083k?5srWBeTVt0D3k,0
1C
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17ldg8P003jIsq7L;mwvv08BH,0*0E I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525005200, cog=2230, navStatus=8, pos=(129935178,67607010) = (-4282550,67607010), posAcc=0, raim=0, specialManIndicator=0, rot=127, sog=0, spare=0, syncState=0, trueHeading=147, utcSec=30, slotTimeout=5, subMessage=243] I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525021088, cog=3031, navStatus=8, pos=(129910640,67605772) = (-4307088,67605772), posAcc=1, raim=0, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=31, slotTimeout=2, subMessage=1176] D/avnav: unhandled nav request api D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,C7mNlT00;b14e?vv<vhsSwfPFK0F2Tj30LB2>3111110S2P73320,0*4F I/AvNav:Decoder: Decoder: AisPacket received: [msgId=19, repeat=0, userId=525841552, spare1=0, sog=46, posAcc=1, pos=(129905644,67671711) = (-4312084,67671711), cog=952, trueHeading=511, utcSec=29, spare2=0, name=KM KARYA NIAGA , shipType=70, dimBow=40, dimStern=14, dimPort=6, dimStarboard=6, posType=1, raimFlag=0, dte=0, modeFlag=0, spare3=0] D/Avnav:AndroidPositionHandler: location: changed, acc=5.0, provider=gps, date=Thu Jun 01 10:07:25 GMT+07:00 2023 D/Avnav: Decoder: RMC sentence, valid=true D/Avnav: Decoder: external position [07.2041167 S, 112.7251333 E, 0.0 m] D/AvNav:Decoder: Decoder: location: Location[null -7.204117,112.725133 hAcc=??? et=?!? vel=0.0 bear=0.0 vAcc=??? sAcc=??? bAcc=???] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,C7mNlT00;b14e?vv<vhsSwfPFK0F2Tj30LB2>3111110S2P73320,0*4F I/AvNav:Decoder: Decoder: AisPacket received: [msgId=19, repeat=0, userId=525841552, spare1=0, sog=46, posAcc=1, pos=(129905644,67671711) = (-4312084,67671711), cog=952, trueHeading=511, utcSec=29, spare2=0, name=KM KARYA NIAGA , shipType=70, dimBow=40, dimStern=14, dimPort=6, dimStarboard=6, posType=1, raimFlag=0, dte=0, modeFlag=0, spare3=0] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17lcQJ0P003ujssq1i00?vt28Ci,02F
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525001064, cog=0, navStatus=0, pos=(129909188,67628637) = (-4308540,67628637), posAcc=1, raim=1, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=30, slotTimeout=2, subMessage=1265]
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,18J8rh0uQS83icesvd4WwVDr0@B,0*23 D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17m9vtuP003fmKsr0bh0?vv2@CE,0
03
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=564280000, cog=2046, navStatus=0, pos=(130001938,67603830) = (-4215790,67603830), posAcc=0, raim=0, specialManIndicator=0, rot=246, sog=99, spare=0, syncState=0, trueHeading=202, utcSec=29, slotTimeout=4, subMessage=1192]
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525500147, cog=0, navStatus=13, pos=(129925291,67597997) = (-4292437,67597997), posAcc=1, raim=1, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=31, slotTimeout=4, subMessage=1237]
I/Avnav:GpsService: timer action
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,B,17m3uh@0013oRgsq1lhikBt00SC,0*0B I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525401537, cog=199, navStatus=0, pos=(129909203,67615831) = (-4308525,67615831), posAcc=1, raim=0, specialManIndicator=0, rot=0, sog=1, spare=0, syncState=0, trueHeading=105, utcSec=30, slotTimeout=0, subMessage=2259] D/Avnav: network check - no change D/AvNav:Decoder: getGpsData: {"mode":1,"lat":-7.204116666666667,"lon":112.72513333333333,"course":0,"speed":0,"time":"2023-06-01 03:07:25.000+0000"} D/Avnav:AndroidPositionHandler: location: changed, acc=5.0, provider=gps, date=Thu Jun 01 10:07:26 GMT+07:00 2023 D/Avnav: Decoder: RMC sentence, valid=true D/Avnav: Decoder: external position [07.2041167 S, 112.7251333 E, 0.0 m] D/AvNav:Decoder: Decoder: location: Location[null -7.204117,112.725133 hAcc=??? et=?!? vel=0.0 bear=0.0 vAcc=??? sAcc=??? bAcc=???] D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17li0kP00842Ausp3OII?vv20St,021
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525101059, cog=2404, navStatus=3, pos=(129893245,67637822) = (-4324483,67637822), posAcc=0, raim=1, specialManIndicator=0, rot=128, sog=0, spare=0, syncState=0, trueHeading=511, utcSec=31, slotTimeout=0, subMessage=2300]
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17ljfb@01g83tLMt12U0j0fv0<2s,0
6F
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525119145, cog=200, navStatus=0, pos=(130040468,67625870) = (-4177260,67625870), posAcc=0, raim=0, specialManIndicator=0, rot=0, sog=111, spare=0, syncState=0, trueHeading=23, utcSec=31, slotTimeout=3, subMessage=187]
D/Avnav: Decoder: GSV sentence (1/2) numSat=6
D/Avnav: Decoder: GSV sentence (2/2) numSat=6
D/Avnav: Decoder: GSV sentence last, numSat=6
D/Avnav: Decoder: GSA sentence, used=0
I/Avnav:GpsService: timer action
D/ConnectionReaderWriter: TcpReader: received: !AIVDM,1,1,,A,17li<000842jmspGMc2bs00D2A,0*6E
I/AvNav:Decoder: Decoder: AisPacket received: [msgId=1, repeat=0, userId=525101106, cog=2826, navStatus=8, pos=(129898358,67638874) = (-4319370,67638874), posAcc=0, raim=0, specialManIndicator=0, rot=0, sog=0, spare=0, syncState=0, trueHeading=349, utcSec=32, slotTimeout=5, subMessage=145]
D/AvNav:Decoder: getGpsData: {"mode":1,"lat":-7.204116666666667,"lon":112.72513333333333,"course":0,"speed":0,"time":"2023-06-01 03:07:26.000+0000"}
D/Avnav:AndroidPositionHandler: location: changed, acc=5.0, provider=gps, date=Thu Jun 01 10:07:27 GMT+07:00 2023
D/Avnav: Decoder: RMC sentence, valid=true
D/Avnav: Decoder: external position [07.2041167 S, 112.7251333 E, 0.0 m]
D/AvNav:Decoder: Decoder: location: Location[null -7.204117,112.725133 hAcc=??? et=?!? vel=0.0 bear=0.0 vAcc=??? sAcc=??? bAcc=???]
D/Avnav.AisStore: getAisData dist=1852000.0

@wellenvogel
Copy link
Owner

Could you please attach the raw NMEA data that you feed into your box?
And for the Debug log: Please attach this as a file. Otherwise it's a bit hard to get all the info from the formatted text as characters are missing.
Maybe you could add some debug output just to see which center locations are used to query AIS data.
In AisStore.java add after line 220 (

AvnLog.d(LOGPRFX,"getAisData dist="+distance);
):

for (Location l: centers) {
            AvnLog.d(LOGPRFX, "center=" +l);
        }

@Izzul24
Copy link
Author

Izzul24 commented Jun 5, 2023

Sorry for the Debug Log earlier. Here are some NMEA data and the Debug Log
log.txt

NMEA.txt

@wellenvogel
Copy link
Owner

Many thanks. This way it was easy to find the problem.
Strange enough it seems that no one was using AvNav android with AIS data on a southern latitude (i.e. below 0) until now...
I will create a daily a bit later today that will contain a fix.

@Izzul24
Copy link
Author

Izzul24 commented Jun 7, 2023

That's really great! Thanks a lot, now it's run fine.
But sorry, for last question. When I was trying to build the APK, it seems to have error on the AndroidPositionHandlerTest and WorkerTest. It affects a lot of function, I'm not sure what's going on. Here are some of the error :

error: method setParameters in interface IWorker cannot be applied to given types; h.setParameters(p, true); ^ required: JSONObject,boolean,boolean found: JSONObject,boolean reason: actual and formal argument lists differ in length

@wellenvogel
Copy link
Owner

For now just forget about the tests...
I tried to build some test env - but several times gave up on it.
I guess in a first step I need to port everything to the newest android libs (androidx).

@wellenvogel
Copy link
Owner

release 20230702

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants