public interface InterfaceService
Modifier and Type | Method and Description |
---|---|
Call<java.lang.String> |
getAppName()
Get application name
LWM2M path: /1024//9
|
Call<java.lang.String> |
getAppPath()
Get app path
Application Android à lancer ou page HTML à afficher quand l'IoTize est détecté par le téléphone
LWM2M path: /1024//11
|
Call<ListHostProtocol> |
getAuthorizedHostProtocol()
Get authorized host protocols
LWM2M path: /1024//17
|
Call<ListHostProtocol> |
getAvailableHostProtocols()
Get available host protocols
LWM2M path: /1024//21
|
Call<java.lang.String> |
getBleAddress()
Get ble address
LWM2M path: /1024//22
|
Call<java.lang.String> |
getCloudClientId()
Get cloud client id
LWM2M path: /3//2
|
Call<CloudConnectionMode> |
getCloudConnectionMode()
Get cloud connection mode
LWM2M path: /1024//26
|
Call<java.lang.String> |
getCloudGatewayUrl()
Get cloud gateway url
Adresse serveur Web du broker MQTT servant au Cloud.
|
Call<java.lang.String> |
getCloudLogin()
Get cloud login id
LWM2M path: /3//2
|
Call<java.lang.Integer> |
getCloudMqttPeriod()
Get cloud mqtt period
Minimum period between 2 Mqtt smartphone sendings in ms : 0 = no
LWM2M path: /1024//33
|
Call<java.lang.String> |
getCloudPassword()
Get cloud password
LWM2M path: /1024//29
|
Call<java.lang.String> |
getCloudServiceName()
Get the cloud service name
LWM2M path: /1024//61
|
Call<byte[]> |
getCom(byte[] data)
Crypted communication channel
LWM2M path: /1024//71
|
Call<java.lang.String> |
getConfigFormatFirmwareVersion()
Get config format firmware version
Version du Firmware qui a écrit la conf.
|
Call<java.lang.String> |
getConfigFormatVersion()
Get config format version
LWM2M path: /1024//8
|
Call<byte[]> |
getConfigure()
Get configuration of Secure Element
LWM2M path: /1024//70
|
Call<java.lang.String> |
getConfigVersion()
Get config version
LWM2M path: /1024//10
|
Call<java.lang.Integer> |
getCurrentGroupId()
Get current group id
LWM2M path: /1024//7
|
Call<HostProtocol> |
getCurrentHostProtocol()
Get current host protocol
LWM2M path: /1024//3
|
Call<java.lang.Integer> |
getCurrentProfileId()
Get current profile id
LWM2M path: /1024//2
|
Call<AvailableFunction> |
getFunctions()
Get functions
Get functions
LWM2M path: /1024//20
|
Call<java.lang.Integer> |
getHostInactivityPeriod()
Get host inactivity period
Host inactivity period before switch to standby mode or shutdown depending on optimisation level (res /1024//14)
LWM2M path: /1024//34
|
Call<InterfaceLock> |
getLock()
Get lock infos
LWM2M path: /1024//6
|
Call<java.lang.String> |
getMqttRelayClientId()
Get mqtt relay client id
LWM2M path: /3//2
|
Call<java.lang.String> |
getMqttRelayLogin()
Get mqtt relay login
LWM2M path: /3//2
|
Call<java.lang.String> |
getMqttRelayNetKey()
Get the mqtt net key for the server
LWM2M path: /1024//55
|
Call<java.lang.String> |
getMqttRelayPassword()
Get the mqtt relay password
Mot de passe connexion au broker
LWM2M path: /1024//54
|
Call<java.lang.String> |
getMqttRelayPort()
Get port of the mqtt broker
LWM2M path: /1024//51
|
Call<java.lang.String> |
getMqttRelayUrl()
Get mqtt relay url
LWM2M path: /1024//50
|
Call<java.lang.String> |
getNetworkGatewayIp()
Get iotize gateway ip on the network
Adresse IP : ex 192.168.1.1.
|
Call<java.lang.String> |
getNetworkInfraIp()
Get IoTize device ip on the network
Adresse statique IP : ex 192.168.1.10.
|
Call<java.lang.String> |
getNetworkInfraIpMask()
Get infrastructure ip mask
Mask IP : ex 255.255.255.0.
|
Call<NetworkMode> |
getNetworkMode()
Get network mode
LWM2M path: /1024//15
|
Call<NfcPairingMode> |
getNfcPairingMode()
Check if nfc paring is mandatory
LWM2M path: /1024//13
|
Call<LowPowerOptimisationLevel> |
getPowerOptimisationLevel()
Get power optimization level
LWM2M path: /1024//14
|
Call<java.lang.String> |
getPublicPassword()
Get the public password ?
|
Call<byte[]> |
getRand()
Generate a random number
LWM2M path: /1024//49
|
Call<java.lang.String> |
getWepKey()
Get network key
Clé WAP / WEP pour connection réseau infrastructure & P2P
LWM2M path: /1024//16
|
Call<java.lang.String> |
getWifiHostname()
Get wifi hostname
Hostname par exemple, à lire par NFC pour connection socket à un IoTize Wifi en mode infrastructure avec DHCP
LWM2M path: /1024//35
|
Call<java.lang.String> |
getWifiSSID()
Get wifi ssid
May be null if not connected to any network
LWM2M path: /1024//25
|
Call<java.lang.Integer> |
keepAlive()
Keep alive.
|
Call<java.lang.Void> |
login(LoginCredential credential)
Login
User login with username and password
LWM2M path: /1024//0
|
Call<java.lang.Void> |
logout()
Logout
LWM2M path: /1024//1
|
Call<MultiResponses> |
multiCommands(MultiCommands data)
Execute multiple commands sent in one frame, and return all answers in one
LWM2M path: /1024//89
|
Call<java.lang.Void> |
postLoginUid(byte[] uid)
Admnistration login
Log in as an administrator thanks to the UID
LWM2M path: /1024//5
|
Call<java.lang.Void> |
putAppName(java.lang.String appName)
Set application name
LWM2M path: /1024//9
|
Call<java.lang.Void> |
putAppPath(java.lang.String version)
Set app path
LWM2M path: /1024//11
|
Call<java.lang.Void> |
putAuthorizedHostProtocol(ListHostProtocol mode)
Write authorized host protocols
LWM2M path: /1024//17
|
Call<java.lang.Void> |
putCloudConnectionMode(CloudConnectionMode key)
Write cloud connection mode
LWM2M path: /1024//26
|
Call<java.lang.Void> |
putCloudGatewayUrl(java.lang.String version)
Write cloud gateway url
LWM2M path: /1024//12
|
Call<java.lang.Void> |
putCloudMqttPeriod(java.lang.Integer key)
Write cloud mqtt period
LWM2M path: /1024//33
|
Call<java.lang.Void> |
putCloudPassword(java.lang.String key)
Write cloud password
LWM2M path: /1024//29
|
Call<java.lang.Void> |
putCloudServiceName(java.lang.String name)
Write cloud service name
LWM2M path: /1024//61
|
Call<java.lang.Void> |
putConfigFormatVersion(java.lang.Integer configFormat)
Set config format version
LWM2M path: /1024//8
|
Call<java.lang.Void> |
putConfigure(byte[] conf)
Write secure element configuration
LWM2M path: /1024//70
|
Call<java.lang.Void> |
putConfigVersion(java.lang.Integer version)
Set config version
LWM2M path: /1024//10
|
Call<java.lang.Void> |
putCurrentHostProtocol(HostProtocol hostProtocol)
Write current host protocol
LWM2M path: /1024//3
|
Call<java.lang.Void> |
putHostInactivityPeriod(java.lang.Integer key)
Write host inactivity period
LWM2M path: /1024//34
|
Call<java.lang.Void> |
putLock(InterfaceLock infos)
Set lock infos
LWM2M path: /1024//6
|
Call<java.lang.Void> |
putMqttRelayNetKey(java.lang.String netkey)
Write mqtt net key
LWM2M path: /1024//55
|
Call<java.lang.Void> |
putMqttRelayPassword(java.lang.String url)
Write mqtt relay password
LWM2M path: /1024//54
|
Call<java.lang.Void> |
putMqttRelayPort(java.lang.String url)
Write service name of the mqtt broker
LWM2M path: /1024//51
|
Call<java.lang.Void> |
putMqttRelayUrl(java.lang.String url)
Write mqtt relay url
LWM2M path: /1024//50
|
Call<java.lang.Void> |
putNetworkGatewayIp(java.lang.String key)
Write iotize gateway ip
LWM2M path: /1024//31
|
Call<java.lang.Void> |
putNetworkInfraIp(java.lang.String key)
Write infrastructure ip
LWM2M path: /1024//30
|
Call<java.lang.Void> |
putNetworkInfraIpMask(java.lang.String key)
Write infrastructure ip mask
LWM2M path: /1024//32
|
Call<java.lang.Void> |
putNetworkMode(NetworkMode mode)
Write network mode
LWM2M path: /1024//15
|
Call<java.lang.Void> |
putNfcPairingMode(NfcPairingMode mode)
Change wether if nfc pairing is mandatory
LWM2M path: /1024//13
|
Call<java.lang.Void> |
putPowerOptimisationLevel(LowPowerOptimisationLevel mode)
Write power optimization level
LWM2M path: /1024//14
|
Call<java.lang.Void> |
putWepKey(java.lang.String key)
Write network key
LWM2M path: /1024//16
|
Call<java.lang.Void> |
putWifiSsid(java.lang.String key)
Write wifi ssid
LWM2M path: /1024//25
|
Call<java.lang.Void> |
reloadConfig()
Apply the new configuration on the device
LWM2M path: /1024//10
|
@Get(value="/interface/app-name") Call<java.lang.String> getAppName()
@Get(value="/interface/app-path") Call<java.lang.String> getAppPath()
@Get(value="/interface/authorized-host-protocol") Call<ListHostProtocol> getAuthorizedHostProtocol()
@Get(value="/interface/available-host-protocols") Call<ListHostProtocol> getAvailableHostProtocols()
@Get(value="/interface/ble/address") Call<java.lang.String> getBleAddress()
@Get(value="/interface/cloud/client-id") Call<java.lang.String> getCloudClientId()
@Get(value="/interface/cloud/connection-mode") Call<CloudConnectionMode> getCloudConnectionMode()
@Get(value="/interface/cloud-gateway-url") Call<java.lang.String> getCloudGatewayUrl()
@Get(value="/interface/cloud/login") Call<java.lang.String> getCloudLogin()
@Get(value="/interface/cloud/mqtt-period") Call<java.lang.Integer> getCloudMqttPeriod()
@Get(value="/interface/cloud/password") Call<java.lang.String> getCloudPassword()
@Get(value="/interface/cloud/service-name") Call<java.lang.String> getCloudServiceName()
@Get(value="/secure-element/com") Call<byte[]> getCom(@Body(converter="Bytes") byte[] data)
data
- input@Get(value="/interface/config-format-firmware-version") Call<java.lang.String> getConfigFormatFirmwareVersion()
@Get(value="/interface/config-format-version") Call<java.lang.String> getConfigFormatVersion()
@Get(value="/interface/config-version") Call<java.lang.String> getConfigVersion()
@Get(value="/secure-element/configure") Call<byte[]> getConfigure()
@Get(value="/interface/current-group-id") Call<java.lang.Integer> getCurrentGroupId()
@Get(value="/interface/current-host-protocol") Call<HostProtocol> getCurrentHostProtocol()
@Get(value="/interface/current-profile/id") Call<java.lang.Integer> getCurrentProfileId()
@Get(value="/interface/functions") Call<AvailableFunction> getFunctions()
@Get(value="/interface/host-inactivity-period") Call<java.lang.Integer> getHostInactivityPeriod()
@Get(value="/interface/lock") Call<InterfaceLock> getLock()
@Get(value="/interface/mqtt/relay/client-id") Call<java.lang.String> getMqttRelayClientId()
@Get(value="/interface/mqtt/relay/login") Call<java.lang.String> getMqttRelayLogin()
@Get(value="/interface/mqtt/relay/net-key") Call<java.lang.String> getMqttRelayNetKey()
@Get(value="/interface/mqtt/relay/password") Call<java.lang.String> getMqttRelayPassword()
@Get(value="/interface/mqtt/relay/port") Call<java.lang.String> getMqttRelayPort()
@Get(value="/interface/mqtt/relay/url") Call<java.lang.String> getMqttRelayUrl()
@Get(value="/interface/network/gateway-ip") Call<java.lang.String> getNetworkGatewayIp()
@Get(value="/interface/network/infra-ip") Call<java.lang.String> getNetworkInfraIp()
@Get(value="/interface/network/infra-ip-mask") Call<java.lang.String> getNetworkInfraIpMask()
@Get(value="/interface/network-mode") Call<NetworkMode> getNetworkMode()
@Get(value="/interface/nfc/pairing-mode") Call<NfcPairingMode> getNfcPairingMode()
@Get(value="/interface/power-optimisation-level") Call<LowPowerOptimisationLevel> getPowerOptimisationLevel()
@Get(value="/interface/public-password") Call<java.lang.String> getPublicPassword()
@Get(value="/interface/rand") Call<byte[]> getRand()
@Get(value="/interface/wep-key") Call<java.lang.String> getWepKey()
@Get(value="/interface/wifi/hostname") Call<java.lang.String> getWifiHostname()
@Get(value="/interface/wifi/ssid") Call<java.lang.String> getWifiSSID()
@Get(value="/interface/keep-alive") Call<java.lang.Integer> keepAlive()
@Post(value="/interface/login") Call<java.lang.Void> login(@Body(converter="LoginCredential") LoginCredential credential)
credential
- input@Post(value="/interface/logout") Call<java.lang.Void> logout()
@Get(value="/interface/multi-commands") Call<MultiResponses> multiCommands(@Body(converter="MultiCommands") MultiCommands data)
data
- input@Post(value="/interface/login-uid") Call<java.lang.Void> postLoginUid(@Body(converter="Bytes") byte[] uid)
uid
- input@Put(value="/interface/app-name") Call<java.lang.Void> putAppName(@Body(converter="string") java.lang.String appName)
appName
- input@Put(value="/interface/app-path") Call<java.lang.Void> putAppPath(@Body(converter="string") java.lang.String version)
version
- input@Put(value="/interface/authorized-host-protocol") Call<java.lang.Void> putAuthorizedHostProtocol(@Body(converter="ListHostProtocol") ListHostProtocol mode)
mode
- input@Put(value="/interface/cloud/connection-mode") Call<java.lang.Void> putCloudConnectionMode(@Body(converter="CloudConnectionMode") CloudConnectionMode key)
key
- input@Put(value="/interface/cloud-gateway-url") Call<java.lang.Void> putCloudGatewayUrl(@Body(converter="string") java.lang.String version)
version
- input@Put(value="/interface/cloud/mqtt-period") Call<java.lang.Void> putCloudMqttPeriod(@Body(converter="integer_uint32") java.lang.Integer key)
key
- input@Put(value="/interface/cloud/password") Call<java.lang.Void> putCloudPassword(@Body(converter="string") java.lang.String key)
key
- input@Put(value="/interface/cloud/service-name") Call<java.lang.Void> putCloudServiceName(@Body(converter="string") java.lang.String name)
name
- input@Put(value="/interface/config-format-version") Call<java.lang.Void> putConfigFormatVersion(@Body(converter="integer_uint32") java.lang.Integer configFormat)
configFormat
- input@Put(value="/interface/config-version") Call<java.lang.Void> putConfigVersion(@Body(converter="integer_uint32") java.lang.Integer version)
version
- input@Put(value="/secure-element/configure") Call<java.lang.Void> putConfigure(@Body(converter="Bytes") byte[] conf)
conf
- input@Put(value="/interface/current-host-protocol") Call<java.lang.Void> putCurrentHostProtocol(@Body(converter="HostProtocol") HostProtocol hostProtocol)
hostProtocol
- input@Put(value="/interface/host-inactivity-period") Call<java.lang.Void> putHostInactivityPeriod(@Body(converter="integer_uint16") java.lang.Integer key)
key
- input@Put(value="/interface/lock") Call<java.lang.Void> putLock(@Body(converter="InterfaceLock") InterfaceLock infos)
infos
- input@Put(value="/interface/mqtt/relay/net-key") Call<java.lang.Void> putMqttRelayNetKey(@Body(converter="string") java.lang.String netkey)
netkey
- input@Put(value="/interface/mqtt/relay/password") Call<java.lang.Void> putMqttRelayPassword(@Body(converter="string") java.lang.String url)
url
- input@Put(value="/interface/mqtt/relay/port") Call<java.lang.Void> putMqttRelayPort(@Body(converter="string") java.lang.String url)
url
- input@Put(value="/interface/mqtt/relay/url") Call<java.lang.Void> putMqttRelayUrl(@Body(converter="string") java.lang.String url)
url
- input@Put(value="/interface/network/gateway-ip") Call<java.lang.Void> putNetworkGatewayIp(@Body(converter="string_ipv4") java.lang.String key)
key
- input@Put(value="/interface/network/infra-ip") Call<java.lang.Void> putNetworkInfraIp(@Body(converter="string_ipv4") java.lang.String key)
key
- input@Put(value="/interface/network/infra-ip-mask") Call<java.lang.Void> putNetworkInfraIpMask(@Body(converter="string_ipv4mask") java.lang.String key)
key
- input@Put(value="/interface/network-mode") Call<java.lang.Void> putNetworkMode(@Body(converter="NetworkMode") NetworkMode mode)
mode
- input@Put(value="/interface/nfc/pairing-mode") Call<java.lang.Void> putNfcPairingMode(@Body(converter="NfcPairingMode") NfcPairingMode mode)
mode
- input@Put(value="/interface/power-optimisation-level") Call<java.lang.Void> putPowerOptimisationLevel(@Body(converter="LowPowerOptimisationLevel") LowPowerOptimisationLevel mode)
mode
- input@Put(value="/interface/wep-key") Call<java.lang.Void> putWepKey(@Body(converter="string") java.lang.String key)
key
- input@Put(value="/interface/wifi/ssid") Call<java.lang.Void> putWifiSsid(@Body(converter="string") java.lang.String key)
key
- input