GithubHelp home page GithubHelp logo

ls's Introduction

微小卫星项目

项目旨在实现利用WIFI实现微小卫星间的信息沟通,研究以后小卫星群之间的通信问题

项目配置

  1. QT
  2. Android Studio

数据结构

  • 认证
    • 手机端向服务端发送字符 "phone"
    • 卫星端的数据客户端向服务端发送 {"id":"2334","type":"client","secret":"jfksjflk"}
    • 卫星的文件客户端向服务端发送 {"id":"2334","type":"clientfile"}
    • 注意:
      • 只有在数据通道建立完成后文件传输通道才能建立成功
      • 手机端接入认证成功后服务端不会发送任何消息,其他客户端认证成功后服务端会发送字符串 "allow"
  • 数据传送
    • 位置信息
      • 数据客户端->服务端
        {"type":"location","x":12,"y":14}
      • 服务端->其他客户端
        {"ip":"xxx.xxx.xxx.xxx","port":8948,"id":"2334","type":"location","x":"12","y":"14"}
      • 服务端->手机端
        {"ip":"xxx.xxx.xxx.xxx","port":8948,"id":"2334","type":"location","x":"12","y":"14","R":222,"G":222,"B":222}
    • 状态信息(一个卫星客户端断连,服务端通知手机端)
      {"id":"2334","type":"status",status":0}
    • 文件传送
      • 文件头
        文件总大小(qint64)+文件名大小(qint64)+文件名
    • 命令(服务端->卫星客户端) {"type":"order","order":"videostart"}

ls's People

Contributors

victorysong avatar

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.