serial
serial copied to clipboard
Serial port configuration library for Zig
Currently, there are fixed configurations. ```zig settings.cc[VMIN] = 1; settings.cc[VSTOP] = 0x13; // XOFF settings.cc[VSTART] = 0x11; // XON settings.cc[VTIME] = 0; ``` In one application, this resulted to blocking...
**Proposal:** Add the ability to retrieve information such as VID, PID, serial number. It is possible to retrieve more information without additional dependencies such as libusb and there seems there...
I noted that the warning ``` skipping example 'list_port_info' - only supported on Windows ``` from 'list_port_info' being Windows-only pops up whenever `serial` is called as a dependency in a...
In Zig version >= `0.14.0-dev.1052+d6f997259` (and probably some versions before, didn't track them all), this will not work anymore on Linux: https://github.com/ZigEmbeddedGroup/serial/blob/91d2e8176b2f22bdb5963fb6380d1c07b24bf98a/src/serial.zig#L724C21-L724C51 the `std.os.linux.tc_cflag_t` implementation changed, now there is no...
It's not really an issue of zig-serial but an issue of serial port on linux. When I use serial port with high baudrate (>= 1Mb), I loss a lot of...
>Note that the list_port_info example currently only works on Windows according to the readme `list_port_info` only works on Windows but I can confirm it worked for me on a Linux...
``` zig version 0.13.0 uname -a Linux howlin 4.15.0-33-generic #36~16.04.1-Ubuntu SMP Wed Aug 15 17:21:05 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux zig build examples examples └─ install echo └─ zig...
Accidentally closed my previous request by deleting my fork :(
This patch allows list_info() to be used on macOS. example output of list_port_info: ```txt Port name: cu.debug-console - System location: /dev/cu.debug-console - Friendly name: cu.debug-console - Description: Serial Device -...
Hi there, thank you for this nice module! I tried zig serial on a new windows laptop which never had a COM port installed. This resulted in the following error:...