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

Developer

API Reference

IOBEXHEADER_ADDBYTESEQ()

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 a byte sequence.The standard headers that fall under this category are:
  • AEEOBEX_HDR_TIME,
  • AEEOBEX_HDR_TARGET,
  • AEEOBEX_HDR_HTTP,
  • AEEOBEX_HDR_BODY,
  • AEEOBEX_HDR_END_OF_BODY,
  • AEEOBEX_HDR_APPLICATION_PARAMS, and
  • AEEOBEX_HDR_OBJECT_CLASS.
Params
po
[in]:
Pointer to the IOBEXHeader object.
headerId
[in]:
OBEX header ID.
pSeq
[in]:
Pointer to the byte sequence.
nSeqLen
[in]:
Number of bytes in the sequence.
Interface
Prototype
  •    int IOBEXHeader_AddByteSeq(IOBEXHeader       *po,
                                  AEEOBEXHeaderID   headerId,
                                  const uint8       *pSeq,
                                  int               nSeqLen)
    
Return
  • AEE_SUCCESS : The header was stored successfully. AEE_EBADPARM : Bad parameters. AEE_ENOMEMORY : No memory to hold the sequence.
Side Effect
  • None.
Comments
None.