Alvin Chen:
你有什么特殊需求吗?
通常是就是在RF_Params_init初始化后在open里面调用即可使用可以参考如下:
RF_Params rfParams;RF_Params_init(&rfParams);
/* Open LED pins */ledPinHandle = PIN_open(&ledPinState, pinTable);if (ledPinHandle == NULL){while(1);}#ifdef POWER_MEASUREMENT
#if defined(Board_CC1350_LAUNCHXL)/* Route out PA active pin to Board_DIO30_SWPWR */PINCC26XX_setMux(ledPinHandle, Board_DIO30_SWPWR, PINCC26XX_MUX_RFC_GPO1);
#endif
#endif/* Request access to the radio */rfHandle = RF_open(&rfObject, &mode, (RF_RadioSetup*)&cmdBle5RadioSetup, &rfParams);