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.

CC2640R2F执行完自定义任务,广播消失

Other Parts Discussed in Thread: CC2640R2F

Dear All

我用SDK simplelink_cc2640r2_sdk_4_20_00_04的Simple_Peripheral的工程

在工程里面添加了自定义的刷屏函数

如下,用手机蓝牙助手连接广播后,用广播FFF3发送数据后,在CC2640R2F的SIMPLEPROFILE_CHAR3上接收数据

case SIMPLEPROFILE_CHAR3:
SimpleProfile_GetParameter(SIMPLEPROFILE_CHAR3, &EDP);
EDPDATA=EDP;
EDP=0;

之后进入判断到EDP_Display()的任务函数,执行完函数后,广播就消失就连不上了

if(EDPDATA==02)
{
EDPDATA=0;
EDP_Display();

}