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.

cc2540 connected后又立即disconnect



我用central去连peripheral,central这边打印了connected 人后立即又打印disconnect。disconnect reason :62。

1)如果我peripheral不使能 power-saving(在iar中加入POWER_SAVING宏),基本上连接能够成功,并且不会断开。但是加入POWER_SAVING,连接就很难成功了。想请问一下是什么原因。

2)基于这种情况,我如何能够通过central来唤醒 sleep中的peripheral,然后再来发起连接呢?

希望ti工程师能解答一下啊。

  • 进入低功耗模式后射频通信停止工作! 建议用i/o中断唤醒
  • 1、有可能是你配置问题,我的加入了power_saving都没有问题

    2、另外,如果使用了ADC,UART,I2C,PWM等外围电路的话,请设置成osal_pwrmgr_device( PWRMGR_ALWAYS_ON );如果退出请设置成:

          osal_pwrmgr_device( PWRMGR_BATTERY );

    3、希望可以帮到你,祝你早日解决问题,并分享一下解决问题的方法,谢谢!