Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

As sdk documented to get ICCID:

FILE:  AEEShell.h

*===H2>

  Name:  AEE_DEVICEITEM_ICCID

===/H2>

  
Description:  This returns the ICCID for the device.
AEECLSID_GSMCREDENTIALS is the required privilege level.

===pre>

  int
ISHELL_GetDeviceInfoEx(IShell *po, AEEDeviceItem nItem, void *pBuff, int
*pnSize);

===/pre>

  Parameters:      nItem: Specifies
AEE_DEVICEITEM_ICCID.

  pBuff: Buffer capable of holding the ICCID.

*

But see that ISHELL_GetDeviceInfoEx() always
returns 20 (EUNSUPPORTED //API is not supported), even checking
ISHELL_CheckPrivLevel(PISHELL, AEECLSID_GSMCREDENTIALS ,true) return
true.

So how can I get ICCID? (I use HTC Smart and Spider device)

u should be able to get it or else it may be a device issue

u should be able to get it or else it may be a device issue

also u should be using a valid gsm ruim on the device & make sure it got detected.

also u should be using a valid gsm ruim on the device & make sure it got detected.