{"id":19036213,"url":"https://github.com/tx7do/go-jt808","last_synced_at":"2025-07-24T14:33:54.625Z","repository":{"id":46586962,"uuid":"458673735","full_name":"tx7do/go-jt808","owner":"tx7do","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-13T06:01:56.000Z","size":50450,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T19:07:55.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tx7do.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-02-13T00:36:43.000Z","updated_at":"2024-12-20T04:07:33.000Z","dependencies_parsed_at":"2022-07-20T03:48:22.950Z","dependency_job_id":null,"html_url":"https://github.com/tx7do/go-jt808","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tx7do/go-jt808","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fgo-jt808","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fgo-jt808/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fgo-jt808/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fgo-jt808/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tx7do","download_url":"https://codeload.github.com/tx7do/go-jt808/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fgo-jt808/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266856135,"owners_count":23995634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T21:53:45.069Z","updated_at":"2025-07-24T14:33:54.591Z","avatar_url":"https://github.com/tx7do.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-jt808\n\n## 协议一览表\n\n| 协议名称             | 是否支持 | 备注                                                        |\n|------------------|------|-----------------------------------------------------------|\n| JT/T 808 2011版本  | 支持   | JT/T808 2011《道路运输车辆卫星定位系统终端通信协议及数据格式》协议                   |\n| JT/T 808 2013版本  | 支持   | JT/T808 2013《道路运输车辆卫星定位系统终端通信协议及数据格式》协议                   |\n| JT/T 808 2019版本  | 支持   | JT/T808 2019《道路运输车辆卫星定位系统终端通信协议及数据格式》协议                   |\n| JT/T 809         | 支持   | JT/T809《道路运输车辆卫星定位系统终端通信协议及数据格式》协议                        |\n| JT/T 905         | 支持   | JT/T905 出租汽车服务管理信息系统运营专用设备-通讯协议                           |\n| JT/T 1078 2016版本 | 支持   | JT/T 1078《道路运输车辆卫星定位系统视频通信协议》协议                           |\n| JT/T 1257 2016版本 | 支持   | JT/T 1257《营运货车能耗在线监测》                                     |\n| T/JSATL          | 支持   | 苏标 T/JSATL《道路运输车辆主动安全智能防控系统（通讯协议规范）》协议(基于JT/T808-2013)    |\n| T/GDRTA(主动安全-粤标) | 支持   | 粤标 T/GDRTA 2020《道路运输车辆智能视频监控报警系统通讯协议规范》协议(基于JT/T808-2019) |\n| GB/T 32960       | 支持   | GB/T32960.3-2016 电动汽车远程服务与管理系统技术规范                        |\n\n## JT808数据结构解析\n\n### 数据包[Packet]\n\n|  头标识  |  数据头   |       数据体/分包数据体        |    校验码    | 尾标识 |\n|:-----:|:------:|:----------------------:|:---------:|:---:|\n| Begin | Header | Payload/SubDataPayload | CheckCode | End |\n|  7E   |   -    |           -            |     -     | 7E  |\n\n### 数据头[Header]\n\n| 消息ID  |            消息体属性             | 协议版本号(2019版本) |      终端手机号      | 消息流水号  | 消息总包数(依赖是否分包) | 包序号(依赖是否分包) |\n|:-----:|:----------------------------:|:-------------:|:---------------:|:------:|:-------------:|:-----------:|\n| MsgId | HeaderMessagePayloadProperty |    Version    | TerminalPhoneNo | MsgNum |  PacketCount  | PacketIndex |\n\n#### 数据头-消息体属性[HeaderMessagePayloadProperty]\n\n| 版本标识(2019版本) |   是否分包   |  加密标识   |   消息体长度    |\n|:------------:|:--------:|:-------:|:----------:|\n| VersionFlag  | IsPacket | Encrypt | DataLength |\n\n#### 消息体属性[Payload]\n\n\u003e 根据对应消息ID：MsgId\n\n***注意：数据内容(除去头和尾标识)进行转义判断***\n\n转义规则如下:\n\n1. 若数据内容中有出现字符 0x7e 的，需替换为字符 0x7d 紧跟字符 0x02;\n2. 若数据内容中有出现字符 0x7d 的，需替换为字符 0x7d 紧跟字符 0x01;\n\n反转义的原因：确认JT808协议的TCP消息边界。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fgo-jt808","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftx7do%2Fgo-jt808","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fgo-jt808/lists"}