summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-03-01 17:11:33 -0300
committerJoão Paulo Rechi Vita <jprvita@openbossa.org>2012-03-01 17:16:37 -0300
commit03f68f4a1f26f7bef24cb584b3821c330d0d1f67 (patch)
treeed4e265e370a99270d7b2afe8e91a6092c91c4ec
parentbe3f387f2a66b1b0caf3834ff2b1220d45aac597 (diff)
downloadbluez-le-docs-03f68f4a1f26f7bef24cb584b3821c330d0d1f67.tar.gz
bluez-le-docs-03f68f4a1f26f7bef24cb584b3821c330d0d1f67.tar.xz
bluez-le-docs-03f68f4a1f26f7bef24cb584b3821c330d0d1f67.zip
howto: Add Low Level GATT server API description
-rw-r--r--howto.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/howto.tex b/howto.tex
index e103f1d..0156d4d 100644
--- a/howto.tex
+++ b/howto.tex
@@ -701,6 +701,26 @@ Type: Mouth
\end{enumerate}
+\section{Low Level GATT client API}
+
+\section{Low Level GATT server API}
+
+BlueZ doesn't allow external applications to register new GATT services.
+The developer needs to write new service plugins following the GNU General
+Public License premises.
+
+GATT server functions declarations to manage services and characteristics
+can be found in the following 'c' header files:
+\begin{enumeration}
+\item{\em attrib/gatt-service.h}: abstraction functions to add new service
+ based on low level attrib server functions
+\item{\em src/attrib-server.h}: functions to manage attributes directly in
+ in the attribute server
+\end{enumeration}
+
+Current Time service is one simple example of how to use the internal GATT
+server API.
+
% \section{Supporting tools}
%
%