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

Developer

API Reference

IOBEXHEADER_GETBYTESEQATINDEX()

Brew Release
Brew MP 1.0.2
See Also
IOBEXHeader_GetList()
Description
An application can call this function to retrieve an OBEX header at a particular index. The header is of type byte sequence.
Params
po
[in]:
Pointer to the IOBEXHeader object.
nIndex
[in]:
Index of the header in the list.
nOffSet
[in]:
Offset within the sequence from which to retrieve data.
pBuf
[out]:
Pointer to location where the header is returned.
nBufLen
[in]:
Length of the buffer.
Interface
Prototype
  •    int IOBEXHeader_GetByteSeqAtIndex(IOBEXHeader   *p,
                                         int           nIndex,
                                         int           nOffSet,
                                         uint8         *pBuf,
                                         int           nBufLen);
    
Return
  • AEE_SUCCESS : The header was returned successfully. AEE_EBADPARM : Bad parameters. AEE_ENOSUCH : A header which is a byte sequence not found at this index. AEE_EBUFFERTOOSMALL : Buffer size insufficient.
Side Effect
  • None.
Comments
None.