Article Directory
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)
1. Background
The last wave of articles on how to learn IoT cloud platforms
This article mainly explains 机智云
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
详细阅读一下官方开发文档
Next, start带着问题
to learn the official documentation.
Gizwits still has a lot of documents, so you still need to read it carefully.
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:
- Introduction to APP code automatic generation service
- Since the blogger is an android development, so focus on android app related
- When you go to integrate the APP SDK, you need to look at the Android SDK access to the
Android SDK access . There are many terms and concepts that need to be focused on
2.2 About device access (key content)
For the general we use 8266 to learn, so focus on:
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去控制
。