Other Parts Discussed in Thread: CC3220S
Tool/software: Code Composer Studio
I am working on top of the Network_terminal example, and deleted everything that I didn't need for my application, now it connects to a static Wlan network, using a static IP, and waits for a TCP client to connect and start TCP transmissions every 1ms.
Now I need to measure the power consumption and compare it with the value defined on the cc3220s's datasheet. The thing is that the value defined there dependes on the TX power level and if it is using DSSS or OFDM. I can see on the code's exmaple that the TX power leveld is settled to 1 but I don't find where is selected the mode.
/* Set TX power lvl to max */
ucPower = 0;
RetVal = sl_WlanSet(SL_WLAN_CFG_GENERAL_PARAM_ID, SL_WLAN_GENERAL_PARAM_OPT_STA_TX_POWER, 1, (uint8_t *)&ucPower);
ASSERT_ON_ERROR(RetVal, WLAN_ERROR);
I think that by default, it is settled as OFDM, but I'm not sure.
Does anybody from here know the answer?
Thank you in advance,