Skip to content

Releases: elixir-circuits/circuits_uart

v1.3.2

26 May 02:06
Compare
Choose a tag to compare
  • Bug fixes
    • Fix incorrect switch in C that caused flow control enum to be incorrect.
      Thanks to Lee Bannard

v1.3.1

06 Feb 22:23
Compare
Choose a tag to compare
  • 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.

v1.3.0

30 Nov 01:57
Compare
Choose a tag to compare

Rebrand to Circuits.UART. No features or bugs were fixed in this version. To
upgrade, you will need to rename all occurences of nerves_uart to
circuits_uart and Nerves.UART to Circuits.UART.

v1.2.1

07 Nov 22:28
Compare
Choose a tag to compare
  • Bug fixes
    • Added missing ignore parity option to parity checking choices
    • Fix compiler warnings when built using newer versions of gcc

v1.2.0

11 Apr 03:32
Compare
Choose a tag to compare
  • Improvements
    • Added id: pid option. In active mode, this causes the receive
      notification messages to contain the pid of the Nerves.UART GenServer that
      sends them. Thanks to Tallak Tveide for this improvement.
    • Added find_pids/0 diagnostic utility for finding lost Nerves.UART pids.
      This is handy when you need to close a serial port and don't know the pid.
    • Added configuration/1 to get the current configuration of a UART.

v1.1.1

16 Feb 18:19
Compare
Choose a tag to compare

The mix.exs file has the Elixir requirement bumped from 1.3 to 1.4. This was
done to fix a Dialyzer warning caused by a change in arguments to
System.monotonic_time/1 with newer versions of Erlang and Elixir.
Unfortunately this broke compilation under Elixir 1.3.

  • Bug fixes
    • Removed unnecessary open failure notification message. The failure gets
      returned from the open call already and the notification was due to an
      unfortunate path through the Linux filehandle polling code.
    • Various Windows fixes:
      • Fixed unhandled tx ready event seen during big transfers at 250000.
        Thanks to Arne Ehrlich for figuring this out.
      • Fixed bogus file handle errors when an open fails and then an attempt to
        open again happens without a restart of the GenServer.

v1.1.0

26 Jan 22:24
Compare
Choose a tag to compare
  • Improvements

    • Added 4-byte framer both since it is periodically useful and as a very
      simple example of the framing feature.
  • Bug fixes

    • Fix active mode state not being updated and a message being sent in
      passive mode on an open failure.
    • Maintain the elapsed time on passive mode reads to avoid reading forever
      when bytes keep arriving, but no messages get sent from the framer

v1.0.1

17 Jan 15:54
Compare
Choose a tag to compare
  • Improvements
    • Refactored Makefile logic to avoid 1-2 second hit when building. This was
      due to erl being called to get the directory containing the erl interface
      include/lib paths. Now mix.exs passes them down.
    • Trivial Elixir 1.6 formatting tweaks

v1.0.0

19 Dec 13:44
Compare
Choose a tag to compare
  • Bug fixes
    • Flush framing when closing a port
    • Fix broken spec's
    • Documentation and code cleanup

v0.1.2

18 Mar 22:53
Compare
Choose a tag to compare

Prebuilt port binaries are no longer distributed in hex.pm for Windows users.
You'll need to install MinGW. Feedback was that it didn't work as well as I
thought it would.

  • Bug fixes
    • Fix custom baudrates not working on OSX. Thanks to salzig for identifying
      the problem and helping to debug it.
    • Pass flush request through to framer as well as the serial port. Thanks to dhanson358 for this fix.
    • Minor code cleanup