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

Kindly help identify protocol from log message. #1667

Open
kuldiplive opened this issue Jan 17, 2016 · 18 comments
Open

Kindly help identify protocol from log message. #1667

kuldiplive opened this issue Jan 17, 2016 · 18 comments

Comments

@kuldiplive
Copy link

Hi!
I tried to find matching protocol from
https://raw.githubusercontent.com/tananaev/traccar/master/tools/test-integration.py

But couldn't find it, kindly help to find its port if already supported from log message.

HEX:

50543b3836333737313032343433363132353b3131313b32303136303131373b30393a33343a35373b3430342c39382c35323833382c30353130383b2b32312e3734353631333b2b3037322e3134333734383b3030302e3030303b3030302e30303b303b303b30303230373238393b31312e38373b342e3030303b3030303030303b313b303b313b30303039

ASCII:

PT;863771024436125;111;20160117;09:34:57;404,98,52838,05108;+21.745613;+072.143748;000.000;000.00;0;0;00207289;11.87;4.000;000000;1;0;1;0009

Regards,
Kuldip

@tananaev
Copy link
Member

It looks similar to SunTech protocol.

@kuldiplive
Copy link
Author

So where to make changes in order to make  it work??  can you pls guide

Thx

@tananaev
Copy link
Member

Have you tried port 5011?

@kuldiplive
Copy link
Author

kuldiplive commented Jan 18, 2016

No luck:

2016-01-17 23:05:43 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a30353a33393b3430342c39382c35323833382c30353130383b2b32312e3734353630353b2b3037322e3134333737303b3030302e3030303b372e313330303b383b313b30303030303030373b31312e38363b342e3030303b3030303030303b313b303b313b30303031
2016-01-17 23:06:43 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a30363a33393b3430342c39382c35323833382c30353130383b2b32312e3734353631333b2b3037322e3134333737353b3030302e3030303b372e313330303b373b313b30303030303030373b31312e38383b342e3030303b3030303030303b313b303b313b30303032
2016-01-17 23:07:44 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a30373a34303b3430342c39382c35323833382c30353130383b2b32312e3734353630333b2b3037322e3134333736313b3030302e3030303b372e313330303b373b313b30303030303030373b31312e38393b342e3030303b3030303030303b313b303b313b30303033
2016-01-17 23:08:44 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a30383a34303b3430342c39382c35323833382c30353130383b2b32312e3734353536363b2b3037322e3134333737303b3030302e3030303b372e313330303b373b313b30303030303030373b31312e38373b342e3030303b3030303030303b313b303b313b30303034
2016-01-17 23:09:44 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a30393a34303b3430342c39382c35323833382c30353130383b2b32312e3734353537303b2b3037322e3134333735383b3030302e3030303b372e313330303b393b313b30303030303030373b31312e38393b342e3030303b3030303030303b313b303b313b30303035
2016-01-17 23:10:44 DEBUG: [7E8B602E: 5011 < 106.209.206.73] HEX: 
50543b3836333737313032343539323838353b3131313b32303136303131383b30343a31303a34303b3430342c39382c35323833382c30353130383b2b32312e3734353538313b2b3037322e3134333735383b3030302e3030303b372e313330303b383b313b30303030303030373b31312e38393b342e3030303b3030303030303b313b303b313b30303036

@tananaev
Copy link
Member

Then I need protocol documentation to implement support for this device.

@kuldiplive
Copy link
Author

As provided by supplier in . bin it can be opened by Notepad++

@tananaev
Copy link
Member

What is provided by supplier?

@kuldiplive
Copy link
Author

Attached bin file. protocol

@tananaev
Copy link
Member

I hope you realize that you are sending emails to GitHub. It doesn't support attachments in emails as far as I know.

@kuldiplive
Copy link
Author

kuldiplive commented Jan 18, 2016

Sorry bro my mistake,

