Mozilla9 / coap-iot-server

Implementation of small CoAP server for collecting data from IoT devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coap-iot-server

This project is an example how you can implement a CoAP server for collecting data from IoT devices. Common tasks when working with iot devices are:

  • receive a packet with some data, then parse and put it in the DB.
  • configure the device
  • update firmware on-the-air

Used californium

How to runing on Ubuntu.

  1. Install Java
  • setup JAVA_HOME

  • setup default paths for Derby

  1. Clone this repo
  • fetch maven dependencies

  • building artifacts

  1. Go to in ${ROOT}/scripts/derby/
  • run the derby-server

$ sudo sh start-db-server-derby.sh

  • create db (will be created in /home/root)

$ sudo sh create-db-derby.sh

  • run app

$ java coap-wm-server.jar

About

Implementation of small CoAP server for collecting data from IoT devices

License:GNU General Public License v3.0


Languages

Language:Java 97.0%Language:Shell 3.0%