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 //--------------------------------------------------------------------------------------------------344 //--------------------------------------------------------------------------------------------------355 //--------------------------------------------------------------------------------------------------363 //--------------------------------------------------------------------------------------------------372 //--------------------------------------------------------------------------------------------------379 //--------------------------------------------------------------------------------------------------390 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------406 //--------------------------------------------------------------------------------------------------413 //--------------------------------------------------------------------------------------------------423 //--------------------------------------------------------------------------------------------------void le_wifiAp_DisconnectService(void)le_result_t le_wifiAp_Stop(void)struct le_wifiAp_NewEventHandler * le_wifiAp_NewEventHandlerRef_tDefinition: le_wifiAp_interface.h:214void le_wifiAp_SetServerDisconnectHandler(le_wifiAp_DisconnectHandler_t disconnectHandler, void *contextPtr)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)le_result_t le_wifiAp_SetSsid(const uint8_t *ssidPtr, size_t ssidSize)Client disconnected from WiFi Access Point.Definition: le_wifiAp_interface.h:188le_result_t le_wifiAp_SetMaxNumberOfClients(int8_t maxNumberOfClient)le_result_t le_wifiAp_SetIpRange(const char *ipAp, const char *ipStart, const char *ipStop)le_result_t le_wifiAp_SetDiscoverable(bool discoverable)void(* le_wifiAp_EventHandlerFunc_t)(le_wifiAp_Event_t event, void *contextPtr)Definition: le_wifiAp_interface.h:223le_result_t le_wifiAp_SetChannel(int8_t channelNumber)void le_wifiAp_ConnectService(void)void le_wifiAp_RemoveNewEventHandler(le_wifiAp_NewEventHandlerRef_t handlerRef)Client connected to WiFi Access Point.Definition: le_wifiAp_interface.h:186le_result_t le_wifiAp_SetPassPhrase(const char *passPhrase)WiFi Access Point is open and has no password.Definition: le_wifiAp_interface.h:201le_result_t le_wifiAp_SetPreSharedKey(const char *preSharedKey)void(* le_wifiAp_DisconnectHandler_t)(void *)Definition: le_wifiAp_interface.h:102le_result_t le_wifiAp_Start(void)le_result_t le_wifiAp_TryConnectService(void)