Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A sample resource definition, together with details on the information that is added in the JSON are as follows:

Table of Contents
maxLevel3

Sample definition JSON to configure Wi-fi

The following are sample configurations that can be used in a JSON to configure Wi-fi on Android devices:

Excerpt
Code Block
{
  "operation": {
    "ssid": "WSO2-Guest",
    "password": "2hr3999Hy"
  },
  "deviceIDs": [
    "d8:50:e6:2f:6a:8b",
    "a5:60:e6:2g:6a:5b"
  ]
}

 

Property definitions

...

operation

...

For more information on the property definitions, see below:

Table of Contents
maxLevel5
minLevel5
typeflat
separatorpipe

Property

Description

Image Modified

Image Modified

Data Type

Example

...

operation
This specifies the operation that is to be applied on the Android device.YesN/Aoperation 

...

deviceIDs

ID of the Android device. Multiple device IDs can be added by using comma separated values. 
For more information on retrieving the device ID, see Retrieving the ID of an Android device.

Yes

N/A

String

d8:50:e6:2f:6a:8b

 

operation

Property

Description

Image Modified

Image Modified

Data Type

Example

...

ssid
The name of the Wifi network that you wish to configure.YesN/AString

WSO2-Guest

...

password
The password to connect to the specified Wifi network.YesN/AString

2hr3999Hy