A CoAP Server with a Rack Interface for Use of Web Frameworks such as Ruby on Rails in the Internet of Things
We present a Constrained Application Protocol (CoAP) server with a Rack interface to enable application development for the Internet of Things (or Wireless Embedded Internet) using frameworks such as Ruby on Rails. Those frameworks avoid the need for reinvention of the wheel, and simplify the use of Test-driven Development (TDD) and other agile software development methods. They are especially beneficial on less constrained devices such as infrastructure devices or application servers. Our solution supports development of applications almost without paradigm change compared to HTTP and provides performant handling of numerous concurrent clients. The server translates transparently between the protocols and also supports specifics of CoAP such as service and resource discovery, block-wise transfers and observing resources. It also offers the possibility of transparent transcoding between JSON and CBOR payloads. The Resource Directory draft was implemented by us as a Rails application running on our server software.
sudo pacman -S texlive-bibtexextra texlive-fontsextra texlive-core \
texlive-latexextra texlive-pictures
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 License.