linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 1/2] battery: Add BT SIG reserved number used by Battery Service
@ 2017-11-02 14:38 Bastien Nocera
  2017-11-02 14:38 ` [PATCH v5 2/2] profiles/battery: Add Bluetooth LE Battery service Bastien Nocera
  2017-11-03 11:22 ` [PATCH v5 1/2] battery: Add BT SIG reserved number used by Battery Service Luiz Augusto von Dentz
  0 siblings, 2 replies; 3+ messages in thread
From: Bastien Nocera @ 2017-11-02 14:38 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Bastien Nocera

Add the Battery Level UUID as per:
https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.battery_level.xml
---
 lib/uuid.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/uuid.h b/lib/uuid.h
index 2c57a3378..7e13e0fda 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -119,6 +119,7 @@ extern "C" {
 #define GATT_CHARAC_RECONNECTION_ADDRESS		0x2A03
 #define GATT_CHARAC_PERIPHERAL_PREF_CONN		0x2A04
 #define GATT_CHARAC_SERVICE_CHANGED			0x2A05
+#define GATT_CHARAC_BATTERY_LEVEL			0x2A19
 #define GATT_CHARAC_SYSTEM_ID				0x2A23
 #define GATT_CHARAC_MODEL_NUMBER_STRING			0x2A24
 #define GATT_CHARAC_SERIAL_NUMBER_STRING		0x2A25
-- 
2.14.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-03 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02 14:38 [PATCH v5 1/2] battery: Add BT SIG reserved number used by Battery Service Bastien Nocera
2017-11-02 14:38 ` [PATCH v5 2/2] profiles/battery: Add Bluetooth LE Battery service Bastien Nocera
2017-11-03 11:22 ` [PATCH v5 1/2] battery: Add BT SIG reserved number used by Battery Service Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).