ReceiveMessage

Bizerba SOAP API (_connect.BRAIN)Direct Communication TCP/IP

x

There are BxNet commands that read values from a device. In such cases, SendMessage returns a handle. This handle can be used to fetch the requested value via ReceiveMessage.

A reading BxNet command always starts with "A?".

Example Request

let result = await app.businessFunction({
  //Common Parameters for all functions
  functionName: "BizerbaSoap",
  methodName: "ReceiveMessage",
  silentMode: false, //false is default. If set to true, the Gebra Suite will not show an error message box. it is up to you to inform the user.
  
  url: "192.168.0.54", //The URL of Bizerba WebAPI
  device: "GLPmaxx", //Device to be addressed
  handle: "Q|A|G|D|30032023|T|14:35:56:348.278|H|1" //Handle from SendMessage
  timeout: 15 //Timeout in seconds for the request
});

Example Response

{
  "handle": "ef675610-a86e-49b6-a1a0-bfbf94e4a020",
  "response": "A!GD02|lb;-3;235",
  "status": "OK"
}

Last updated