project:maerklin:system_control:ble:start
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| project:maerklin:system_control:ble:start [2025/08/30 12:39] – [Presentation format (0x2904)] Peter Siegmund | project:maerklin:system_control:ble:start [2025/09/03 09:15] (current) – [Concept] Peter Siegmund | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Bluetooth Low Energy | + | ===== Bluetooth Low Energy ===== |
| - | Bluetooth Low Energy | + | This project utilizes |
| + | |||
| + | The standard UUIDs referenced | ||
| ===== Concept ===== | ===== Concept ===== | ||
| - | BLE hast a three layered | + | The BLE protocol is built on a three-layered |
| - | ===== Services ===== | + | - **Service: |
| + | - **Characteristic: | ||
| + | - **Descriptor: | ||
| - | I checked | + | Each peripheral (the device to be controlled) announces its presence |
| - | Every device will have the **0x180A**, which will tell everyone what it will be. My other services will be the same across other devices, but the characteristics within will be different. | + | ===== Services ===== |
| - | + | ||
| - | The following section will be a summary of the used services. | + | |
| - | ==== Device information service (0x180A) ==== | + | For custom, project-specific services, the UUID range '' |
| - | The device information | + | ==== Device Information Service (0x180A) ==== |
| + | This standard service is implemented by every device | ||
| - | ==== Light service | + | ==== Light Service |
| + | This service groups all characteristics required for controlling light sources. | ||
| + | **(Note: The associated characteristics are not yet fully defined.)** | ||
| - | ==== Settings | + | ==== Settings |
| + | This service provides general configuration options for the device. | ||
| + | **(Note: The associated characteristics are not yet fully defined.)** | ||
| - | ===== Characteristics ===== | + | ===== Characteristics |
| - | ==== Device | + | ==== Device |
| + | Represents the name of the device as it should appear to the user. | ||
| - | It depends on the device, as expected. | + | ==== Firmware |
| - | ==== Firmware | + | Returns the current firmware version string. This value is critical for performing Firmware-Over-the-Air (FOTA) updates. |
| - | It reflects the firmware version, which is important for FOTA (firmware over the air) updates. | + | ==== Hardware |
| - | ==== Hardware | + | Returns the hardware version of the custom PCB. This is relevant because updated board revisions may require different data handling or firmware versions. |
| - | The hardware depends on the custom PCB, because updated boards, sometimes need other BLE data. | ||
| ==== Manufacturer (0x2A29) ==== | ==== Manufacturer (0x2A29) ==== | ||
| + | Returns the static string value " | ||
| - | The returned value will always be **mars3142**. | ||
| ===== Descriptors ===== | ===== Descriptors ===== | ||
| - | ==== User description | + | ==== User Description |
| + | This descriptor provides a user-readable description for a characteristic. It allows a user interface (UI) to display a meaningful name for custom characteristics (e.g., // | ||
| - | This value will name the characteristics, | + | ==== Presentation |
| - | ==== Presentation | + | Defines the data type and format of a characteristic' |
| - | We will use it to define the user interface. If the format is a bool, the ui should show one on/off switch. | + | ==== Valid Range (0x2906) ==== |
| - | ==== Valid range (0x2906) ==== | + | Defines a valid range (minimum and maximum) for a characteristic' |
project/maerklin/system_control/ble/start.1756557595.txt.gz · Last modified: by Peter Siegmund
