I am trying to use the le_ulpm_ShutDown() function and am getting the LE_NOT_POSSIBLE response.
I first set it to boot using the timer (code based on example):
LE_ERROR_IF(le_ulpm_BootOnTimer(30) != LE_OK, “Can’t set timer as boot source”);
// Initiate shutdown.
res = le_ulpm_ShutDown();
LE_ERROR_IF(LE_OK == res, “Initiated shutdown”);
LE_ERROR_IF(LE_NOT_POSSIBLE == res, “shutdown not possible now”);
LE_ERROR_IF(LE_FAULT == res, “Failed to Initiate shutdown”);
I also tried to use the “pmtool” with no success either:
root@fx30s:/proc# pmtool bootOn timer 15 SUCCESS! root@fx30s:/proc# pmtool shutdown Can't initiate shutdown of MDM
Any suggestions as to what I am doing wrong?