le_wifiClient_interface.h
Go to the documentation of this file.
202 //--------------------------------------------------------------------------------------------------205 * Connect the current client thread to the service providing this API. Block until the service is208 * For each thread that wants to use this API, either ConnectService or TryConnectService must be209 * called before any other functions in this API. Normally, ConnectService is automatically called214 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------223 * Try to connect the current client thread to the service providing this API. Return with an error226 * For each thread that wants to use this API, either ConnectService or TryConnectService must be227 * called before any other functions in this API. Normally, ConnectService is automatically called234 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.235 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).238 //--------------------------------------------------------------------------------------------------244 //--------------------------------------------------------------------------------------------------250 * longer a connection to the service, and the functions in this API can't be used. For details, see255 //--------------------------------------------------------------------------------------------------262 //--------------------------------------------------------------------------------------------------266 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------293 //--------------------------------------------------------------------------------------------------317 //--------------------------------------------------------------------------------------------------321 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------333 //--------------------------------------------------------------------------------------------------335 (340 //--------------------------------------------------------------------------------------------------346 //--------------------------------------------------------------------------------------------------356 //--------------------------------------------------------------------------------------------------360 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------383 //--------------------------------------------------------------------------------------------------393 //--------------------------------------------------------------------------------------------------399 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------414 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------429 //--------------------------------------------------------------------------------------------------439 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------453 //--------------------------------------------------------------------------------------------------460 //--------------------------------------------------------------------------------------------------470 //--------------------------------------------------------------------------------------------------483 //--------------------------------------------------------------------------------------------------495 //--------------------------------------------------------------------------------------------------505 //--------------------------------------------------------------------------------------------------516 //--------------------------------------------------------------------------------------------------526 //--------------------------------------------------------------------------------------------------536 //--------------------------------------------------------------------------------------------------546 //--------------------------------------------------------------------------------------------------557 //--------------------------------------------------------------------------------------------------570 //--------------------------------------------------------------------------------------------------578 //--------------------------------------------------------------------------------------------------588 //--------------------------------------------------------------------------------------------------597 //--------------------------------------------------------------------------------------------------607 //--------------------------------------------------------------------------------------------------617 //--------------------------------------------------------------------------------------------------624 //--------------------------------------------------------------------------------------------------633 * @note For PSK credentials see le_wifiClient_SetPassphrase() or le_wifiClient_SetPreSharedKey() .636 //--------------------------------------------------------------------------------------------------643 //--------------------------------------------------------------------------------------------------651 //--------------------------------------------------------------------------------------------------void le_wifiClient_ConnectService(void)le_wifiClient_SecurityProtocol_tDefinition: le_wifiClient_interface.h:294le_result_t le_wifiClient_Start(void)void le_wifiClient_DisconnectService(void)le_result_t le_wifiClient_TryConnectService(void)void(* le_wifiClient_NewEventHandlerFunc_t)(le_wifiClient_Event_t event, void *contextPtr)Definition: le_wifiClient_interface.h:335struct le_wifiClient_NewEventHandler * le_wifiClient_NewEventHandlerRef_tDefinition: le_wifiClient_interface.h:322le_result_t le_wifiClient_Disconnect(void)Using WPA Enterprise.Definition: le_wifiClient_interface.h:308struct le_wifiClient_AccessPoint * le_wifiClient_AccessPointRef_tDefinition: le_wifiClient_interface.h:267le_result_t le_wifiClient_Delete(le_wifiClient_AccessPointRef_t accessPointRef)le_result_t le_wifiClient_SetWepKey(le_wifiClient_AccessPointRef_t accessPointRef, const char *wepKey)void le_wifiClient_RemoveNewEventHandler(le_wifiClient_NewEventHandlerRef_t addHandlerRef)le_result_t le_wifiClient_GetSsid(le_wifiClient_AccessPointRef_t accessPointRef, uint8_t *SsidPtr, size_t *SsidNumElementsPtr)le_wifiClient_AccessPointRef_t le_wifiClient_GetFirstAccessPoint(void)le_result_t le_wifiClient_SetPassphrase(le_wifiClient_AccessPointRef_t accessPointRef, const char *PassPhrase)le_wifiClient_NewEventHandlerRef_t le_wifiClient_AddNewEventHandler(le_wifiClient_NewEventHandlerFunc_t handlerPtr, void *contextPtr)Using WPA2 Enterprise.Definition: le_wifiClient_interface.h:311le_result_t le_wifiClient_SetPreSharedKey(le_wifiClient_AccessPointRef_t accessPointRef, const char *PreSharedKey)le_wifiClient_AccessPointRef_t le_wifiClient_GetNextAccessPoint(void)le_result_t le_wifiClient_Connect(le_wifiClient_AccessPointRef_t accessPointRef)le_result_t le_wifiClient_SetSecurityProtocol(le_wifiClient_AccessPointRef_t accessPointRef, le_wifiClient_SecurityProtocol_t securityProtocol)le_result_t le_wifiClient_Scan(void)le_result_t le_wifiClient_SetUserCredentials(le_wifiClient_AccessPointRef_t accessPointRef, const char *userName, const char *password)le_result_t le_wifiClient_Stop(void)int16_t le_wifiClient_GetSignalStrength(le_wifiClient_AccessPointRef_t accessPointRef)le_wifiClient_AccessPointRef_t le_wifiClient_Create(const uint8_t *SsidPtr, size_t SsidNumElements)WiFi Scan result for available Access Points available.Definition: le_wifiClient_interface.h:283