le_wifiAp_interface.h
Go to the documentation of this file.
66 * The WiFi Access Point is started with the function le_wifiAp_Start(). Unless values have been changed, default values will be used:97 //--------------------------------------------------------------------------------------------------101 //--------------------------------------------------------------------------------------------------104 //--------------------------------------------------------------------------------------------------107 * Connect the current client thread to the service providing this API. Block until the service is110 * For each thread that wants to use this API, either ConnectService or TryConnectService must be111 * called before any other functions in this API. Normally, ConnectService is automatically called116 //--------------------------------------------------------------------------------------------------122 //--------------------------------------------------------------------------------------------------125 * Try to connect the current client thread to the service providing this API. Return with an error128 * For each thread that wants to use this API, either ConnectService or TryConnectService must be129 * called before any other functions in this API. Normally, ConnectService is automatically called138 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).141 //--------------------------------------------------------------------------------------------------147 //--------------------------------------------------------------------------------------------------151 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants154 //--------------------------------------------------------------------------------------------------161 //--------------------------------------------------------------------------------------------------167 * longer a connection to the service, and the functions in this API can't be used. For details, see172 //--------------------------------------------------------------------------------------------------179 //--------------------------------------------------------------------------------------------------183 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------221 //--------------------------------------------------------------------------------------------------223 (230 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------246 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------257 //--------------------------------------------------------------------------------------------------260 * @note that all settings, if to be used, such as security, username, password must set prior to268 //--------------------------------------------------------------------------------------------------274 //--------------------------------------------------------------------------------------------------283 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------308 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------336 //--------------------------------------------------------------------------------------------------343 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------361 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------388 //--------------------------------------------------------------------------------------------------395 //--------------------------------------------------------------------------------------------------404 //--------------------------------------------------------------------------------------------------411 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------Client disconnected from WiFi Access Point.Definition: le_wifiAp_interface.h:188le_result_t le_wifiAp_SetIpRange(const char *LE_NONNULL ipAp, const char *LE_NONNULL ipStart, const char *LE_NONNULL ipStop)le_result_t le_wifiAp_SetSsid(const uint8_t *ssidPtr, size_t ssidSize)void le_wifiAp_SetServerDisconnectHandler(le_wifiAp_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_wifiAp_SetDiscoverable(bool discoverable)le_result_t le_wifiAp_Stop(void)WiFi Access Point is open and has no password.Definition: le_wifiAp_interface.h:201le_result_t le_wifiAp_TryConnectService(void)void le_wifiAp_ConnectService(void)void le_wifiAp_DisconnectService(void)void le_wifiAp_RemoveNewEventHandler(le_wifiAp_NewEventHandlerRef_t handlerRef)le_result_t le_wifiAp_SetPassPhrase(const char *LE_NONNULL passPhrase)le_result_t le_wifiAp_Start(void)struct le_wifiAp_NewEventHandler * le_wifiAp_NewEventHandlerRef_tDefinition: le_wifiAp_interface.h:214Client connected to WiFi Access Point.Definition: le_wifiAp_interface.h:186le_result_t le_wifiAp_SetMaxNumberOfClients(int8_t maxNumberOfClient)le_wifiAp_NewEventHandlerRef_t le_wifiAp_AddNewEventHandler(le_wifiAp_EventHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_wifiAp_SetSecurityProtocol(le_wifiAp_SecurityProtocol_t securityProtocol)void(* le_wifiAp_EventHandlerFunc_t)(le_wifiAp_Event_t event, void *contextPtr)Definition: le_wifiAp_interface.h:223void(* le_wifiAp_DisconnectHandler_t)(void *)Definition: le_wifiAp_interface.h:102le_result_t le_wifiAp_SetPreSharedKey(const char *LE_NONNULL preSharedKey)le_result_t le_wifiAp_SetChannel(int8_t channelNumber)