2 years, 11 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
Question relating to:
You need to log in to post a question