GithubHelp home page GithubHelp logo

rt-thread-packages / cmux Goto Github PK

View Code? Open in Web Editor NEW
29.0 11.0 17.0 331 KB

connection multiplexing protocol for RT-Thread, support GSM0710 .etc

License: Apache License 2.0

Python 0.83% C 99.17%
ppp at gsm0710

cmux's People

Contributors

armink avatar guanxionghui avatar lawlieta avatar mysterywolf avatar qiyongzhong0 avatar xiangxistu avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmux's Issues

CMUX中AT指令与PPP两通道同时使用情况下,中途拆除SIM卡,出现内存访问越界导致死机

开发环境

  • STM32F429
  • RAM 32MB(EXT)
  • ROM 1MB
  • EC20 4G模组
  • keil MDK
  • Windows
  • 软件包:cmux,at_client,ppp

操作流程及现象

  • 开机后启动CMUX
  • 在 cmux.at 通道上注册EC20设备(只初始化,不注册为网络设备。这一点对实验结果无影响)
  • 启动PPP
  • ping baidu.com 成功
  • 手动拿掉SIM卡,5-10s后收到AT通道发出的:
    • +CPIN: NOT READY
    • +QIURC: "pdpdeact",1
  • 发生内存访问越界,命令行中会打印出大量字符串,目测是flash中内容,然后死机

追踪

追踪了一下LR寄存器中的定位,在接收到+QIURC: "pdpdeact",1之后 cmux.c-L972处 data指针指向地址异常,至于是什么原因导致了此异常,劳烦熟悉cmux软件架构的维护人员分析下了

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.