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.

请问 用app给cc2650蓝牙发数据, 蓝牙本地接收代码在哪一段

比如给heartrate 例程的 control point  2A39写数据,那么2650 接收这个数据是在哪个地方,没找到

  • static void SimplePeripheral_processCharValueChangeEvt(uint8_t paramID)
    {
    uint8_t newValue;

    switch(paramID)
    {
    case SIMPLEPROFILE_CHAR1:
    SimpleProfile_GetParameter(SIMPLEPROFILE_CHAR1, &newValue);

    Display_print1(dispHandle, 4, 0, "Char 1: %d", (uint16_t)newValue);
    break;

    case SIMPLEPROFILE_CHAR3:
    SimpleProfile_GetParameter(SIMPLEPROFILE_CHAR3, &newValue);

    Display_print1(dispHandle, 4, 0, "Char 3: %d", (uint16_t)newValue);
    break;

    default:
    // should not reach here!
    break;
    }
    }