Skip to content
CoAP to MQTT Adapter
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cb-coap
Readme.md
package.json

Readme.md

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)

You can’t perform that action at this time.