Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.15 KB

File metadata and controls

26 lines (17 loc) · 1.15 KB

MobileExample-WebApp-SendCommand

This sample web app sends a command to backend and displays the response.

Before You Begin:

It is assumed that you already have running instances of Predix Mobile service and pushed your command-processor to your CF space (or running on your development system).

To get started, follow this documentation:

Configuration

Update the commandRoute variable in MobileCommand.js file to the URL registered using PM CLI tool (ex. pm add-route <command-route> <processor-url>).

Installation

Checkout this repository, open the folder in a terminal window, and execute:

pm publish

Usage

Press Send Command button once to see name of logged in user. Tap again to send a test command. The Status area and Text area display status of command.