SPIKE™ Prime protocol

Topics

  • Setting up the connection
    • BLE capabilities of the hub
    • Handshake and negotiation
  • Enumerations
    • Product Group Device
    • Color
    • Hub Port
    • Hub Face
    • Program Action
    • Response Status
    • Motor End State
    • Motor Move Direction
    • Motor Device Type
  • Messages
    • 0x00 InfoRequest
    • 0x01 InfoResponse
    • 0x0A StartFirmwareUploadRequest
    • 0x0B StartFirmwareUploadResponse
    • 0x0C StartFileUploadRequest
    • 0x0D StartFileUploadResponse
    • 0x10 TransferChunkRequest
    • 0x11 TransferChunkResponse
    • 0x14 BeginFirmwareUpdateRequest
    • 0x15 BeginFirmwareUpdateResponse
    • 0x16 SetHubNameRequest
    • 0x17 SetHubNameResponse
    • 0x18 GetHubNameRequest
    • 0x19 GetHubNameResponse
    • 0x1A DeviceUuidRequest
    • 0x1B DeviceUuidResponse
    • 0x1E ProgramFlowRequest
    • 0x1F ProgramFlowResponse
    • 0x20 ProgramFlowNotification
    • 0x46 ClearSlotRequest
    • 0x47 ClearSlotResponse
    • 0x21 ConsoleNotification
    • 0x32 TunnelMessage
    • 0x28 DeviceNotificationRequest
    • 0x29 DeviceNotificationResponse
    • 0x3C DeviceNotification
      • 0x00 DeviceBattery
      • 0x01 DeviceImuValues
      • 0x02 Device5x5MatrixDisplay
      • 0x0A DeviceMotor
      • 0x0B DeviceForceSensor
      • 0x0C DeviceColorSensor
      • 0x0D DeviceDistanceSensor
      • 0x0E Device3x3ColorMatrix
  • Encoding
    • Consistent Overhead Byte Stuffing (COBS)
    • Escaping and framing
    • Deframing and unescaping

Appendix

  • Index
  • Glossary
SPIKE™ Prime protocol
  • Search


© Copyright 2024, LEGO® Education.

Built with Sphinx using a theme provided by Read the Docs.