public interface IAsyncOnNotifyAPI
Modifier and Type | Method and Description |
---|---|
void |
ClearLastErrorMsg()
Clear the last error message.
|
int |
ConnectTarget()
Open the communication between IoTize and target board.
|
int |
DatalogRun() |
int |
DatalogStop() |
int |
DisconnectTarget()
Close the communication between IoTize and target board.
|
int |
GetCurrentHostProtocol()
Get the current protocol communication between smartphone and IoTize.
|
int |
GetCurrentProfileID()
Get the ID of the current profile.
|
int |
GetCurrentTargetProtocol()
Get the current protocol communication between target and IoTize.
|
int |
GetHostProtocols()
Retrieve the IoTize host protocols capabilities.
|
int |
GetIoTizeDatalogIsRunning() |
int |
GetIoTizeErrorCode()
Get the IoTized saved error code.
|
int |
GetIoTizeFirmwareVersion()
Retrieve the IoTize firmware version.
|
int |
GetIoTizeLocalPublicPwd() |
int |
GetIoTizeMemoryFree()
Retrieve the IoTize memory free size.
|
int |
GetIoTizeModuleManufacturer()
Retrieve the IoTize module manufacturer.
|
int |
GetIoTizeModuleType()
Retrieve the IoTize module type.
|
int |
GetIoTizeSerialNumber()
Retrieve the IoTize Serial Number.
|
java.lang.String |
GetLastErrorMsg()
Get the last error message encountered.
|
int |
GetProfileName(int ID) |
int |
GetTargetConfigVersion()
Retrieve the target configuration version.
|
int |
GetTargetFirmwareVersion()
Retrieve the target firmware version.
|
int |
GetTargetName()
Retrieve the configured target name.
|
int |
GetTargetProtocols()
Retrieve the IoTize target protocols capabilities.
|
int |
GetVar(java.lang.String name)
Request for a variable value.
|
int |
IsConnected()
Check if IoTize connected to smartphone.
|
boolean |
IsFatalError()
Is the last error a fatal error ?
|
int |
Login(java.lang.String ID,
java.lang.String Pwd)
Login command to IoTize.
|
int |
Logout()
Logout command to IoTize.
|
int |
RegisterComVar(int ID,
int format,
int number,
int freq)
Register a communication variable.
|
int |
RegisterVar(java.lang.String name,
int ID,
int index)
Register a variable.
|
int |
ResetIoTize()
Reboot the IoTize module.
|
int |
ResetIoTizeErrorCode()
Reset the IoTize saved error code.
|
int |
ResetTarget()
Reset the target board.
|
int |
SetArrayVar(int ID,
java.lang.String[] value)
Write a array type variable to the target.
|
int |
SetVar(int ID,
java.lang.String value)
Write a variable to the target.
|
int |
ShowToast(java.lang.String toast)
Show a toast from the web page.
|
void |
startMonitoring()
Start monitoring (this will start refresh and variable acquisition)
|
int |
StartRefresh()
Enables the data refresh.
|
void |
stopMonitoring()
Stop monitoring (this will stop refresh and variable acquisition)
|
int |
StopRefresh()
Disables the data refresh.
|
int |
UnRegisterAll()
UnRegister all communication and HMI variables.
|
int |
UnRegisterComVar(int ID)
UnRegister a communication variable.
|
int |
UnRegisterVar(java.lang.String name)
UnRegister a variable.
|
int GetIoTizeLocalPublicPwd()
int GetProfileName(int ID)
int DatalogRun()
int DatalogStop()
int GetIoTizeDatalogIsRunning()
void stopMonitoring()
void startMonitoring()
int ShowToast(java.lang.String toast)
toast
- String to display.int IsConnected()
java.lang.String GetLastErrorMsg()
void ClearLastErrorMsg()
boolean IsFatalError()
int Login(java.lang.String ID, java.lang.String Pwd)
ID
- : user identifier.Pwd
- : user password.int Logout()
int GetCurrentProfileID()
int StartRefresh()
int StopRefresh()
int RegisterComVar(int ID, int format, int number, int freq)
ID
- : IoTize variable identifier as defined by the configuration.format
- : type of variable ( 1= byte, 2 = 16 bits half word, 3 = 32 bits word).number
- : number of variable (variable is an array if number greater than 1).freq
- : acquisition frequency (0 = no acquisition, 1 = every time, else frequency in 100 ms).int UnRegisterComVar(int ID)
ID
- : IoTize variable identifier as defined by the configuration.int UnRegisterAll()
int RegisterVar(java.lang.String name, int ID, int index)
name
- : name of the variable.ID
- : IoTize variable identifier as defined by the configuration.index
- : index of the HMI variable in the IoTize variable.int UnRegisterVar(java.lang.String name)
name
- : name of the variable.int SetVar(int ID, java.lang.String value)
ID
- : IoTize variable identifier as defined by the configuration.value
- : value to be written.int SetArrayVar(int ID, java.lang.String[] value)
ID
- : IoTize variable identifier as defined by the configuration.value
- : values array to be written.int GetVar(java.lang.String name)
name
- : name of the variable.int GetCurrentHostProtocol()
int GetHostProtocols()
int GetTargetProtocols()
int GetCurrentTargetProtocol()
int ConnectTarget()
int DisconnectTarget()
int ResetTarget()
int GetTargetName()
int GetTargetConfigVersion()
int GetTargetFirmwareVersion()
int ResetIoTize()
int GetIoTizeErrorCode()
int ResetIoTizeErrorCode()
int GetIoTizeSerialNumber()
int GetIoTizeModuleType()
int GetIoTizeModuleManufacturer()
int GetIoTizeFirmwareVersion()
int GetIoTizeMemoryFree()