GithubHelp home page GithubHelp logo

lz-kwok / httpdemo_ec20_v1.1 Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 445 KB

use libgMyuartlzHttp.so which make from HttpDemo_EC20_v1.0,to realize control ec20 http post and get

Makefile 26.62% C 73.38%

httpdemo_ec20_v1.1's Introduction

 ________         __            _________          
/ ______|        |  |          |____    _|         
| |   _____      |  |               /  /           
| |  |_   _|     |  |              /  /            
| |____| |       |  |____       __/  /____         
\________|       |_______|     |__________|        

Copyright (C) 2013 - 2020, liangzhiGuo, [email protected], et al

HttpDemo_EC20_v1.1

  1. Helper programs

1.1. tty_port

tty_port 为系统中实际serial_id , 如"/dev/ttymxc1",根据实际情况可在main.h中修改;

1.2. gDevice_Uart_Init

串口初始化api,输入参数分别为serial_id、波特率和数据接收回调函数;

1.3. post_to_ec20

发送AT指令至EC20,带参发送与printf完全相同

1.4. Http_Post_RawJson_Data

可替代“AT+QHTTPPOST”所需执行的操作,发送原始json数据至服务器,输入形参为cJSON_PrintUnformatted生成的字符串

httpdemo_ec20_v1.1's People

Contributors

lz-kwok avatar

Stargazers

 avatar  avatar

Watchers

James Cloos 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.