What are these configurations for in LPS firmware?
Posted: Mon Apr 17, 2017 3:59 am
Dear all,
I have a question in terms of the LPS configuration. I see the current code has configured this mode, in UWB.c
dwNewConfiguration(dwm);
dwSetDefaults(dwm);
dwEnableMode(dwm, MODE_SHORTDATA_FAST_ACCURACY);
dwSetChannel(dwm, CHANNEL_2);
dwSetPreambleCode(dwm, PREAMBLE_CODE_64MHZ_9);
I just got confused that the "dwEnableMode" has already set the channel and preamblecode in it. Why use "dwSetChannel" and "dwSetPreambleCode" again?
I have a question in terms of the LPS configuration. I see the current code has configured this mode, in UWB.c
dwNewConfiguration(dwm);
dwSetDefaults(dwm);
dwEnableMode(dwm, MODE_SHORTDATA_FAST_ACCURACY);
dwSetChannel(dwm, CHANNEL_2);
dwSetPreambleCode(dwm, PREAMBLE_CODE_64MHZ_9);
I just got confused that the "dwEnableMode" has already set the channel and preamblecode in it. Why use "dwSetChannel" and "dwSetPreambleCode" again?