Gocator Line Profile Sensors: User Manual
Protocols • 584
Remove Buddies
The Remove Buddies command is used to remove one or more buddies using 0-based buddy indices.
Use this command to remove a buddy devices along with its associated configuration resources. If the
system starts with 3 devices: [A, B, C], and this command is called to remove B, the configuration items
for A and C remain unchanged.
Field Type Offset Description
length 32u 0 Command size including this field, in bytes.
id 16u 4 Command identifier (0x4013).
buddyCount 32u 6 Number of buddies.
buddyIds[buddyCount] 32u 10 Indices of the buddies to remove. Note that the first buddy has
index 0 (i.e. it's the index of buddies, not all devices including the
main).
Command
Field Type Offset Description
length 32u 0 Reply size including this field, in bytes.
id 16u 4 Reply identifier (0x4013).
status 32s 6
Reply status. For a list of status codes, see Commands on page
571.
Reply
Set Buddy
The Set Buddy command is used to assign or unassign a Buddy sensor.
Field Type Offset Description
length 32u 0 Command size including this field, in bytes.
id 16u 4 Command identifier (0x4005).
buddyId 32u 6 Id of the sensor to acquire as buddy. Set to 0 to remove buddy.
Command
Field Type Offset Description
length 32u 0 Reply size including this field, in bytes.
id 16u 4 Reply identifier (0x4005).
status 32s 6
Reply status. For a list of status codes, see Commands on page
571.
Reply
List Files
The List Files command returns a list of the files in the sensor's file system.