Giter VIP home page Giter VIP logo

3g-l306-test's People

Watchers

 avatar  avatar

3g-l306-test's Issues

第一版测试用例

根据之前的测试结果:
1、GPS + 电机 + 3G发送 + 蜂鸣器 不会马上断线,但是过段时间会断,时间不固定,大部分时候在定位失败时关GPS时
2、GPS + 电机 + 3G发送 马上断线
3、GPS + 3G发送 + 蜂鸣器 马上断线
4、GPS+ 3G发送 马上断线
5、电机 + 蜂鸣器 + gps GPS定位成功或失败,发送和关闭GPS是 会挂
6、GPS + 蜂鸣器 概率出现 过一会断线的现象
7、只开gps 有概率马上断线,有概率在前一次没关就再次打开时时间掉线
如果不开GPS则没有问题

现在要验证的问题

WCDMA 模块掉线,跟 GPS 模块开关是否有关系。

测试方法

  • 关闭 GPS 模块,测试 3G 能否稳定通讯。用我们的测试工具,连续给服务器发 PING 10次以上。观察 1. 服务器能不能正确的回复 PONG;2. 3G 模块的 AT 接口打印是否正常。
  • 打开 GPS 模块,与上一个测试用例同样的方法测试。

如果怀疑服务器应答有问题:

  • 关闭除了 3G 模块以外的所有其他外设,发送觉得有疑问的数据给服务器,服务器端抓包验证。

代码隔离测试

避免代码 BUG 带来的干扰,直接用最裸的代码来测试

  • MCU 只写 3G 连接代码,蓝牙只写控制 GPS 的代码。先保证 3G 模块建立了 TCP 连接,通过蓝牙模块打开 GPS,观察 3G 是否会掉线

  • BLE 连续给 MCU 发多包请求,MCU 没有正确处理粘包

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.