Bluetooth LED Service

For another device like a smartphone to use any of the Bluetooth “services” which the Calliope mini has, it must first be paired with the Calliope mini. Once paired, the other device may connect to the Calliope mini and exchange data relating to many of the Calliope mini’s features.

The Bluetooth LED service allows another device such as a smartphone to send short text strings or patterns over a Bluetooth connection to a Calliope mini for display on its LED matrix. Text will scroll across the Calliope mini and the speed at which it scrolls can also be controlled using the Bluetooth LED service. Devices using the LED service may also read the current state of the Calliope mini’s LED matrix.

So you could, for example, draw a smiley face in a smartphone app and at the press of a button, have it magically appear on your Calliope mini on the other side of the room. Or you could program your smartphone to send a message to your Calliope mini whenever your phone receives an email, SMS or social media message so you could wear your Calliope mini like a smart watch and leave your phone in your bag.

No additional code is needed on the Calliope mini to use the Bluetooth LED service from another device.

bluetooth.startLEDService();

Example: Starting the Bluetooth LED service

The following code shows the Bluetooth LED service being started:

bluetooth.startLEDService();

Video - LED service demo starts at 2:00

Advanced

For more advanced information on the Calliope mini Bluetooth LED service including information on using a smartphone, see the Lancaster University Calliope mini runtime technical documentation

See also

About Bluetooth, Calliope mini Bluetooth profile overview , Calliope mini Bluetooth profile reference, Bluetooth on Calliope mini resources, Bluetooth SIG

bluetooth