/** * Generated file. Do not edit */ import { TapResponse } from '@iotize/tap'; import { WifiMode } from './models'; import { WifiProtocol } from './models'; import { WifiSSIDVisibility } from './models'; import { WifiKeyVisibility } from './models'; import { AbstractService, ServiceCallType } from '@iotize/tap'; export declare class WifiService extends AbstractService { resources: { getMode: ServiceCallType; putMode: ServiceCallType; getKey: ServiceCallType; putKey: ServiceCallType; getHostname: ServiceCallType; getIp: ServiceCallType; putIp: ServiceCallType; getGatewayIp: ServiceCallType; putGatewayIp: ServiceCallType; getIpMask: ServiceCallType; putIpMask: ServiceCallType; getDnsIp: ServiceCallType; putDnsIp: ServiceCallType; getSSID: ServiceCallType; putSSID: ServiceCallType; getCountryCode: ServiceCallType; putCountryCode: ServiceCallType; getProtocol: ServiceCallType; putProtocol: ServiceCallType; getTxPower: ServiceCallType; putTxPower: ServiceCallType; getSSIDVisibility: ServiceCallType; putSSIDVisibility: ServiceCallType; getKeyVisibility: ServiceCallType; putKeyVisibility: ServiceCallType; getNetworkMode: ServiceCallType; putNetworkMode: ServiceCallType; getDisabled: ServiceCallType; putDisabled: ServiceCallType; }; /** * Get Wi-Fi mode * * LWM2M path: /1024//15 * * @tapVersion(">=1.0") * @return */ getMode(): Promise>; /** * * * LWM2M path: /1024//15 * * @tapVersion(">=1.0") * @return call options */ getModeCall(): ServiceCallType; /** * Write Wi-Fi mode * * LWM2M path: /1024//15 * * @tapVersion(">=1.0") * @param mode input * @return */ putMode(mode: WifiMode): Promise>; /** * * * LWM2M path: /1024//15 * * @tapVersion(">=1.0") * @param mode input * @return call options */ putModeCall(mode: WifiMode): ServiceCallType; /** * Get Wi-Fi key * * LWM2M path: /1024//16 * * @tapVersion(">=1.0") * @return */ getKey(): Promise>; /** * * * LWM2M path: /1024//16 * * @tapVersion(">=1.0") * @return call options */ getKeyCall(): ServiceCallType; /** * Write network key * * LWM2M path: /1024//16 * * @tapVersion(">=1.0") * @param key input * @return */ putKey(key: string): Promise>; /** * * * LWM2M path: /1024//16 * * @tapVersion(">=1.0") * @param key input * @return call options */ putKeyCall(key: string): ServiceCallType; /** * Get Wi-Fi hostname * * LWM2M path: /1024//35 * * @tapVersion(">=1.0") * @return */ getHostname(): Promise>; /** * * * LWM2M path: /1024//35 * * @tapVersion(">=1.0") * @return call options */ getHostnameCall(): ServiceCallType; /** * Get IoTize device ip on the network * * LWM2M path: /1024//30 * * @tapVersion(">=1.0") * @return */ getIp(): Promise>; /** * * * LWM2M path: /1024//30 * * @tapVersion(">=1.0") * @return call options */ getIpCall(): ServiceCallType; /** * Write Tap IP * * LWM2M path: /1024//30 * * @tapVersion(">=1.0") * @param key input * @return */ putIp(key: string): Promise>; /** * * * LWM2M path: /1024//30 * * @tapVersion(">=1.0") * @param key input * @return call options */ putIpCall(key: string): ServiceCallType; /** * Get gateway ip on the network * * LWM2M path: /1024//31 * * @tapVersion(">=1.0") * @return */ getGatewayIp(): Promise>; /** * * * LWM2M path: /1024//31 * * @tapVersion(">=1.0") * @return call options */ getGatewayIpCall(): ServiceCallType; /** * Write gateway ip * * LWM2M path: /1024//31 * * @tapVersion(">=1.0") * @param key input * @return */ putGatewayIp(key: string): Promise>; /** * * * LWM2M path: /1024//31 * * @tapVersion(">=1.0") * @param key input * @return call options */ putGatewayIpCall(key: string): ServiceCallType; /** * Get network ip mask * * LWM2M path: /1024//32 * * @tapVersion(">=1.0") * @return */ getIpMask(): Promise>; /** * * * LWM2M path: /1024//32 * * @tapVersion(">=1.0") * @return call options */ getIpMaskCall(): ServiceCallType; /** * Write network ip mask * * LWM2M path: /1024//32 * * @tapVersion(">=1.0") * @param key input * @return */ putIpMask(key: string): Promise>; /** * * * LWM2M path: /1024//32 * * @tapVersion(">=1.0") * @param key input * @return call options */ putIpMaskCall(key: string): ServiceCallType; /** * Get network dns ip * * LWM2M path: /1024//124 * * @tapVersion(">=1.0") * @return */ getDnsIp(): Promise>; /** * * * LWM2M path: /1024//124 * * @tapVersion(">=1.0") * @return call options */ getDnsIpCall(): ServiceCallType; /** * Write network dns ip * * LWM2M path: /1024//124 * * @tapVersion(">=1.0") * @param key input * @return */ putDnsIp(key: string): Promise>; /** * * * LWM2M path: /1024//124 * * @tapVersion(">=1.0") * @param key input * @return call options */ putDnsIpCall(key: string): ServiceCallType; /** * Get Wi-Fi ssid * * LWM2M path: /1024//25 * * @tapVersion(">=1.0") * @return */ getSSID(): Promise>; /** * * * LWM2M path: /1024//25 * * @tapVersion(">=1.0") * @return call options */ getSSIDCall(): ServiceCallType; /** * Write Wi-Fi ssid * * LWM2M path: /1024//25 * * @tapVersion(">=1.0") * @param key input * @return */ putSSID(key: string): Promise>; /** * * * LWM2M path: /1024//25 * * @tapVersion(">=1.0") * @param key input * @return call options */ putSSIDCall(key: string): ServiceCallType; /** * Get Wi-Fi country code * * LWM2M path: /1024//95 * * @tapVersion(">=1.88") * @return */ getCountryCode(): Promise>; /** * * * LWM2M path: /1024//95 * * @tapVersion(">=1.88") * @return call options */ getCountryCodeCall(): ServiceCallType; /** * Write Wi-Fi country code * * LWM2M path: /1024//95 * * @tapVersion(">=1.88") * @param countryCode input * @return */ putCountryCode(countryCode: number): Promise>; /** * * * LWM2M path: /1024//95 * * @tapVersion(">=1.88") * @param countryCode input * @return call options */ putCountryCodeCall(countryCode: number): ServiceCallType; /** * Get Wi-Fi protocol * * LWM2M path: /1024//96 * * @tapVersion(">=1.88") * @return */ getProtocol(): Promise>; /** * * * LWM2M path: /1024//96 * * @tapVersion(">=1.88") * @return call options */ getProtocolCall(): ServiceCallType; /** * Write Wi-Fi protocol * * LWM2M path: /1024//96 * * @tapVersion(">=1.88") * @param protocol input * @return */ putProtocol(protocol: WifiProtocol[]): Promise>; /** * * * LWM2M path: /1024//96 * * @tapVersion(">=1.88") * @param protocol input * @return call options */ putProtocolCall(protocol: WifiProtocol[]): ServiceCallType; /** * Get Wi-Fi TX max power * * LWM2M path: /1024//97 * * @tapVersion(">=1.88") * @return */ getTxPower(): Promise>; /** * * * LWM2M path: /1024//97 * * @tapVersion(">=1.88") * @return call options */ getTxPowerCall(): ServiceCallType; /** * Write Wi-Fi TX max power * * LWM2M path: /1024//97 * * @tapVersion(">=1.88") * @param maxPower input * @return */ putTxPower(maxPower: number): Promise>; /** * * * LWM2M path: /1024//97 * * @tapVersion(">=1.88") * @param maxPower input * @return call options */ putTxPowerCall(maxPower: number): ServiceCallType; /** * Get Wi-Fi SSID visibility * * LWM2M path: /1024//98 * * @tapVersion(">=1.88") * @return */ getSSIDVisibility(): Promise>; /** * * * LWM2M path: /1024//98 * * @tapVersion(">=1.88") * @return call options */ getSSIDVisibilityCall(): ServiceCallType; /** * Write Wi-Fi SSID visibility * * LWM2M path: /1024//98 * * @tapVersion(">=1.88") * @param visibility input * @return */ putSSIDVisibility(visibility: WifiSSIDVisibility): Promise>; /** * * * LWM2M path: /1024//98 * * @tapVersion(">=1.88") * @param visibility input * @return call options */ putSSIDVisibilityCall(visibility: WifiSSIDVisibility): ServiceCallType; /** * Get Wi-Fi key visibility * * LWM2M path: /1024//99 * * @tapVersion(">=1.88") * @return */ getKeyVisibility(): Promise>; /** * * * LWM2M path: /1024//99 * * @tapVersion(">=1.88") * @return call options */ getKeyVisibilityCall(): ServiceCallType; /** * Write Wi-Fi key visibility * * LWM2M path: /1024//99 * * @tapVersion(">=1.88") * @param visibility input * @return */ putKeyVisibility(visibility: WifiKeyVisibility): Promise>; /** * * * LWM2M path: /1024//99 * * @tapVersion(">=1.88") * @param visibility input * @return call options */ putKeyVisibilityCall(visibility: WifiKeyVisibility): ServiceCallType; /** * Get Wi-Fi network mode * * LWM2M path: /1024//128 * * @tapVersion(">=2.13") * @return */ getNetworkMode(): Promise>; /** * * * LWM2M path: /1024//128 * * @tapVersion(">=2.13") * @return call options */ getNetworkModeCall(): ServiceCallType; /** * Write Wi-Fi network mode * * LWM2M path: /1024//128 * * @tapVersion(">=2.13") * @param mode input * @return */ putNetworkMode(mode: WifiMode): Promise>; /** * * * LWM2M path: /1024//128 * * @tapVersion(">=2.13") * @param mode input * @return call options */ putNetworkModeCall(mode: WifiMode): ServiceCallType; /** * Get Wi-Fi disable status * * LWM2M path: /1024//129 * * @tapVersion(">=2.13") * @return */ getDisabled(): Promise>; /** * * * LWM2M path: /1024//129 * * @tapVersion(">=2.13") * @return call options */ getDisabledCall(): ServiceCallType; /** * Write Wi-Fi disable status * * LWM2M path: /1024//129 * * @tapVersion(">=2.13") * @param isDisabled input * @return */ putDisabled(isDisabled: boolean): Promise>; /** * * * LWM2M path: /1024//129 * * @tapVersion(">=2.13") * @param isDisabled input * @return call options */ putDisabledCall(isDisabled: boolean): ServiceCallType; }