OPP配对

来源:互联网 发布:db2常用sql语句 编辑:程序博客网 时间:2024/06/11 11:28

android OPP发送文件也需要经过authentication encrypt的过程,但是使用的是temp key,因此设备并不会因此而配对。

一下来自blueandroid log

01-21 13:08:43.079  1933  3701 D bt-btif : btif_dm_auth_cmpl_evt: Storing link key. key_type=0x5, is_temp=0 这是正式配对完成时的日志

03-09 09:51:56.116 D/bt-btif ( 1839): btif_dm_auth_cmpl_evt: Temporary key. Not storing. key_type=0x4, is_temp=1 这是OPP发送文件时使用的临时key

0 0
原创粉丝点击