public class AmazonFreeRTOSDevice
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
deleteNetwork(DeleteNetworkReq deleteNetworkReq,
NetworkConfigCallback callback)
Sends a DeleteNetworkReq command to the connected BLE device.
|
void |
editNetwork(EditNetworkReq editNetworkReq,
NetworkConfigCallback callback)
Sends an EditNetworkReq command to the connected BLE device.
|
boolean |
equals(java.lang.Object obj) |
void |
getBrokerEndpoint(DeviceInfoCallback callback)
Get the current broker endpoint on the device.
|
void |
getDeviceVersion(DeviceInfoCallback callback)
Get the AmazonFreeRTOS library software version running on the device.
|
void |
getMtu(DeviceInfoCallback callback)
Get the current mtu value between device and Android phone.
|
void |
listNetworks(ListNetworkReq listNetworkReq,
NetworkConfigCallback callback)
Sends a ListNetworkReq command to the connected BLE device.
|
void |
saveNetwork(SaveNetworkReq saveNetworkReq,
NetworkConfigCallback callback)
Sends a SaveNetworkReq command to the connected BLE device.
|
public void listNetworks(ListNetworkReq listNetworkReq, NetworkConfigCallback callback)
listNetworkReq - The ListNetwork requestcallback - The callback which will be triggered once the BLE device sends a ListNetwork
response.public void saveNetwork(SaveNetworkReq saveNetworkReq, NetworkConfigCallback callback)
saveNetworkReq - The SaveNetwork request.callback - The callback that is triggered once the BLE device sends a SaveNetwork response.public void editNetwork(EditNetworkReq editNetworkReq, NetworkConfigCallback callback)
editNetworkReq - The EditNetwork request.callback - The callback that is triggered once the BLE device sends an EditNetwork response.public void deleteNetwork(DeleteNetworkReq deleteNetworkReq, NetworkConfigCallback callback)
deleteNetworkReq - The DeleteNetwork request.callback - The callback that is triggered once the BLE device sends a DeleteNetwork response.public void getMtu(DeviceInfoCallback callback)
callback - The callback to notify app of current mtu value.public void getBrokerEndpoint(DeviceInfoCallback callback)
callback - The callback to notify app of current broker endpoint on device.public void getDeviceVersion(DeviceInfoCallback callback)
callback - The callback to notify app of current software version.public boolean equals(java.lang.Object obj)
equals in class java.lang.Object