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
from binascii import * | |
from struct import * | |
import json | |
def decode(package): | |
outData={'header':"",'payload':[]} | |
p=package.split("\r\n\r\n"); | |
header=p[0]; | |
payload=p[1]; | |
#print("len:"+str(int(len(package)/1024))); |
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
### 使用步骤 | |
- 使用电源+网线方式连接网络,绿色灯亮表示已经开机网络连接正常. | |
- 打开路由器寻找连接到网络的客户端 hostname 为 AB_BLE_GATEWAY 找到相应 ip. | |
- 浏览器打开 上一步找到的 ip地址. | |
- 打开ABBLEGATEWAY 登录页面 登录用户名密码(默认:admin,123456) | |
#### dashboard | |
- SERIAL NUMBER 设备序列号 | |
- MAC 设备MAC地址 | |
- VERSION 设备版本 | |
- UPLOAD 当前上传方式 |