Giter Club home page Giter Club logo

jt808-server's Introduction

.net core dotnetty tcp server (jt808)

在网上看到Azure团队开源的DotNetty框架,一时兴起写了个基于DotNetty的Tcp Server Demo 解析了JT808的部分指令,应答部分暂时未弄完(最近补全了应答部分,没做测试),代码写的比较随意请不要在意。

部分代码参考了java版本的jt808协议解析 https://github.com/hylexus/jt-808-protocol

感慨JAVA强大的同时,还是喜欢C#强大的语法,希望.net core发展越来越好

直接运行程序,端口默认9623(在Main方法里面修改),可以使用网络调试助手联调(Tool\NetAssist.exe)

Image text

部分JT808测试数据如下:

终端注册

7E0100002c0200000000150025002c0133373039363054372d54383038000000000000000000000000003033323931373001d4c142383838387b7E

终端鉴权

7E0102000B018170223038009D3138313730323233303338787E

轨迹数据

7E0200007D020181702230330003000000000000000101EA3B5906AFC37000000000000018050921435330011F310100D004000A0000D40164E10201A4E221545A43532D312E31332E3130392E342031372D31322D32382C4D5430335F503130E30F343630303031383633353537393237E41301CC0000708177443E7081C1A43D7081774535E504012C02580E7E

终端心跳

7E0002000001817022303801B8617E

jt808-server's People

Contributors

mingyunet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

jt808-server's Issues

DoResponse里面能处理下吗?谢谢

作者您好。看到您这份 JT808-server欣喜若狂,运行之,发现 DoResponse 尚未实现,能否帮忙实现下?

另外,看Readme里面的截图实际上应该有处理这个逻辑 才会通过鉴权的呀。是不是忘记提交什么代码了?

拜托拜托。

Connect to the server remotely

Hi ,
does the server support remote access ?
I notice that it bound to the ip 0:0, how I can send data to the server from remote machine ?

我尝试完成了一下答应

😂不知道正不正确,我放在正式设备上测试,没有重复注册,都是连接、注册、断开、并没有位置消息,不清楚是不是设备并没有移动

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.