This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

藍芽休眠問題

Other Parts Discussed in Thread: CC2541

請問藍芽進入休眠後

還有哪個function 是一直處於輪詢(polling)狀態?

睡眠時,是否還有辦法藉由hidAdvRemoteHandleKeys 傳送按鍵出去呢?(非按下按鈕的方式)

謝謝

  • hi lee,

    休眠的时候任何BLE 设备是没法传送数据的. 

    需要传数据的话必须唤醒RF , 这样必然会唤醒系统.

  • YAN 大您好:

    目前我找到在 osal.c 中

    #if defined( POWER_SAVING )

    else
    {
    osal_pwrmgr_powerconserve(); 
    #endif

    該函數為永遠的 polling 

    目前是打算利用 P1_7準位 為高準位則發送 

    hidAdvRemoteHandleKeys( 66, true, 0 );
    hidAdvRemoteHandleKeys( 0xFF, true, 0 );

    但是一進入 休眠後 卻無法工作 (RF關閉)

    有辦法讓 CC2541 進入休眠 但是 RF 卻不關閉的嗎?

     RF在睡眠中關閉的話 那豈不是呈現斷開的狀態?