Skip to content

basic_server Communication Protocol

TypeCommandDescription
0x0030 00640x0000 0005Send heartbeat to robot

JSON Example:

{
"PatrolDevice": {
"Type": 0x00300064,
"Command": 0x00000005,
"Time": "2026-01-01 00:00:00",
"Items": {}
}
}
TypeCommandDescription
0x0030 007f0x00f0 0000Get robot exception status information

Returns ErrorList array, each error contains:

  • Code - Error code
  • Name - Error name
  • Resources - Related resources
  • Severities - Severity level
  • Source - Error source
ErrorCodeErrorMessageMeaning
0x0000SuccessSuccess
0xe001Unsupported data formatData format not supported
0xe002Data parsing failedData parsing failed
0xe003Unsupported protocol typeProtocol not supported
0xe004Missing necessary fieldsMissing required fields
0xe005Mismatched data typeField type mismatch
0xe006Mismatched request clientRequest client mismatch
0xe007No operation permissionNo operation permission
0xe008Not allowed operationOperation not allowed
0xe009Operation failureOperation failed
0xe00aUnsupported functionFunction not supported
0xe00bInternal errorInternal error