Read variable when using "AIM-for-Things-Arduino101"

Hi,

How do I ask for a variable defined inside of an Arduino running 'AIM-for Things-Arduino101'?

My goal is to let my App inventor:

  1. Ask for the value of a predefined variable.
  2. Arduino send the value to my app

Ex.

Variable of type Json: ArduinoConnections

{

"16x2 display": true,

"main motor": true,

"name of board": "my control unit",

"lasercontrol": false,

"max motor rotationspeed": 1234

}

Search this forum for "Arduino" - you will find the answers several times over.