Giter Site home page Giter Site logo

serialport_project's Introduction

serialport_project's People

Contributors

souvdc avatar

Stargazers

 avatar zhangzhe avatar  avatar  avatar smile drily avatar mimosa avatar Bihao Lee avatar  avatar  avatar  avatar zoom avatar RenxiongWu avatar R avatar maiduoduo avatar huangwenjie avatar wxw6860 avatar tan huohui avatar yovenny avatar 黄老邪 avatar  avatar kangzhiping avatar 飞飞 avatar  avatar  avatar  avatar LuckyDuDu avatar  avatar Gavin.Mao avatar DreamFor5000000 avatar  avatar wannaRunaway avatar wwwatson avatar Lazy avatar  avatar zoumi avatar  avatar  avatar ccf19881030.github.io avatar randy avatar xj__luo avatar  avatar  avatar  avatar  avatar abvatous avatar  avatar GodZza avatar  avatar  avatar ProZoom avatar mubin avatar honghe avatar Arisono avatar 蔡焕伦 avatar  avatar  avatar  avatar  avatar  avatar TianShuang Ke avatar ForeverrichLee avatar  avatar hongyu avatar

Watchers

 avatar ccf19881030.github.io avatar  avatar

serialport_project's Issues

写的很详细,点赞

特别这一段:
获取一段串口数组数据,判断数据中是否包含协议头和设备id,如果没有则继续拼接字符串,如果有则判断数组的长度是否大于最小协议长度,如果小于则继续追加,如果大于则根据数据长度获取数据部分,然后将数据部分加上协议头等数据组成一个数组,然后判断数组检验码是否相同,如果相等证明是一条完整数据,并将拼接的数据移除掉完整数据部分(避免重复解析已经处理过的数据。)如果不是则丢弃数据。

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.