Open alwyali opened 3 years ago
Hi! You have to implement your own adapter: https://github.com/freshworkstudio/gps-tracking-nodejs#adapters
No Sir, I have used TK510. Am very sorry I did not mention that. Sincere apologies and regards Alwy Ali
On Fri, Jun 4, 2021 at 7:52 PM Gonzalo De Spirito @.***> wrote:
Hi! You have to implement your own adapter.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/freshworkstudio/gps-tracking-nodejs/issues/34#issuecomment-854872037, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMDLX5NNNG25Z7DQEYKE7Y3TREAGTANCNFSM46DE7ICQ .
I have actually research a lot because I did not have the documentation of the, somebody tried on a PHP server and realized the data is transmitted in BIG endian mode. Honestly, I don't know, where exactly in TK510 raw (buffer) is initially captured, so that I can try to do the substitution. If you can assist I will appreciate.
I know nothing about TK510
Ooh, Ok. Because TK510 is one of the (4) adapters listed. There are TK103, TK510, GT06, GT02A adapters. Am very sorry for any discomfort and confusion Sir.
Oh, that went from a PR from other developer, probably. But you can check the code of that specific adapter: https://github.com/freshworkstudio/gps-tracking-nodejs/tree/master/lib/adapters
Thank you very much Sir. I will check that. But is it possible to do that in TK103. Maybe that issue of BIG endian and LITTLE endian is the one which is causing the problem. Frankly TK103 has more implementations than TK510. I appreciate your guidance, thanks again.
Hello Sir, we have GPS device which send data in BIG- endian mode(big-endian)Network byte order to transfer words and double words. I kindly request for assistance on where (which file) I can make changes so that the transmitted data is encoded/decoded using BIG endian. Or to check the endianness first and decides. Currently this is what we get. It begins with a line saying undefined then we get the following T☺~☺"G@c�♠d�☺☺0/0000XN-S4876363☺4 T☺~☺"G@c�♠d�☺☺0/0000XN-S4876363☺4 ☺"@☺�Gdc�♠☺/☺0000N0SX4-7383646�☺B�XXXX ☺"@☺�Gdc�♠☺/☺0000N0SX4-7383646�☺B�XXXX