1. 21 Jun, 2017 1 commit
  2. 16 Jun, 2017 3 commits
    • Björn Butzin's avatar
      01a88d81
    • Björn Butzin's avatar
      Updated readme · a05353fb
      Björn Butzin authored
      a05353fb
    • Björn Butzin's avatar
      Soundness and Usability improvements; Added feature: Arbitrary Resource Tags · 04264b32
      Björn Butzin authored
      ---
      fixed jcoap-example & jcoap-applications classpath to remain at Java 1.6
      removed outdated gradle build to maintain consistency
      added license information to maven pom of jcoap
      removed coapcache test implementation
      
      added CoapClientChannel.createRequest() signature to consume all mandatory information required for a sound request message.
      Thus it is not possible to create an unfinished request with this call.
      old createRequest(reliable?, CoapRequestCode); is marked as deprecated as it allows creating unsound requests.
      reordered the parameters for better human readability
      
      Added Method signature CoapMessage.setPayload(CoapData data) to soundly set the payload including corresponding media type.
      
      Changed the CoapResource interface by adding functions to add and remove arbitrary tags
      Changed BasicCoapResource to implement the interface changes. If a resource is set to be observeble a tag(flag) "obs" is added automatically
      Changed the core resource to append arbitrary tags to the resources
      
      further classes have been adapted to the changes mentioned above
      04264b32
  3. 01 Jun, 2017 1 commit
  4. 31 May, 2017 2 commits
    • Björn Butzin's avatar
      Bugfixes: Multicast not allowed crash, test crash during build · ef0e34bb
      Björn Butzin authored
      jCoAP crashed when multicast was not allowed on a machine: Added Exception Handler, instead of a system failure, a warning is shown that jCoAP runs without multicast support
      fixed test setup: some static modifiers crashed the test and thus the build
      updated jcoap-core version to 1.1.2
      updated dependencies in all projects
      renamed all maven artifacts with a prefix "jcoap-" as otherwise generated jars are not identified with jcoap
      removed all snapshot endings in version numbers
      set all .settings to be ignored not just in root
      ef0e34bb
    • Björn Butzin's avatar
      Added RFC# note to readme · e599c777
      Björn Butzin authored
      e599c777
  5. 30 May, 2017 1 commit
  6. 29 May, 2017 7 commits
  7. 08 Nov, 2016 1 commit
  8. 07 Nov, 2016 1 commit
    • Björn Butzin's avatar
      cleaned maven build: · da534951
      Björn Butzin authored
      rename maven artifacts for clarification (now: org.ws4d.jcoap.core, org.ws4d.jcoap.examples, org.ws4d.jcoap.proxy)
      jcoap.core: removed jUnit4 dependency from classpath; was already part of maven build
      jcoap.examples: removed jcoap.core project dependency from classpath; added dependency to maven build
      da534951
  9. 21 Oct, 2016 1 commit
  10. 09 Sep, 2016 5 commits
  11. 08 Sep, 2016 1 commit
  12. 02 Aug, 2016 1 commit
  13. 01 Aug, 2016 1 commit
  14. 28 Jul, 2016 1 commit
  15. 26 Jul, 2016 5 commits
  16. 04 Jul, 2016 1 commit
  17. 20 Jun, 2016 1 commit
  18. 22 Apr, 2016 1 commit
  19. 01 Feb, 2016 1 commit
    • Björn Butzin's avatar
      Improved TimeoutHashMap2 · 7b80696a
      Björn Butzin authored
       - TimeoutHashMap2 has now reduced memory footprint (~50% - removed timeque)
       - TimeoutHashMap2 is now thread save (synchronized methods & moved update of the map from Timer to TimeoutHashMap2)
       - TimeoutHashMap2 now focuses on fast insert and remove, instead of fast removal of expired entries as this happens in the background
      7b80696a
  20. 29 Jan, 2016 2 commits
    • Björn Butzin's avatar
      added · 3686d6bb
      Björn Butzin authored
       - TimeoutHashMap2 as alternative to TimeoutHashMap which keeps its content updated on its own by using an internal thread who wakes when an entry has timed out and deletes it.
      3686d6bb
    • Björn Butzin's avatar
      removed · 8341f133
      Björn Butzin authored
       - CoapChannelListener.java -> empty and unused (updated CoapClient and CoapServer accordingly)
      modified
       - documentation (CoapResource)
       - cleanup (CoapResponseCode, CoapRequestCode, CoapPacketType )
       - added first test setting (InterfaceTest)
       - ResourceServer Interface now extends CoapServer (instead of being parallel)
       - ToDo's: removed already finished ToDo's, added some Fixme's for potential null pointer access
      8341f133
  21. 28 Jan, 2016 1 commit
    • Björn Butzin's avatar
      CoapChannelManager & BasicCoapChannelManager - Added method to remove resource... · 93e1d23f
      Björn Butzin authored
      CoapChannelManager & BasicCoapChannelManager - Added method to remove resource server channel from the channel manager (used to stop resource server)
      BasicCoapRequest - Changed getURIPath to return non-URL-encoded string
      CoapResource & BasicCoapResource - added new Constructors and setValue methods for string values instead of byte[]; Removed writable and replaced by postable & putable
      Resource Server & CoapResourceServer - implemented start & stop; reviewed onRequest; updated create permissions & process
      CoreResource - updated access permissions, Fixed filter query bug
      BasicResourceTest & InterfaceTest - updated test setUp
      Encoder - added as helper class to encode and decode UTF-8 string <-> byte[]
      93e1d23f
  22. 26 Jan, 2016 1 commit
    • Björn Butzin's avatar
      Cleanup & added feature "/.well-known/core filter" & BUGFIX CoAP Header Option ignored · 5ce8f292
      Björn Butzin authored
      ---
      Deleted:
       - CoapWellKnownResource - unfinished & unused
       - Resource - merged content into CoapResource.java -> avoids problematic casting in the ResourceServer
       - ResourceHandler - undocumented/unknown purpose & unused
      Modified:
       - AbstractCoapMessage -> BUGFIX CoAP Header Option ignored
       - CoapMediaType -> added mime types
       - BasicCoapResource -> added interface description, size estimate & configuration for read and write permissions
       - CoapResource -> changed to more generic datatypes & merged with Resource
       - CoapResourceServer -> changed according to modiied interfaces
       - CoreResource -> now inherits from BasicCoapResource & removed duplicate code & added feature "/.well-known/core filter"
       - Resource Server -> changed according to modified interfaces & enhanced documentation
       - InterfaceTest -> removed encoding error & warning suppress
      5ce8f292