BLE手环与和家亲APP通信协议V0 3 beta_第1页
BLE手环与和家亲APP通信协议V0 3 beta_第2页
BLE手环与和家亲APP通信协议V0 3 beta_第3页
BLE手环与和家亲APP通信协议V0 3 beta_第4页
BLE手环与和家亲APP通信协议V0 3 beta_第5页
已阅读5页,还剩10页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

? ? ? V 0.1beta 20190410v 0.1 beta? ? ? V 0.2beta 201904101).? 2).? 3).?OTA? ? ? V 0.3beta 20190411 1).? 2).? ? ? ? BLE?APP?V0.3 beta ?.? 1. APP?BLE? Service UUID:0 x0000FEA1-0000-1000-8000-00805f9b34fb Characteristic UUID: 0 x00002690-0000-1000-8000-00805f9b34fb 2.BLE?APP? Service UUID:0 x0000FEA2-0000-1000-8000-00805f9b34fb Characteristic UUID: 0 x00002691-0000-1000-8000-00805f9b34fb ? 2690write read 2691notify header (? ?) deviceTypeId (? ?) MAC 2bytes5bytes6bytes CM?30333aa:cc:21:32:ce:df ? requestcommand Id + key responsecommand Id + key +? 3. ? ?Manufacture Data ?,?13bytes 4. ? 4.1 ? APP?request?2690?APP?2691? ? ?2?command Id + key? command ID ? ?CM 30333 aa cc 21 32 ce df Command ID? 0 xaa? 0 xa1? 0 xa2? 0 xa3? 0 xa4? 0 xa5? 0 xa6? 0 xa7? 0 xa8OTA? 5 ? key? 0 x01? 0 x02? ? 0 x03?(?) 0 x04? ?key? 1byte1byte11byte 0 xaa0 x01 ?key? 1byte1byte1byte 0 xaa0 x010 ? ?1?2? ?.? 1.? (Command ID =0 xaa) 1.1 ?key? 1.1 ? 1.1.1 ? 1.1.2 APP-?request? 1.1.3?-APP ?response? 1.2 ? 1.2.1 ? ?1.1.3?APP?mac?deviceType? ? ?APP? - ?APP?11bytes?0,? ?APP? - ? - ? ?0 xaa 0 x01 1 8 8 6 7 1 1 2 6 1 4 ?key? 1byte1byte11bytes7 bytes 0 xaa0 x02 ?key? 1byte1byte1byte 0 xaa0 x020?1? ?key? 1byte1byte11bytes7 bytes 0 xaa0 x03 ?key? 1byte1byte1byte 0 xaa0 x030?1? ? ? ? ? 1.2.2 APP-?request 1.2.3 ?-APP ?response? 1.3 ? 1.3.1 ? ? 1.3.2 APP-?request 1.3.3?-APP ?response? 1.4 ? 1.4.1 ? ?0 xaa 0 x04 1 8 8 6 7 1 1 2 6 1 4 0 7 8 8 8 a d ?0 xaa 0 x02 1 8 8 6 7 1 1 2 6 1 4 0 7 8 8 8 a d ?key? 1byte1byte11byte 0 xaa0 x04 ?key? 1byte1byte1byte 0 xaa0 x010 ? ?1? key? 0 x01?(?APP) 0 x02?(?APP) 0 x03? ?APP? ?APP? 1.4.1 APP-?request 1.3.3 ?-APP ?response? 2.? 2.1 ?key? (command id = 0 xa1) 2.2 ?: APP-?request? response: ?18?0 ?0 xaa 0 x03 1 8 8 6 7 1 1 2 6 1 4 0 xa1 0 x01 ?key?.?.?.? 1byte(0?)1byte(1)4byte(2-5)3byte(6-8)3byte(9-11)3byte(12-13)3byte(14-16) 0 xa10 x01unix ? ?key?.?.?.?.? 1byte(0?)1byte(1)4byte(2-5)3byte(6-8)3byte(9-11)2byte(12-13)3byte(14-16) 0 xa10 x02unix ?value?value?value?value ?key? 1byte1byte1byte 0 xa10 x030?1? 2.3 ? APP-?request: ?-APP ?response? 2.4 ? APP-?request?:comand + key ?-APP?response? ? 2019-04-02 07:10:00 3550? ?1760? ?80? ? ?1260s ?0 xa1 0 x02 92 162 154 72 13 222 0 6 224 0 80 0 4 236 ? 9224 | 16216 | 1548 | 72 = 1554160200 = 2019-04-02 07:10:00 138 | 222 = 3550 0 16 | 68 | 224 = 1760 0 16 | 4 8 | 236 = 1260 0 xa1 0 x02 ? 2019-04-02 07:10:00 3550? ?1760? ?80? ? ?1260s ?0 xa1 0 x02 92 162 154 72 13 222 0 6 224 0 80 0 4 236 ? 9224 | 16216 | 1548 | 72 = 1554160200 = 2019-04-02 07:10:00 138 | 222 = 3550 0 16 | 68 | 224 = 1760 0 16 | 4 APP?response? 4 ? ?command id = 0 xa3? 4.1 ?key? 4.2 ? 0 xa2 0 x01 ?180?300?0? ? 2019-04-01 23:00:00 ? 2019-04-02 07:10:00 ?0 x02 0 x01 0 180 1 44 0 92 162 39 112 92 162 154 72 ? 18 | 44 = 300 9224 | 16216 | 398 | 112 = 1554130800 = 2019-04-01 23:00:00 9224 | 16216 | 154APP ?response? 4.3 ? APP-?request: ?-APP ?response?APP? ?10? 4.4 ? APP-?request: ?-APP ?response? 4.5 ? APP-?request: 0 xa3 0 x01 ?90?0 xa3 0 x01 90 0 xa3 0 x02 0 xa3 0 x03 0 xa3 0 x04 ?key? 1byte1byte2byte 0 xa30 x04? ?key? 1byte1byte1byte 0 xa30 x040?1? key? 0 x01? ?key? 1byte1byte2byte 0 xa40 x01?( ?) ?-APP?response?APP? 4.6 ? ?-APP?response? 5 ? ?command id = 0 xa4? 5.1 ?key? APP-?request: ?-APP?response? 6 ? ?command id = 0 xa5? 6.1 ?key? ?80?0 xa3 0 x04 80 0 xa4 0 x01 ?80 ?120?0 xa4 0 x01 80 120 key? 0 x01? ?key? 1byte1byte1byte 0 xa50 x01? key? 0 x01? 0 x02? 0 x03? 0 x04? ?key? 1byte1byte4byte 0 xa60 x01Unix ? APP-?request: ?-APP?response? 7 ? (command id = 0 xa6? 7.1 ?key? 7.2 ? APP-?request: ?-APP?response? 0 xa4 0 x01 ?95%?0 xa5 0 x01 95 ?2019-04-02 07:10:00 ?0 xa6 0 x01 92 162 154 72 92 162 154 72?1554160200? 9224 | 16216 | 154APP?response? 7.4 ? APP-?request: ?-APP?response? 7.5 ? ?0 xa6 0 x02 1 1 92 170 228 126 7f 92 170 228 126?1554703486? 9224 | 17016 | 228APP?response? ? 8 ? (command id = 0 xa7? 8.1 ?key? 8.2 ? APP-?request: ?-APP?response? 8.3 ? APP-?request: ?-APP?response? ? 0 xa6 0 x03 1 60 ?0 xa7 0 x01 ?60?0 xa7 0 x01 60 ?0 xa7 0 x02 ?key? 1byte1byte3byte 0 xa70 x021.1.1 key? 0 x01? 0 x02? ?key? 1byte1byte1byte 0 xa80 x010:?,1:?, 2:? ,3:?, 4:? 9 OTA? (command id = 0 xa8? 9.1 ?key? 9.2 ? 9.2.1 ? APP?APP? ? APP-?request: ?-APP?response? 9.3 ? 9.3.1 ?

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论