ubxlib: Error Setting Power Mode on MAX-M10S
Getting position updates just fine but when I try to set the power mode, I’m getting a -1025 error returned. Am I missing something in setup or is the M10 not supported in this way?
errorcode = uDeviceOpen(&gDeviceCfg, &gnssHandle);
errorcode = uNetworkInterfaceUp(gnssHandle, U_NETWORK_TYPE_GNSS, &gnetworkcfg);
gOriginalMode = uGnssPwrGetMode(gnssHandle);
uGnssSetRetries(gnssHandle, 4);
errorcode = uGnssPwrSetMode(gnssHandle, U_GNSS_PWR_SAVING_MODE_ON_OFF );
if (errorcode != 0)
printk("Error setting power saving: %d\n", errorcode);
errorcode = uGnssPwrSetMode(gnssHandle, U_GNSS_PWR_FLAG_EXTINT_INACTIVITY_ENABLE );
if (errorcode != 0)
printk("Error setting power saving: %d\n", errorcode);
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 39 (22 by maintainers)
It’s happening on all chips.
We have made a modification to the board to enable V_BKUP. Should have that tested by the end of the week to see if it makes a difference.
Thanks for all your help. Tomorrow will try supplying power to V_BKUP and see if it makes a difference.