CH585 CH584 CH587 连接回调

连接回调

功能:在连接间隔,会进入该回调,可以在回调函数加上其他执行逻辑代码。

LL_ConnectEventRegister(connectCB);
static void connectCB(uint32_t timeUs)
{
    PRINT("connect timeUs = %d\r\n", timeUs);
}

 

posted @ 2026-05-14 10:33  debugdabiaoge  阅读(10)  评论(0)    收藏  举报