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.

蓝牙栈中,怎么关闭ACC?



在网上看到到关闭ACC可以降低电流,请问这个ACC是什么东东,都没有听说过。怎么可以关闭??

  • ACC?不常听到,难道说的是accelerometer?你现在的电流是多少?

  • 现在连接上以后,电流是900uA左右。

    if ( events & SYS_EVENT_MSG )
    {
    uint8 *pMsg;

    if ( (pMsg = osal_msg_receive( simpleBLEPeripheral_TaskID )) != NULL )
    {
    simpleBLEPeripheral_ProcessOSALMsg( (osal_event_hdr_t *)pMsg );
    VOID osal_msg_deallocate( pMsg );
    }
    return (events ^ SYS_EVENT_MSG);
    }

    if ( events & SBP_START_DEVICE_EVT )
    {

    VOID GAPRole_StartDevice( &simpleBLEPeripheral_PeripheralCBs );
    VOID GAPBondMgr_Register( &simpleBLEPeripheral_BondMgrCBs );
    // osal_start_timerEx( simpleBLEPeripheral_TaskID, SBP_PERIODIC_EVT, SBP_PERIODIC_EVT_PERIOD );
    return ( events ^ SBP_START_DEVICE_EVT );
    }

    只有这两个事件,设备打开后,就没有别的事件了。但是连接上以后电流还是达到了900uA。不连接是只有10uA左右的样子。