Releases: elixir-circuits/circuits_uart
Releases · elixir-circuits/circuits_uart
v1.3.2
v1.3.1
-
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.
- Lengthen timeouts on messages sent to ports. This provides more slack time
-
Improvements
- Handle iodata on
Circuits.UART.write
in addition to binaries and
charlists.
- Handle iodata on
v1.3.0
v1.2.1
v1.2.0
- 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 lostNerves.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.
- Added
v1.1.1
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.
- Fixed unhandled tx ready event seen during big transfers at 250000.
- Removed unnecessary open failure notification message. The failure gets
v1.1.0
-
Improvements
- Added 4-byte framer both since it is periodically useful and as a very
simple example of the framing feature.
- Added 4-byte framer both since it is periodically useful and as a very
-
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
- Fix active mode state not being updated and a message being sent in
v1.0.1
v1.0.0
v0.1.2
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
- Fix custom baudrates not working on OSX. Thanks to salzig for identifying