Skip to content
This repository has been archived by the owner on Dec 8, 2024. It is now read-only.

How to access bluetooth features

Jeff Winn edited this page Dec 15, 2021 · 7 revisions

Installing the hardware

The optional Feather simply needs to be stacked on top of the M4 express mainboard and the entire device restarted.

The presence of the Bluetooth Feather will automatically be detected and initialize for you.

Pairing to your blaster

This device has a default PIN code of 000000 when prompted, enter it into the field.

GATT services and Characteristics

If you want to write your own applications to interact with the device, the services and characteristics listed below are available:

Blaster Service

Allows control over the various motors.

Service UUID: 6817ff09-0000-95b0-47be-c4d08729f1f0

Characteristics

  • Flywheel Speed (UUID: 00000100-0000-95b0-47be-c4d08729f1f0)
  • Belt Speed (UUID: 00000101-0000-95b0-47be-c4d08729f1f0)
  • Hopper Lock (UUID: 00000102-0000-95b0-47be-c4d08729f1f0)
  • Flywheel Motor 1 Trim Speed (UUID: 00000105-0000-95b0-47be-c4d08729f1f0)
  • Flywheel Motor 2 Trim Speed (UUID: 00000106-0000-95b0-47be-c4d08729f1f0)

Configuration Service

Allows modifying the various configuration settings.

Service UUID: 6817ff09-0001-95b0-47be-c4d08729f1f0

Characteristics

  • Flywheel Normal Speed (UUID: 00000100-0001-95b0-47be-c4d08729f1f0)
  • Flywheel Kid Speed (UUID: 00000101-0001-95b0-47be-c4d08729f1f0)
  • Flywheel Ludicrous Speed (UUID: 00000102-0001-95b0-47be-c4d08729f1f0)
  • Flywheel Trim Variance (UUID: 00000105-0001-95b0-47be-c4d08729f1f0)
  • Belt Normal Speed (UUID: 00000108-0001-95b0-47be-c4d08729f1f0)
  • Belt Medium Speed (UUID: 00000109-0001-95b0-47be-c4d08729f1f0)
  • Belt Max Speed (UUID: 00000110-0001-95b0-47be-c4d08729f1f0)

Notification Service (discontinued)

Service UUID: 6817ff09-0002-95b0-47be-c4d08729f1f0

Characteristics

  • Flywheel Motor 1 Current Milliamps (UUID: 00000107-0000-95b0-47be-c4d08729f1f0)
  • Flywheel Motor 2 Current Milliamps (UUID: 00000108-0000-95b0-47be-c4d08729f1f0)
  • Belt Motor Current Milliamps (UUID: 00000109-0000-95b0-47be-c4d08729f1f0)