Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
matteriot committed Nov 7, 2019
0 parents commit 4b85c2b
Show file tree
Hide file tree
Showing 417 changed files with 36,661 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
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)
1 change: 1 addition & 0 deletions TC1/MiCOKit_EXT.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include "sntp.h"
44 changes: 44 additions & 0 deletions TC1/TC1.mk
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

Loading

0 comments on commit 4b85c2b

Please sign in to comment.