Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
3 years, 2 months ago.
C027 support test CELLOCATE broken
I've noticed a few big issues with the program C027_SupportTest
loc.latitue should obviously be loc.latitude
loc.sensorUsed should be loc.sensor?
mdm.cellLocGet(&loc) should be mdm.cellLocGetData(&loc)?
mdm.cellLocRequest(sensorMask, submitPeriod-timeoutMargin, targetAccuracy); should be mdm.cellLocRequest(MDMParser::CELL_LOCATE, 15, 1, MDMParser::CELL_DETAILED, 1); ?
if (!mdm.cellLocSrvHttp("TOKEN")) should be if (!mdm.cellLocSrvTcp("TOKEN")) ?
mdm.cellLocConfigSensor(1) should be mdm.cellLocConfig(1)?
If someone can confirm that these changes are correct that would be great. Even better would be if working code was provided.
These issues are easily replicated by defining CELLOCATE