Antenna
Allows to select used antennas. These operations are only valid for network extenders.
Get
Get used antenna
Parameters
deviceId : device mac address
Example
meshtech/diagnostics/cc3fc0fa8d21/command/device/antenna/get
{
"id":"60",
"params":{
"deviceId":"F80F3BDD84F7"
}
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/antenna/get
{
"id":"60",
"success":true,
"result":"Beacon F80F3BDD84F7 uses External antenna."
}
Set
Select used antenna
Parameters
antennaType : internal / external deviceId : device mac address
Example
meshtech/diagnostics/cc3fc0fa8d21/command/device/antenna/set
{
"id":"61",
"params":{
"antennaType":"external",
"deviceId":"F80F3BDD84F7"
}
}
meshtech/diagnostics/cc3fc0fa8d21/response/device/antenna/set
{
"id":"61",
"success":true,
"result":"The request for 'F80F3BDD84F7' to switch antenna to External is succeed"
}