AEETSSInfo.is_registered is always returning false on a device | developer.brewmp.com AEETSSInfo.is_registered is always returning false on a device | developer.brewmp.com

Developer

AEETSSInfo.is_registered is always returning false on a device

Forums:

In my .cif I have registered for AEECLSID_PHONENOTIFIER/AEE_NMASK_SS events, which are handled by the following event handling code:

 

...

AEENotify *pNotify = (AEENotify *)dwParam;

if (pNotify && (AEECLSID_PHONENOTIFIER == pNotify->cls) )

{

AEETNotifyInfo* phoneNotifyInfo = (AEETNotifyInfo*)pNotify->pData;

if (AEET_NMASK_SS == pNotify->dwMask)

{

boolean isRegistered = phoneNotifyInfo->event_data.ss.ss_info.is_registered;

if (isRegistered)

{
	// never executes
else{

// always executes


 

On the simulator isRegistered is true, but on a device (Pantech CDM8992) it is always false (even though I can make a phone call to the device so it must be registered).

Please use ITELEPHONE_GetServingSystemInfo()
ex.

AEETSSInfo ssInfo;
nErr = ITELEPHONE_GetServingSystemInfo(pMe->piTelephone, &ssInfo, sizeof(AEETSSInfo));
if(ssInfo.is_registered)
{
DBGPRINTF("TRUE");
}
else
{
DBGPRINTF("FALSE");
}

Please use ITELEPHONE_GetServingSystemInfo()
ex.

AEETSSInfo ssInfo;
nErr = ITELEPHONE_GetServingSystemInfo(pMe->piTelephone, &ssInfo, sizeof(AEETSSInfo));
if(ssInfo.is_registered)
{
DBGPRINTF("TRUE");
}
else
{
DBGPRINTF("FALSE");
}

Its the same result, FALSE is always displayed, even after the device has made a phone call (and its the same with two differing handsets).

Its the same result, FALSE is always displayed, even after the device has made a phone call (and its the same with two differing handsets).

this is a device issue.

this is a device issue.