Closed aabadie closed 6 years ago
Some notes: hub-ctrl requires admin rights to control the USB ports and the gateway code runs under www-data. To solve this limitation, the sudo package is now added to the rpi3 gateway image and admin right are given to www-data, only for the hub-ctrl command. Tested and works.
Let's move forward on this before next week.
This PR adds a new recipe for hub-ctrl. This tools can be used to control the USB port on a RPI3 and thus can be useful to be able to power cycle an open node plugged on a RPI3.
For example:
The tool is already installed on nrf52dk-2 and st-lrwan1-1 in devsaclay.