The introductory teaching of the Internet of Things Xiaobai, how to quickly access a cloud platform ② Gizwits Internet of Things cloud service (emphasis on Xiaobai’s learning ideas, masters ignore)

Teaching people to fish is not as good as teaching people to fish. The purpose is not to teach you specific project development, but to learn the ability to learn. I hope you can share it with friends or classmates in need around you, maybe the road of great god growth has Boge's cornerstone. . .

Click Summary bloggers Contact (You Are)

Insert picture description here

1. Background

The last wave of articles on how to learn IoT cloud platforms

This article mainly explains 机智云

Insert picture description here
Then, the learning points of the IoT cloud platform:

  • 是什么?
    To put it bluntly, it is the cloud platform 简介, know what the hell it is. . . .

  • 能做什么?
    This is more important, that is, from the 技术角度perspective of what is supported 应用层协议, such as HTTP, MQTT, etc. Because different protocols require you to support differently 协议库(HTTP requires HTTP protocol library support), the rest is nothing more than the unique protocol content of the docking platform. I will name it temporarily 平台层数据协议(such as authentication, platform custom data, platform JSON data format, etc. ).

  • 成功案例?
    Generally, it is best to have an example that can be run at the beginning, and you can find out if there is some code that can be used.

2. Access to Gizwits Thinking

这个帖子并不是教你如何接入机智云Let me explain one point first , but I will explain myself through the case of Gizwits 学习思路.

  • 找到官方说明入口
    Gizwits official website

  • 找到开发者文档
    Generally you can find the entrance on the homepage of the official website

Insert picture description here
Insert picture description here

  • 详细阅读一下官方开发文档
    Insert picture description here
    Next, start 带着问题to learn the official documentation.
    Gizwits still has a lot of documents, so you still need to read it carefully.

Insert picture description here
This is the official access map, with two key points:

  • 设备接入
    There are two schemes, no matter which scheme ultimately passes GAgent
  • 应用开发
    Including the automatic generation of APP code, I personally find this more useful

Follow-up Boge will give a simple tutorial for Gizwits, including how to modify the app interface protocol.

Focus:

  • At present, Boge looked at the official documents and found that there are many different development methods and some key content. Here I will briefly list them.

2.1 About application development (key content)

Gizwits provides APP SDK, open source framework, WeChat SDK, which is convenient for developers to quickly build mobile application terminal system 只需根据工具指引实现业务功能without realizing the underlying functions.

一键生成业务代码

Focus:

2.2 About device access (key content)

For the general we use 8266 to learn, so focus on:
Insert picture description here
Insert picture description here

For us, we need to focus on learning GAgent接入机智云流程.

GAgent detailed explanation is the
most important thing, be sure to read it carefully.

Tucao point:

  • Because it is a firmware developed by someone else, the source code cannot be seen. . . . . . .

目前开发方式主要是基于机智云官方的GAgent固件,烧录到ESP8266,再通过另外一个mcu去控制

Guess you like

Origin blog.csdn.net/dpjcn1990/article/details/109303198