Developer

API Reference

IBTBPPSender_SendSOAPRequest()

Brew Release
Brew MP 1.0.2
See Also
IBTBPPSender_RetrieveSOAPResponse IBTBPPSender_CancelSOAPRequest
Description
Sends the specified SOAP request to the printer.When AEEBTBPP_GET_EVENT request is sent to the printer, AEEBTBPP_EV_SOAP_RESPONSE will be generated every time the printer responds with the latest status. The AEEBTBPP_GET_EVENT request-response sequence is complete only when the application calls IBTBPPSender_CancelSOAPRequest().
Parameters
  • _me
    [in]:
    the object
  • cReqestType
    [in]:
    SOAP request type
  • soapRequest
    [in]:
    buffer containing the SOAP request
  • soapRequestLen
    [in]:
    length of the buffer
    Return
  • AEE_SUCCESS
    []:
    The command has been scheduled.AEEBTBPP_EV_SOAP_RESPONSE will be generated when the operation completes.If the operation is successful, the response can be retrieved by calling IBTBPPSender_RetrieveSOAPResponse().
  • AEE_EBADSTATE
    []:
    not connected to a printer, or another soap request is in progress on the channel.
Interface
Prototype
   AEEResult IBTBPPSender_SendSOAPRequest(IBTBPPSender*           _me,
                                          AEEBTBPPSOAPRequestType cReqestType,
                                          const uint8*            soapRequest,
                                          int                     soapRequestLen)
Side Effect
None.
Comment
None.
  • Follow