Hi there,
When I try to take a test, I find the channel 14 set by SORA is not matched with standard. This will give a value of 2477MHz, not 2484MHz as standard.
Therefore, I modified the 'ioctrl.c' from 'line 162'.
case IOCTL_SET_CHANNEL:
//SoraHwSetCentralFreq(pRadio, uInputValue * 1000, 0);
//channel 1: 2412MHz, 2: 2417Mhz, ..., 14: 2484
if (uInputValue >= 36 && uInputValue <= 161)
{
SoraHwSetCentralFreq(pRadio, (5180 + (uInputValue - 36) * 5) * 1000, 0);
}
else if (uInputValue >= 162)
{
SoraHwSetCentralFreq(pRadio, (5000 + (uInputValue - 162) * 350) * 1000, 0);
}
else if (uInputValue >= 0 && uInputValue <= 14 )
{
SoraHwSetCentralFreq(pRadio, (2407 + uInputValue * 5) * 1000, 0);
}
else
{
SoraHwSetCentralFreq(pRadio, (2479 + (uInputValue - 13) * 5) * 1000, 0);
}
I think this will improve the codes.
Thanks,
Wenhan