-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4b85c2b
Showing
417 changed files
with
36,661 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# phicomm_tc1_a1 | ||
斐讯TC1 A1版接入OpenIoTHub(https://github.com/OpenIoTHub) | ||
|
||
#### 适用于tc1 a1,刷机后通电(小心触电),连接类似的Easylink_###的wifi,返回手机或者pc连接后打开http://10.10.10.1 开始配网下一步然后插排就会显示结果并连接wifi,然后使用OpenIoTHub( https://github.com/OpenIoTHub ) apk在刚刚给插排配置的同一个路由器网络里面查看控制界面 | ||
|
||
##### 如果要远程请参看apk的网关相关项目 | ||
|
||
#### 插排配置wifi后需要重新配置wifi请长按按钮十秒以上再重复上述步骤 | ||
|
||
### app操作界面 | ||
![image](./images/UI.jpg) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "sntp.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
############################################################################### | ||
# | ||
# The MIT License | ||
# Copyright (c) 2016 MXCHIP Inc. | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
# in the Software without restriction, including without limitation the rights | ||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
# copies of the Software, and to permit persons to whom the Software is furnished | ||
# to do so, subject to the following conditions: | ||
# | ||
# The above copyright notice and this permission notice shall be included in | ||
# all copies or substantial portions of the Software. | ||
# | ||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR | ||
# IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
############################################################################### | ||
|
||
|
||
NAME := App_TC1 | ||
|
||
$(NAME)_SOURCES := main.c\ | ||
cJSON/cJSON.c\ | ||
ota_server/ota_server.c\ | ||
user_wifi.c\ | ||
user_gpio.c\ | ||
user_sntp.c\ | ||
user_mqtt_client.c\ | ||
user_ota.c\ | ||
user_power.c\ | ||
user_function.c\ | ||
http_server/app_httpd.c \ | ||
http_server/web_data.c | ||
|
||
$(NAME)_COMPONENTS := protocols/SNTP\ | ||
protocols/mqtt\ | ||
utilities/url\ | ||
daemons/http_server | ||
|
Oops, something went wrong.