Options
All
  • Public
  • Public/Protected
  • All
Menu

astromech.js

Index

Type aliases

DroidEventHandler: (event: Event) => void | Promise<void>

Type declaration

    • (event: Event): void | Promise<void>
    • Event handler for characteristic value change events on the droid.

      Parameters

      • event: Event

      Returns void | Promise<void>

DroidPower: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15

Speed at which the droid will move its motor. This must be a value between 0-15.

Variables

NOTIFICATION_UUID: "09b600b0-3e42-41fc-b474-e9c0c8f0c801" = '09b600b0-3e42-41fc-b474-e9c0c8f0c801'

Channel ID to listen for notifications from the droid.

SERVICE_UUID: "09b600A0-3e42-41fc-b474-e9c0c8f0c801" = '09b600A0-3e42-41fc-b474-e9c0c8f0c801'

Channel ID to connect to the droid.

WRITE_UUID: "09b600b1-3e42-41fc-b474-e9c0c8f0c801" = '09b600b1-3e42-41fc-b474-e9c0c8f0c801'

Channel ID for sending messages to the droid.

Generated using TypeDoc