Hi John, On Thu, Sep 13, 2012 at 4:11 PM, John Tobias <john.tobias.ph@xxxxxxxxx> wrote: > Hi Anderson, > > If I add a simple GATT/GAP server on gatttool, should I still use the > DBUS to listen or I can communicate directly to the kernel?. You either talk to bluetoothd (using D-Bus, like those test-* python scripts do), which will handle connections for you, or you talk directly to kernel using bluetooth socket (like gatttool does). You have more flexibility talking to the kernel directly, but your app will not be interoperable with other apps running at the same time, specially if they try to call connect() at the same time (one of them will get a EBUSY error). Using D-Bus, on the other hand, bluetoothd queues the connections properly. So you should use what is more appropriate for your use case. Best Regards, -- Anderson Lizardo Instituto Nokia de Tecnologia - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html