Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

ipm package: coap-adapter

Overview

coap-adapter connects to a CoAP URL and the ClearBlade Platform's MQTT Broker. Messages sent from the CoAP source URL are adapted into an MQTT message sent to a configured topic.

This is an ipm package, which contains one or more reusable assets within the ipm Community. The 'package.json' in this repo is a ipm spec's package.json, here, which is a superset of npm's package.json spec, here.

Browse ipm Packages

Setup

The repo contains an Eclipse Project, with which to import and run this Java program.

1. Import

  1. Open Eclipse
  2. File >Import
  3. select Existing Maven Project and import the cb-coap project from your filesystem

2. Configure

cb-coap/src/main/java/com/clearblade/coap/cb_coap/App.java

  1. Enter your System Settings
  2. Enter User Credentials
  3. Set your CoAP URL

Usage

  1. Set CoAP URL to your source CoAP URL
  2. Run App.java
  3. MQTT Messages are published by default on coap-test topic

API

This program does not take any runtime parameters.

Utilizes ClearBlade's Java SDK (src)

About

CoAP to MQTT Adapter

Resources

Packages

No packages published

Languages