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

Developer

Forums

As sdk documented to get ICCID:

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}

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)

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)

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)

This is happening becuase your application doesn't have appropriate priviledge for getting ICCID. Open your MIF file and add AEECLSID_GSMCREDENTIALS as dependency.

This is happening becuase your application doesn't have appropriate priviledge for getting ICCID. Open your MIF file and add AEECLSID_GSMCREDENTIALS as dependency.