Other Parts Discussed in Thread: CC2564C
e2e.ti.com/.../btsnoop_5F00_spp_5F00_not_5F00_working.loge2e.ti.com/.../btsnoop_5F00_spp_5F00_working.log
您好!
我尝试通过 SPP (串行蓝牙终端应用)将 Android 设备连接到 CC2564C、以 FreeRTOS SPPLE 演示为基础。 它很少工作、通常在从 Android 连接到设备后20秒、端口关闭。 我在 Android 6和10上进行了测试。 日志:
服务器已打开:服务器端口4、串行端口 ID 1。
存储了服务器端口上下文。
atPINCodeRequest:0xA450466DEC32
用:PINCodeResponse 进行响应
GAP_Authentication_Response ()、Pin Code Response Success。
SPP+LE>
atLinkKeyCreation:0xA450466DEC32
已存储链接密钥。
atLinkKeyRequest:0xA450466DEC32
GAP_Authentication_Response 成功。
SPP+LE>
SPP 开路指示、ID:0x0001、电路板:0xA450466DEC32。
SPP+LE>
SPP 端口状态指示:0x0001、状态:0x000B、中断状态:0x0000、长度:0x0000。
SPP 关闭端口、ID:0x0001
我还在连接来自成功和失败尝试的 btssnoop 日志(代码仍然相同)。