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.

CC2642 函数使用的相关问题

Other Parts Discussed in Thread: CC2640

在CC2640中,有个peripheral.h  .c 文件,包含了以下函数

使用GAPRole_SetParameter可以打开关闭广播,和设置相关广播参数等

advertEnabledPeriod=TRUE;

GAPRole_SetParameter(GAPROLE_ADVERT_ENABLED, sizeof(uint8_t),&advertEnabledPeriod)

使用HAL_SYSTEM_RESET(); 可以复位芯片

使用GAPRole_TerminateConnection();可以断开连接。

在CC2642中,这个文件去哪了?这些函数被替代了吗?

有人能提点以下吗?谢谢!

背景:

使用simplelink_cc13x2_26x2_sdk_4_30_00_54 SDK,   例程使用 simple_peripheral