Giter VIP home page Giter VIP logo

dt065a-iot_protocols's Introduction

DT065A-IoT_Protocols

Functional HTTP Server (Labb 0).

The database of this HTTP/Rest server will be handled by a JSON file.

Finished tasks

  • Created a HTTP Server using java ServerSocket and Socket.
  • Created a Client Handler where the requests will be parsed and later handled
  • Created a Request Header class and Interface. Mostly for more readable code.
  • Created Json Manager class.
  • Created Parser class where messages will be parsed before custom objects before initialization.

TODO:

  • Request handler implementation for clients
  • JSON Manager class implementation for handling the data in the database
  • Operation responses implementation
  • Exception handler

CoAP Client (Labb 1).

Finished tasks

  • Created types for Message, MethodCode, OptionCode, ResponseCode, TypeCode.
  • Created Parser that takes in a Byte array and parses every byte into types and lastly create a Message.
  • Created Interfaces for Parser.
  • Create UDP Client that sends message for connection.

TODO:

  • Some classes are still missing Interface
  • POST request left.
  • Parser from Types to Messages left
  • Need to check what is opaque type
  • Need also to figure it out what happens when a option is 0 bytes long. How is the content format decided?

Labb one uses the CoAP standard (RFC 6690, RFC 7252, RFC 7959, RFC 7641)

dt065a-iot_protocols's People

Contributors

ninhow avatar takolander avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.