I had an issue where I was doing a lot of Nerves.UART work via the iex prompt on a device. I started losing my UART pids and wasn't sure which UARTs to kill. I'm not sure that this is a perfect way of solving this problem, but it seems to help. Also adding a function to get the current UART's configuration seemed like a natural API to have even though I've gotten along without it for a long time.
I had an issue where I was doing a lot of Nerves.UART work via the iex prompt on a device. I started losing my UART pids and wasn't sure which UARTs to kill. I'm not sure that this is a perfect way of solving this problem, but it seems to help. Also adding a function to get the current UART's configuration seemed like a natural API to have even though I've gotten along without it for a long time.