Unknown macro: {next_previous_link3}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

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:

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

 

Property definitions

Property

Description

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

Data Type

Example

ssid

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

WSO2-Guest

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

2hr3999Hy

  • No labels