Thread (2 messages) flat view 2 messages, 2 authors, 2019-03-17

supporting both btgatt-client and btgatt-server in application

From: Ordit Gross <hidden>
Date: 2019-03-17 07:51:41

hi all,
We have an application that should support both btgatt-client and
btgatt-server (connecting to different devices for different
workflows), using bluez.

1. Should I create a single mainloop that will be used by both or
should I create two different mainloop_run? (thought of have porting
the mainloop code to c++ and change it to be class element)

2. Regarding the btgatt-client, how can I initiate a disconnect? (I
looked in the btgatt-client.c test application and did not see an
initiation of disconnect).

thanks in advance! (hope I sent the message to right mailing list.. )
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help