Accessor: js

js

An accessor for a message board that accepts and displays text.

Text entered into the message box will be sent to the message board through http POST when the user presses submit. The server responds with the status of the message.

Version:
  • $$Id: MessageBoard.js 76593 2017-08-10 21:25:23Z chadlia.jerad $$
Author:
  • Matt Weber (matt.weber@berkeley.edu) FIXME: The control input should be an object according to the other accessors like TemperatureSensor.js
Source:
Inputs:
Name Type Description
control A string.
Outputs:
Name Type Description
data A JSON object that is expected to have one property: "status", a string representing the status of the last message sent.