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

Developer

API Reference

IOBEXHEADER_ADDSTRING()

Brew Release
Brew MP 1.0.2
See Also
Description
An application can call this function to add to the list an OBEX header, which is of type Unicode (USC2) string. The standard headers that fall under this category are AEEOBEX_HDR_NAME and AEEOBEX_HDR_DESCRIPTION.
Params
po
[in]:
Pointer to the IOBEXHeader object.
headerId
[in]:
OBEX header ID.
pwSeq
[in]:
Pointer to the unicode (usc2) string.
nwSeqLen
[in]:
The number of wide characters allocated for the string including the NULL terminator. For example, if string is "xyz.txt", nwSeqLen = 8.
Interface
Prototype
  •    int IOBEXHeader_AddString(IOBEXHeader       *po,
                                 AEEOBEXHeaderID   headerId,
                                 const AECHAR      *pwSeq,
                                 int               nwSeqLen)
    
Return
  • AEE_SUCCESS : The information was stored successfully. AEE_EBADPARM : Bad parameters. AEE_ENOMEMORY : No memory to hold string.
Side Effect
  • None.
Comments
None.