Skip to content

Implementation of small CoAP server for collecting data from IoT devices

License

Notifications You must be signed in to change notification settings

Mozilla9/coap-iot-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published