This is a library to handle the BLE services device configuration. It displays the device name, hardware version, firmware version, and battery/charger information.
More...
Go to the source code of this file.
|
#define | BT_UUID_DEVICE_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c90) |
|
#define | BT_UUID_DEVICE_NAME_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c91) |
|
#define | BT_UUID_DEVICE_HARDWARE_VERSION_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c92) |
|
#define | BT_UUID_DEVICE_FIRMWARE_VERSION_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c93) |
|
#define | BT_UUID_DEVICE_BATTERY_PERCENT_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c94) |
|
#define | BT_UUID_DEVICE_BATTERY_VOLTAGE_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c95) |
|
#define | BT_UUID_DEVICE_BATTERY_CURRENT_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c96) |
|
#define | BT_UUID_DEVICE_BATTERY_TEMPERATURE_VAL BT_UUID_128_ENCODE(0xf983f80d, 0x277a, 0x423a, 0xa122, 0xa37302ff7c97) |
|
#define | BT_UUID_DEVICE BT_UUID_DECLARE_128(BT_UUID_DEVICE_VAL) |
|
#define | BT_UUID_DEVICE_NAME BT_UUID_DECLARE_128(BT_UUID_DEVICE_NAME_VAL) |
|
#define | BT_UUID_DEVICE_HARDWARE_VERSION BT_UUID_DECLARE_128(BT_UUID_DEVICE_HARDWARE_VERSION_VAL) |
|
#define | BT_UUID_DEVICE_FIRMWARE_VERSION BT_UUID_DECLARE_128(BT_UUID_DEVICE_FIRMWARE_VERSION_VAL) |
|
#define | BT_UUID_DEVICE_BATTERY_PERCENT BT_UUID_DECLARE_128(BT_UUID_DEVICE_BATTERY_PERCENT_VAL) |
|
#define | BT_UUID_DEVICE_BATTERY_VOLTAGE BT_UUID_DECLARE_128(BT_UUID_DEVICE_BATTERY_VOLTAGE_VAL) |
|
#define | BT_UUID_DEVICE_BATTERY_CURRENT BT_UUID_DECLARE_128(BT_UUID_DEVICE_BATTERY_CURRENT_VAL) |
|
#define | BT_UUID_DEVICE_BATTERY_TEMPERATURE BT_UUID_DECLARE_128(BT_UUID_DEVICE_BATTERY_TEMPERATURE_VAL) |
|
This is a library to handle the BLE services device configuration. It displays the device name, hardware version, firmware version, and battery/charger information.
- Author
- Tyler Garcia
- Version
- 0.1
- Date
- 2025-05-06
- Copyright
- Copyright (c) 2025
◆ ble_device_service_init()
Connect PMIC sensor status to Device BLE Service.
- Parameters
-
- Returns
- int 0 if successful connection, < 0 if unsuccessful