Skip to Content

Overview

The switch component is a UI element that allows the user to toggle a value. It requires a characteristic with read and write properties. Bleboard will read the current value of the characteristic on connection, then write to the value when the user toggles the switch.

Switch Component

Properties

You will specify a value for the component, and the switch will represent the current value.

PropertyTypeDescription
valuenumberThe value of the switch.
Last updated on