Skip to content
Branch: master
Find file History
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.
README.md
descriptor.json
go.mod
go.sum
metadata.go
server.go
trigger.go
trigger_test.go

README.md

CoAP

This trigger provides your flogo application the ability to start a flow via CoAP.

Installation

Flogo CLI

flogo install github.com/project-flogo/edge-contrib/trigger/coap

Configuration

Settings:

Name Type Description
port string The port number

Handler Settings

Name Type Description
path string The path of the CoAP request
method string The Method to listen on

Output:

Name Type Description
queryParams params The query parameters
payload string The payload of the CoAP Message

Example

{
  "id": "coap-trigger",
  "name": "Coap Trigger",
  "ref": "github.com/project-flogo/edge-contrib/trigger/coap",
  "settings": {
      "port" : "5683"
  },
  "handlers": {
    "settings": {
    	"path": "/flogo"
    
    }
  }
}
You can’t perform that action at this time.