AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones WiFi
  • Overview
  • Wi-Fi and WINDEV: Principle
  • Wi-Fi and Android: How it works
  • Wi-Fi and iOS: How it works
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Using the Wi-Fi
Overview
WINDEV and WINDEV Mobile propose the WiFi functions to easily access the Wi-Fi networks. This group of functions can be used both in the WINDEV applications and in the Android applications.
WEBDEV - Código Navegador Only WiFiStatus is available in Browser code.
Wi-Fi and WINDEV: Principle
The principle for using the WiFi functions is as follows:
  1. List the Wi-Fi network cards accessible from the current computer (WiFiListNetworkCard).
  2. Select the Wi-Fi network card to use (WiFiSelectNetworkCard).
  3. Detect the available Wi-Fi access points with WiFiDetectAccessPoint.
  4. List the Wi-Fi networks configured on the computer (WiFiListNetwork).
  5. If an available Wi-Fi access point is found in the list of stored Wi-Fi networks, you have the ability to connect to it (WiFiConnect).
The available functions are as follows:
WiFiConnectConnects the device to the specified Wi-Fi network.
WiFiConnectionInfoReturns the requested information about the current Wi-Fi connection of the device.
WiFiDeleteNetworkDeletes a network from the list of Wi-Fi networks configured on the device.
WiFiDetectAccessPointStarts detecting the Wi-Fi access points currently accessible from the device.
WiFiListNetworkReturns the list of Wi-Fi networks configured on the device.
WiFiListNetworkCardReturns the list of Wi-Fi network cards currently available on the current computer.
WiFiSelectNetworkCardSelects the Wi-Fi network card that will be used for the next calls to the WiFi functions.
Wi-Fi and Android: How it works
The principle for using the WiFi functions is as follows:
  1. Check the Wi-Fi status on the mobile device (WiFiStatus) and enable it if necessary (WiFiActivate). If multiple available Wi-Fi networks are found during the activation, the device will connect to the best Wi-Fi network.
  2. Detect the Wi-Fi access points (WiFiDetectAccessPoint). This allows you to find out all the accessible Wi-Fi networks.
  3. List the Wi-Fi networks saved (WiFiListNetwork).
  4. If an available Wi-Fi access point is found in the list of saved networks, you have the ability to connect to it (WiFiConnect).
  5. If an available Wi-Fi access point is not found in the list of saved networks, you have the ability to configure it (WiFiAddNetwork) and to connect to it (WiFiConnect).
The available functions are as follows:
WiFiActivateEnables or disables Wi-Fi on the device.
WiFiAddNetworkAdds a new network to the list of Wi-Fi networks configured on the device.
WiFiConnectConnects the device to the specified Wi-Fi network.
WiFiConnectionInfoReturns the requested information about the current Wi-Fi connection of the device.
WiFiDeleteNetworkDeletes a network from the list of Wi-Fi networks configured on the device.
WiFiDetectAccessPointStarts detecting the Wi-Fi access points currently accessible from the device.
WiFiListNetworkReturns the list of Wi-Fi networks configured on the device.
WiFiStatusReturns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
Wi-Fi and iOS: How it works
In the iOS applications, the Wi-Fi functions are used to:
  • Find out the activation status of Wi-Fi.
  • Get the list of Wi-Fi networks. The available functions are as follows:
WiFiListNetworkReturns the list of Wi-Fi networks configured on the device.
WiFiStatusReturns the current activation status of Wi-Fi on the device or asks to be notified when the activation status of Wi-Fi changes.
Ver también
Versión mínima requerida
  • Versión 18
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local