Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.9 KB

sdr2evtstreams.md

File metadata and controls

36 lines (27 loc) · 1.9 KB

Horizon SDR To IBM Event Streams Service

Sample Horizon service that sends 30 second clips of FM radio rich in speech to IBM Event Streams. It contains Edge Node software that requires SDR hardware (but it can simulate that hardware when it is not present, which is especially useful during development). The Edge Node software receives radio signals, does some local analysis, and sends lower-volume, higher-value data to the cloud. The SDR example also contains a powerful cloud back end implementation for the application. The back end receives data from the Edge Nodes, presents a web UI with a map upon which your Edge Nodes appear. It also performs deeper data analysis by using IBM Watson APIs.The topic is sends to is: sdr-audio (can be overridden)

Input Values

The following input values must be given to this service in the input file given to hzn register:

Name Required? Type Description
EVTSTREAMS_API_KEY yes string the API key of the IBM Event Streams instance you are sending data to
EVTSTREAMS_BROKER_URL yes string The comma-separated list of URLs to use when sending messages to your instance of IBM Event Streams
EVTSTREAMS_TOPIC yes string The topic to use when sending messages to your instance of IBM Event Streams

These optional input values can be overridden:

Name Required? Type Description
VERBOSE no integer default is 0. Set to 1 to log everything that happens.

Example:

A sample services section of the input file given to hzn register:

    "services": [
        {
            "org": "$HZN_ORG_ID",
            "url": "$SERVICE_NAME",
            "variables": {
                "EVTSTREAMS_API_KEY": "$EVTSTREAMS_API_KEY",
                "EVTSTREAMS_BROKER_URL": "$EVTSTREAMS_BROKER_URL",
            }
        }
    ]