Commits on Mar 9, 2016
Commits on Mar 8, 2016
  1. Move to common test

    committed Mar 8, 2016
Commits on Mar 7, 2016
  1. Update for rebar3

    committed Mar 7, 2016
Commits on Mar 4, 2016
  1. Remove hard coded constants for TIOCMGET/TIOCMSET

    Look up the value of the constants using serctl:constant/1. Reported by @jj1bdx
    in #1
    committed Mar 4, 2016
Commits on Feb 8, 2015
  1. srly: set dep on version 0.4.5

    committed Feb 8, 2015
Commits on Feb 16, 2014
  1. makefile: add dialyzer target

    committed Feb 16, 2014
Commits on Feb 9, 2014
Commits on Sep 23, 2012
  1. Whitespace clean up

    committed Sep 23, 2012
Commits on Mar 31, 2012
Commits on Mar 30, 2012
  1. Fix build as dep

    committed Mar 30, 2012
Commits on Mar 11, 2012
  1. Add example and documentation

    committed Mar 11, 2012
  2. Remove exact read function

    Use the exact read function export from serctl.
    committed Mar 11, 2012
Commits on Mar 10, 2012
  1. Fix exact read

    committed Mar 10, 2012
  2. Check an iolist is passed into the loader

    Instead of throwing a cryptic exception. Well, the function clause
    exception you'll get is just as cryptic, as is the error you'll get if
    your iolist isn't and contains other types.
    committed Mar 10, 2012
  3. Constrain the size of uploaded chunks

    The maximum number of bytes that can be transmitted at a time appears to
    be 256. The page size must be a mulitple of 2. And prevent an inifinite
    loop if the size passed in is 0. Helpfully throw an exception if these
    conditions are not met.
    committed Mar 10, 2012
  4. Use the local write function

    committed Mar 10, 2012
Commits on Mar 7, 2012
  1. Simplify error handling

    committed Mar 7, 2012
  2. Simplify handling of serial protocol

    Pass in the bytes directly to the function rather than using atoms.
    Maybe there should be a map between atoms and symbols, so the caller
    can pass in the name of the message type.
    committed Mar 7, 2012
Commits on Mar 6, 2012
  1. Use a proplist to set optional values

    Make protocol dumps optional.
    committed Mar 6, 2012
  2. Make the stk500 protocol commands stateless

    Move the state out of the protocol writes. This makes the logic clearer
    but messes up the error handling (before errors would return to the
    caller; now the caller will get a mysterious exception).
    Argument handling for the cmd/2 functions uses a record. Protocol
    commands will be exported to the library user but without forcing the
    user to pass in a record.
    committed Mar 6, 2012
Commits on Mar 5, 2012
  1. Attempt at cleaning up error values

    But it's still ugly.
    committed Mar 5, 2012
  2. Use an exact read

    Create a buffered read (readx/2) when an exact number of bytes is
    committed Mar 5, 2012
  3. Sort of like calling avrdude but with VM segfaults

    Put an arduino into programmer mode and upload code using the STK500
    protocol using pure Erlang. Well, the C is in another library.
    Sort of like calling avrdude but with less features, no error checking
    and more likelihood of crashing the Erlang VM.
    committed Mar 5, 2012