Communication Protocols

The palletizer application uses two communication protocols for communicating with the robot HMI.

  • WebSockets: Used for real-time, asynchronous communication between the palletizer and the client.

    • Endpoint: ws://<host>:8081/v1/*

    • Authentication: Token-based, passed as a query parameter (e.g., ?token=[TOKEN]).

    • Error Management: Handles errors, warnings, and user feedback through structured JSON messages.

  • HTTP: Used for reading and setting values while the palletizer is stopped.

    • Endpoint: http://<host>:8080/api/v1/*

    • Authentication: Bearer token passed in HTTP headers (Authorization: Bearer <token>).

For more information, see the API reference at https://docs.palletizer.jacobirobotics.com.