- Sep 18, 2016
-
-
Alexandre Bailon authored
Currently, the connection between the host and a module can only be created after the module has been detected or during the interface create. For some controller, we don't have the choice because they only have a stream that need to open before any other operation. But some controller (e.g. TPC/IP) can use more than one stream. Add connection_create() and connection_destroy() callbacks to let that kind of controller create more than one connection. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
The event is mainly used for module detection. The controller create a thread to run the loop and generate the hotplug and hot unpulg events. But an event loop may prevent the application to exit, because it use methods that prevent thread to be cancelled. Add a new callback that will be called before to cancel the thread to put the event loop in a cancellable state. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
- Sep 16, 2016
-
-
Alexandre Bailon authored
Explain what is GBridge and, speak a litle about the architecture. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
The bluetooth controller only support one HCI controller. It continuously scan devices and automatically add any device with GREYBUS in its name. Currently, the controller doesn't support hot remove. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
Add the controller HAL in order to add support of Greybus to different type of device such as bluetooth or Wi-Fi. SVC and Greybus (through Netlink) use interface and cport, and the controller HAL will convert it in some way to be compatible with bluetooth, Wi-Fi, etc. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
The TAILQ_FOREACH_SAFE () macro doesn't seems to be always present. Define it if it is not already defined. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
Add a limited implementation of SVC protocol. Most of the code has been generated and is obviously incomplete. But it's enough to register the SVC and respond to ping. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
Add the method pr_dump to dump greybus operations. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
Netlink is used to communicate with the greybus kernel. Add a preliminary support of netlink. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-
Alexandre Bailon authored
This application connects to greybus netlink host device. The main is goal is to give a way to resgister a host device driver in user space. Signed-off-by:
Alexandre Bailon <abailon@baylibre.com>
-