Circuits Uart Versions Save

Discover and use UARTs and serial ports in Elixir

v1.5.1

1 year ago
  • Fixes
    • Don't even try using the RS485 ioctls if not set by the user. This fixes an issue on Allwinner devices, but probably others, where getting RS485 settings works, but setting them, even if unchanged always fails. Thanks to @jjcarstens for the fix.

v1.5.0

1 year ago
  • Updates
    • Added RS485 configuration options. These only work on Linux. Thanks to @jjcarstens for this feature.

v1.4.5

1 year ago
  • Bug fix
    • Gracefully handle Process.info/2 returning nil (:heart: @tonnenpinguin)

v1.4.4

1 year ago
  • Improvements
    • Fix MacOS deprecation warning. Thanks to @tonnenpinguin for the fix.

v1.4.3

2 years ago

This release doesn't contain any new features. Most of the changes relate to updating dependencies and CI to make the project more pleasant to maintain.

  • Improvements
    • Minor documentation fixes and build message cleanup.

v1.4.2

4 years ago
  • Bug fix
    • Updated non-standard UART speed configuration to use the newer termios2 API on Linux. This fixes a custom speed issue that was seen when using the older API. Thanks to Tom Boland for reporting the issue and providing a fix.

v1.4.1

4 years ago
  • Bug fix
    • Remove unneeded terminate/2 that could crash under some situations.

v1.4.0

4 years ago
  • New Feature
    • Add Circuits.UART.controlling_process/2. This assigns a new controlling process Pid to a uart in similar to OTP functions like :gen_udp.controlling_process/2. Thanks to Robin Hilliard for adding this.

v1.3.2

4 years ago
  • Bug fixes
    • Fix incorrect switch in C that caused flow control enum to be incorrect. Thanks to Lee Bannard

v1.3.1

5 years ago
  • Bug fixes

    • Lengthen timeouts on messages sent to ports. This provides more slack time on heavily loaded uniprocessor devices that were missing timeouts by ~100 ms periodically.
    • Move C object files and the port executable to under the _build directory. This makes it easier to switch between host/target builds especially when using Elixir 1.8's mix target feature.
  • Improvements

    • Handle iodata on Circuits.UART.write in addition to binaries and charlists.