/**
- Written on 4 June 2014 1428 HRS IST
- Protocol PT06
- Sequence diagram of Client-Server Dialogue
  
   +-------------+  
  +-------------+
   |   Server    |  
  |   Client    |
   +-------------+  
  +-------------+
   |  
           /|
   |  
          / |
   |<-------------------------------Feedback/Alaram 
  Packet------------------------/  |

Feedback Packet (Device to Server)

PT;863771024440135;111;20150804;19:12:19;404,93,49132,03208;+23.664823;+079.676768;000.000;1.6700;5;1;002AE6C9;12.73;4.000;000000;1;0;1;6214
1. PT;
2. 863771024440135;
3. 111;
4. 20150804;
5. 19:12:19;
6. 404,93,49132,03208;
7. +23.664823;
8. +079.676768;
9. 000.000;
10. 1.6700;
11. 5;
12. 1;
13. 002AE6C9;
14. 12.73;
15. 4.000;
16. 000000;
17. 1;
18. 0;
19. 1;
20. 6214

+---+----------------------------------------------------------------------------+
    | I |  Feild  
             |

+---+----------------------------------------------------------------------------+
    | 0 |   PT is Header  
            |

+---+----------------------------------------------------------------------------+
    | 1 |   863771024440135 - ID  
            |

+---+----------------------------------------------------------------------------+
    | 2 |   V1 - Ignore  
            |

+---+----------------------------------------------------------------------------+
    | 3 |   20150804 - Date  
            |

+---+----------------------------------------------------------------------------+
    | 4 |   20150804  (hhmmss)  
            |

+---+----------------------------------------------------------------------------+
    | 5 |   404 MNC, 93 MCC,49132 LAC,03208 cellid  
            |

+---+----------------------------------------------------------------------------+
    | 6 |   +23.664823 Lat  
            |

+---+----------------------------------------------------------------------------+
    | 7 |   +079.676768 longitude  
            |

+---+----------------------------------------------------------------------------+
    | 8 |   000.000 Speed  
            |

+---+----------------------------------------------------------------------------+
    | 9 |   1.6700- orientation  
            |

+---+----------------------------------------------------------------------------+
    | 10|   5 - Satellite count  
            |

+---+----------------------------------------------------------------------------+
    | 11|   1 GPS Signal  
            |

+---+----------------------------------------------------------------------------+
    | 12|   002AE6C9 - Odomoter  
            |

+---+----------------------------------------------------------------------------+
    | 13|   12.73 Analog  
            |

+---+----------------------------------------------------------------------------+
    | 14|   4.000 - Not in use  
            |

+---+----------------------------------------------------------------------------+
    | 15|   000000;         |  I/O  
            |
    |                       | +---+---+-----------------------+  
            |
    |                       | | I | D | Description           |  
            |
    |                       | +---+---+-----------------------+  
            |
    |                       | | 0 | 0 | IG (0-off, 1-On)      |  
            |
    |                       | | 1 | 0 | AC (0-off, 1-On)      |  
            |
    |                       | | 2 | 0 | Unknown               |  
            |
    |                       | | 3 | 0 | SOS                   |  
            |
    |                       | | 4 | 0 | Unknown               |  
            |
    |                       | | 5 | 0 | Unknown               |  
            |
    |                       | +---+---+-----------------------+  
            |

+---+----------------------------------------------------------------------------+
    | 16| 1;     IG  (1= OFF, 2= ON)  
            |

+-----------------------+--------------------------------------+-----------------+
    | 17| 0;     Trip ON  
            |

+-----------------------+--------------------------------------+-----------------+
    | 18| 0;     SOS  
            |

+-----------------------+--------------------------------------+-----------------+
    | 19| 0051   Nounce  
            |

+-----------------------+--------------------------------------+-----------------+

*/

Will this text work, or pls provide email id will directly email you.

@tananaev
Copy link
Member

Can you please put it in some readable format. You can just attach it through GitHub or if you want to send it to my email directly you can find address in my profile.

@kuldiplive
Copy link
Author

sent email to your id.
thanks for support

@himsashu
Copy link

himsashu commented Mar 9, 2017

Hi Sir
Is this protocol support in Traccar. I want to know the port on which this device is supported.

Thanks.

@kuldiplive
Copy link
Author

kuldiplive commented Mar 9, 2017 via email

@himsashu
Copy link

himsashu commented Mar 9, 2017

Any other solution exist in Traccar for this tracker???

@kuldiplive
Copy link
Author

kuldiplive commented Mar 9, 2017 via email

@himsashu
Copy link

himsashu commented Mar 9, 2017

I have just 2 pieces of it. It should work if PT also get allowed in SunTech protocol implementation. This little change can do the job for both of us. Hopefully Tananaev may do this by providing updated JAR file with required changes.

I am waiting for Tananaev's reply on this. He may do something for us.

@kuldiplive
Copy link
Author

kuldiplive commented Mar 9, 2017 via email

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