1. 03 May, 2018 5 commits
    • Keith Holman's avatar
      build: various warning fixes · 8c988485
      Keith Holman authored
      This patch fixes various warnings produced during the build the most
      common warning, is the truncation of "size_t" (usually unsigned long) to
      (int).  This patch explicitly casts the result to "int" in these cases
      to supress the warning.  Additionally, this patch includes a fix to an
      internal library load function to take a "const char *" parameter
      instead of a "char *" parameter.
      Signed-off-by: 's avatarKeith Holman <keith.holman@windriver.com>
      8c988485
    • Keith Holman's avatar
      SHA1: compile a simple sha1 test program · 6cc27d6c
      Keith Holman authored
      This patch adds a simple sha1 test program to the compilation for
      testing the algorithm.  The sha1 algorithm is used for the initial
      WebSocket handshake.
      Signed-off-by: 's avatarKeith Holman <keith.holman@windriver.com>
      6cc27d6c
    • Keith Holman's avatar
      Base64: compile a simple base64 test program · 0ae766c9
      Keith Holman authored
      This patch adds a simple base64 test program to the compilation for
      testing the algorithm.  The base64 algorithm is used for the initial
      WebSocket handshake.
      Signed-off-by: 's avatarKeith Holman <keith.holman@windriver.com>
      0ae766c9
    • Keith Holman's avatar
      WebSocket: initial websocket support + utilities · 086111f1
      Keith Holman authored
      closes: #166
      
      This patch provides an initial implementation for websocket support for
      paho. For the websocket specification see RFC 6455.  The purpose of this
      patch is to allow connnecting to an MQTT broker listening on a websocket
      port (typically 80 [HTTP] or 443 [HTTPS]) to be able to communicate with
      a client using the paho library.  Using websockets to communicate increases
      the packet overhead both sending and receiving as well as additional setup
      and ping packets.  However, using websockets allows for communications on
      standard HTTP/HTTPS ports which are generally already configured by
      firewalls to allow outside communications.
      
      To use websockets, prefix the connection URI with either: "ws://" or
      "wss://" for either websockets or secure websockets, repectfully.
      Signed-off-by: 's avatarKeith Holman <keith.holman@windriver.com>
      086111f1
    • Keith Holman's avatar
      clients: add defines for connect states · af104622
      Keith Holman authored
      To help understand the various connecting states this patch introduces
      defines with the various states.  This helps make the code a bit easier
      to understand.
      Signed-off-by: 's avatarKeith Holman <keith.holman@windriver.com>
      af104622
  2. 16 Apr, 2018 1 commit
  3. 12 Apr, 2018 3 commits
  4. 09 Apr, 2018 1 commit
  5. 08 Apr, 2018 2 commits
  6. 06 Apr, 2018 5 commits
  7. 05 Apr, 2018 4 commits
  8. 04 Apr, 2018 1 commit
  9. 26 Mar, 2018 1 commit
  10. 24 Mar, 2018 1 commit
  11. 23 Mar, 2018 2 commits
  12. 22 Mar, 2018 1 commit
  13. 13 Mar, 2018 1 commit
  14. 12 Mar, 2018 4 commits
  15. 04 Mar, 2018 2 commits
  16. 03 Mar, 2018 1 commit
  17. 02 Mar, 2018 3 commits
  18. 27 Feb, 2018 2 commits