Enumerations

Product Group Device

Value (uint16)

Description

0x0000

SPIKE™ Prime

Color

Value (int8)

Description

0x00

Black

0x01

Magenta

0x02

Purple

0x03

Blue

0x04

Azure

0x05

Turquoise

0x06

Green

0x07

Yellow

0x08

Orange

0x09

Red

0x0A

White

0xFF

Unknown or no color detected

Hub Port

Value (uint8)

Description

0x00

A

0x01

B

0x02

C

0x03

D

0x04

E

0x05

F

Hub Face

Value (uint8)

Description

0x00

Top

0x01

Front

0x02

Right

0x03

Bottom

0x04

Back

0x05

Left

Program Action

Value (uint8)

Description

0x00

Start

0x01

Stop

Response Status

Value (uint8)

Description

0x00

Acknowledged

0x01

Not Acknowledged

Motor End State

Value (int8)

Description

0x00

Coast

0x01

Brake

0x02

Hold

0x03

Continue

0x04

Coast (smart)

0x05

Brake (smart)

0xFF

Default

Motor Move Direction

Value (uint8)

Description

0x00

Clockwise

0x01

Counter-Clockwise

0x02

Shortest Path

0x03

Longest Path

Motor Device Type

Value (uint8)

Description

0x30

Medium Motor

0x31

Large Motor

0x41

Small Motor