API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

AEECARDINFO

Brew Release
Brew MP 1.0.2
See Also
AEEDeviceItem ISHELL_GetDeviceInfoEx()
Description
This structure is passed to ISHELL_GetDeviceInfoEx() for AEE_DEVICEITEM_CARD0_INFO to get the serial number and the model number (product name) of the card.
Members
  • pszSerialNum   :  Char Buffer for the serial number of the MMC card. Buffer memory
                      of size nSerialNumSize must be provided by the user on input.  
                      If the pointer passed is 0 as input, nSerialNumSize value is set to the
                      recommended size on output (even if the value on input in nSerialNumSize was 0),
                      with ISHELL_GetDeviceInfoEx returning an error.
  • nSerialNumSize :  Buffer Size of the serial number. On input, this value needs to be
                      set to the recommended size. If 0 is specified as input, it's value
                      is set to the recommended size on output, with ISHELL_GetDeviceInfoEx 
                      returning an error.
  • pszModelNum    :  Char buffer for the model number (product name) of the MMC card. 
                      Buffer memory of size nModelNumSize, must be provided by user at input.
                      If the pointer passed is 0 as input, nModelNumSize value is set to the
                      recommended size on output (even if the value on input in nModelNumSize was 0),
                      with ISHELL_GetDeviceInfoEx returning an error.
  • nModelNumSize  :  Buffer Size of the model number. On input, this value needs to be
                      set to the recommended size. If 0 is specified as input, it's value
                      is set to the recommended size on output, with ISHELL_GetDeviceInfoEx 
                      returning an error.
Definition
  • typedef struct _AEECardInfo {
       char *   pszSerialNum; 
       int	    nSerialNumSize; 
       char *   pszModelNum; 
       int	    nModelNumSize;
    } AEECardInfo;
    
Comments
None