nerves-keyboard / xebow

Firmware for the Keybow written in Elixir
40 stars 10 forks source link

UI: System page - USB Ethernet mode #104

Open amclain opened 4 years ago

amclain commented 4 years ago

We would like to add the ability for a user to change the mode of the USB Ethernet endpoint that Xebow exposes to the host.

Xebow currently exposes two Ethernet endpoints, RNDIS and NCM. This is because neither driver is fully compatible with all operating systems (see #91). If Xebow is only being connected to a single operating system type, a user may want to disable the other unused Ethernet endpoint which will show up as an invalid device, and may also be periodically rediscovered by the O/S and cause notifications to pop up.

Note that disabling one type of Ethernet endpoint may result in the device being unusable if it is connected to another type of operating system. Due to this, we also need to expose a recovery mechanism if the user encounters this state.

Acceptance Criteria

Design

https://www.figma.com/file/RMYWHeXJoDErWii1jm8C7k/Xebow?node-id=45%3A44

System3