Set Buddy

The Set Buddy command is used to assign or unassign a Buddy sensor.

Command

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.

Reply

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 Status Codes.