Commits on Mar 26, 2017
  1. Merge pull request #88 from spaceinventor/rdpfixes

    johandc committed Mar 26, 2017
    Space Inventor: RDP fixes
Commits on Feb 13, 2017
  1. Merge pull request #91 from mndza/master

    johandc committed Feb 13, 2017
    Fix SocketCAN driver includes
Commits on Feb 7, 2017
  1. rdp: Always send ack on syn/ack

    johandc committed Oct 27, 2016
    We we relying on the userspace to send a packet in order to initiate
    the transfer. This will not work with services that does not use a
    request and relies on the fact that the connection is opened.
  2. bugfix: RDP do not close connection in CLOSE_WAIT

    johandc committed Oct 27, 2016
    When the first RST is receive the rdp state is set to CLOSE_WAIT, and
    the userspace is requested to close the connection by posting a null
    pointer to the RX queue.
    On the second RST message received, the connection is forcefully closed.
    If the userspace task was still working on the RX queue, it will
    therefore be denied the remainder of the received data.
    This fix means that a connection that was already closed by the
    userspace (on the first node to call csp_close()) and therefore put into
    CLOSE_WAIT, will remain in CLOSE_WAIT untill the rdp timeout happens and
    sliently sets the state to CLOSED.
    This resolution is more in line with the original RDP specification
    where connections were always left to just timeout in the CLOSE_WAIT
  3. rdp: Open connections before receiving first packet

    johandc committed Oct 24, 2016
    Previously we had to initiate a new RDP connection with a request containing a non-zero length packet. However, for streams this should not be necessary. So moving the conn-queue push to earlier will allow for a service to start transmitting as soon as somebody connects to the port.
    Also i have removed the call to srand() since i feel this is something that is best done outside of the RDP stack. Furthermore it resulted in using the same sequence number if two connections were made within the same millisecond
  4. Merge pull request #85 from libcsp/sam0

    johandc committed Feb 7, 2017
    Fixed warnings on newer arm compilers
Commits on Feb 6, 2017
  1. Merge pull request #79 from spaceinventor/upstreamthis

    johandc committed Feb 6, 2017
    Fix all warnings from -Wmissing-declarations
  2. Merge pull request #76 from pacheco017/less-cxx-warnings

    johandc committed Feb 6, 2017
    Avoid warnings when building with -std=c++11
Commits on Sep 9, 2016
  1. Fix all warnings from -Wmissing-declarations

    johandc committed Sep 9, 2016
    Warn if a global function is defined without a previous declaration.
    Do so even if the definition itself provides a prototype.
    Use this option to detect global functions that are not declared in
    header files.
  2. Added *.d to .gitignore

    johandc committed Sep 8, 2016
Commits on Dec 9, 2015
Commits on Dec 4, 2015
  1. Merge pull request #60 from GomSpace/can-refactor

    johandc committed Dec 4, 2015
    Refactor CAN
Commits on Nov 24, 2015
Commits on Oct 15, 2015
Commits on Oct 7, 2015
  1. Fixed previous commit

    johandc authored and Gomspace committed Oct 7, 2015
Commits on Sep 28, 2015
Commits on Sep 17, 2015
  1. Merge pull request #58 from GomSpace/can-set-bitrate

    johandc committed Sep 17, 2015
    can: socketcan: use libsocketcan to set bitrate if available
Commits on Aug 10, 2015
Commits on Jul 30, 2015
  1. Merge pull request #57 from pacheco017/zmqhub-custom-endpoints

    johandc committed Jul 30, 2015
    Custom endpoints in ZMQ-Hub interface
Commits on Jul 1, 2015
  1. Merge pull request #51 from marshall/macPthreadQueue

    johandc committed Jul 1, 2015
    move pthread_queue.h to include, fixing build bustage on Mac OS X
Commits on May 26, 2015
  1. sfp: Added option to provide first packet, this is usefull if you hav…

    johandc committed May 26, 2015
    …e already taken it from the conn queue to inspect it first
Commits on May 25, 2015
  1. Merge pull request #47 from wright/macFixes

    johandc committed May 25, 2015
    Fix compile on OS X
Commits on May 7, 2015
  1. We are going for 1.4 instead

    johandc committed May 7, 2015
  2. Ready for v2.0

    johandc committed May 7, 2015
  3. Merge branch 'cidr'

    johandc committed May 7, 2015
  4. Updated changelog for v1.3

    johandc committed May 7, 2015
Commits on May 4, 2015
Commits on Apr 29, 2015
  1. Include csp_i2c_rx in header

    johandc committed Apr 29, 2015
Commits on Apr 20, 2015
Commits on Apr 19, 2015
  1. Fix csp_sleep_ms time

    johandc committed Apr 19, 2015