Skip to content

Latest commit

 

History

History
 
 

blink1

bleno - blink(1) example

This example allows you to control a ThingM blink(1) via BLE.

It uses bleno and node-blink1 and requires a blink(1) to be connected via USB.

See main file for entry point.

UUID: 0x180A

Characteristics:

blink(1) service

UUID: 0x01010101010101010101010101010101

Characteristics:

  • RGB

    • UUID: 01010101010101010101010101524742
    • Properties: write, write without response
    • Description: Set the blink(1)'s color
      • Data format is: RRGGBB (3 bytes) - single byte for each color
  • Fade RGB

    • UUID: 01010101010101010166616465524742
    • Properties: write, write without response, notify
    • Description: Fade the blink(1)'s color and notication when fade is complete
      • Data format is: TTTTRRGGBB (5 bytes)
        • TTTT - fade time in milliseconds (Little Endian)
        • RRGGBB (3 bytes) - single byte for each color