commit 34b2e8602ecb82a1d9401b9d21fa4c16f84389a2 Author: 阿猫 Date: Thu Sep 3 09:36:34 2026 +0800 init diff --git a/.heart/index/files-v1.json b/.heart/index/files-v1.json new file mode 100644 index 0000000..0588704 --- /dev/null +++ b/.heart/index/files-v1.json @@ -0,0 +1 @@ +{"schemaVersion":1,"projectId":"941ffde0-1f80-49fb-9974-75c4166efaff","localPath":"/home/system/Heart/m-stecmd","builtAt":1788399025699,"files":[]} \ No newline at end of file diff --git a/docs/.txt b/docs/.txt new file mode 100644 index 0000000..f44f631 --- /dev/null +++ b/docs/.txt @@ -0,0 +1,47 @@ +蓝牙BLE程序说明 + +1、蓝牙名称 VM208 xxxxxx + +2、UUID : 0000fee2000010a0800000602f9b3698 + +3、接收UUID{Notify} : a44bc439abfd45a242542d4d31129701 + +4、写UUID : a44bc439abfd45a242542d4d31129700 + +5、Notify上传数据格式 + + 5.1、振弦数据报文格式: + + CC F12345 T334 E14039 SG AA + 0x0D 0x0A + + 格式说明: + + CC:报文头 + + AA:报文尾 + + 0x0D 0x0A:结束符号 + + F12345: F后面的是频率数据,12345代表 12345/10= 1234.5HZ + + T334: T后面是温度数据,334代表 334/10 = 33.4度 + + E14039:E后面是电压数据,14039代表 14039/100 = 140V + + SG:S后面是状态,G 元件质量好 Q 元件一般 N 没元件 + + +6、下发命令(写UUID)数据格式 + + 6.1、激励设置命令格式: + + 0F 0F 06 0A XX XX 0D 0A + + 其中XX XX为设置的数据: + + 比如:设置 100,16进制为0x0064,那么XX XX 为 00 64 + + 下发的整条命令为 0F 0F 06 0A 00 64 0D 0A + + 命令返回(接收UUID):0F 0F 06 0A XX XX 0D 0A + \ No newline at end of file diff --git a/docs/API-V4.5.docx b/docs/API-V4.5.docx new file mode 100644 index 0000000..00a41ba Binary files /dev/null and b/docs/API-V4.5.docx differ diff --git a/docs/BLE-IE1000.txt b/docs/BLE-IE1000.txt new file mode 100644 index 0000000..8144b6b --- /dev/null +++ b/docs/BLE-IE1000.txt @@ -0,0 +1,73 @@ +蓝牙BLE程序说明 + +1、蓝牙名称 IE-1000 + +2、UUID : 0000fee6000020006000006012345678 + +3、接收UUID{Notify} : FE000000000000000000000000000581 + +4、写UUID : FE000000000000000000000000000580 + +5、Notify上传数据格式 + + 格式:'Y' XX XX XX XX 'T' YY YY YY YY 0D 0A + + 举例: + + 59 D8 BE 50 41 54 00 00 E8 41 0D 0A + + 59 :'Y' 表示压力 + D8 BE 50 41:表示压力16进制 0x4150bed8 转换为浮点数 13.04 + 54 :'T' 表示温度 + 00 00 E8 41:表示温度16进制 0x41e80000 转换为浮点数 29 + 0D 0A: 结束 + + + + 蓝牙BLE程序说明 + +1、蓝牙名称 VM208 xxxxxx + +2、UUID : 0000fee2000010a0800000602f9b3698 + +3、接收UUID{Notify} : a44bc439abfd45a242542d4d31129701 + +4、写UUID : a44bc439abfd45a242542d4d31129700 + +5、Notify上传数据格式 + + 5.1、振弦数据报文格式: + + CC F12345 T334 E14039 SG AA + 0x0D 0x0A + + 格式说明: + + CC:报文头 + + AA:报文尾 + + 0x0D 0x0A:结束符号 + + F12345: F后面的是频率数据,12345代表 12345/10= 1234.5HZ + + T334: T后面是温度数据,334代表 334/10 = 33.4度 + + E14039:E后面是电压数据,14039代表 14039/100 = 140V + + SG:S后面是状态,G 元件质量好 Q 元件一般 N 没元件 + + +6、下发命令(写UUID)数据格式 + + 6.1、激励设置命令格式: + + 0F 0F 06 0A XX XX 0D 0A + + 其中XX XX为设置的数据: + + 比如:设置 100,16进制为0x0064,那么XX XX 为 00 64 + + 下发的整条命令为 0F 0F 06 0A 00 64 0D 0A + + 命令返回(接收UUID):0F 0F 06 0A XX XX 0D 0A + \ No newline at end of file diff --git a/docs/SystemCode_secertkey.txt b/docs/SystemCode_secertkey.txt new file mode 100644 index 0000000..54eff5e --- /dev/null +++ b/docs/SystemCode_secertkey.txt @@ -0,0 +1,2 @@ +SystemCode:Mobile +SecretKey:6C2782BB83A6FC178583A00BDB13ECABF2509B013C31B1E5750719E0AAA4811AFD57CD9440051656DCE2A743F5CB4EF615A09B5398A8FE58E5D3512F78D6102EECFEF6C6160084DD \ No newline at end of file diff --git a/docs/appid_secertkey.txt b/docs/appid_secertkey.txt new file mode 100644 index 0000000..54eff5e --- /dev/null +++ b/docs/appid_secertkey.txt @@ -0,0 +1,2 @@ +SystemCode:Mobile +SecretKey:6C2782BB83A6FC178583A00BDB13ECABF2509B013C31B1E5750719E0AAA4811AFD57CD9440051656DCE2A743F5CB4EF615A09B5398A8FE58E5D3512F78D6102EECFEF6C6160084DD \ No newline at end of file