Parses a Bearer Control Message.
DWORD bcfParseBearerControlMessage (U8 *inBuf, U32 inBufSize, tMimeType ipbcpMimeType, SiBearerControlEvnt *outBearerControl)
| Argument | Description |
| inBuf | Input buffer containing the BCF message to be parsed. |
| inBufSize | Size of the input buffer containing the BCF message. |
| ipbcpMimeType | Expected Mime Type ID:
|
| outBearerControl | Bearer Control output parameters extracted from the BCF message. |
| Return value | Description |
| BCF_SUCCESS | |
BCF_PARAM_ERROR |
Parameter error. |
BCF_UNKNOW_IE |
Unknown information element. |
BCF_BUFFER_TOO_SMALL |
The input buffer is too small. |
bcfParseBearerControlMessage parses an inbound Bearer Control message and populates SiBearerControlEvnt structure in order to easily access the relevant Information Elements fields.
Note: The default expected Mime Type ID is NBUP_MIME_TYPE (MimeType "VND.3GPP.IUFP"), which is the only payload specified by 3GPP for BICC RTP Bearer. NBUP_ MIME_TYPE is the only MIME type supported in the context of Video Access Toolkit 3G-324M over IP feature, but other values are offered, for demo or testing purpose. See section: Disabling NbUP.