le_wifiAp_interface.h
Go to the documentation of this file.
64 * The WiFi Access Point is started with the function le_wifiAp_Start(). Unless values have been changed, default values will be used:95 //--------------------------------------------------------------------------------------------------98 * Connect the current client thread to the service providing this API. Block until the service is101 * For each thread that wants to use this API, either ConnectService or TryConnectService must be102 * called before any other functions in this API. Normally, ConnectService is automatically called107 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------116 * Try to connect the current client thread to the service providing this API. Return with an error119 * For each thread that wants to use this API, either ConnectService or TryConnectService must be120 * called before any other functions in this API. Normally, ConnectService is automatically called127 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.128 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).131 //--------------------------------------------------------------------------------------------------137 //--------------------------------------------------------------------------------------------------143 * longer a connection to the service, and the functions in this API can't be used. For details, see148 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------159 //--------------------------------------------------------------------------------------------------171 //--------------------------------------------------------------------------------------------------175 //--------------------------------------------------------------------------------------------------187 //--------------------------------------------------------------------------------------------------191 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------205 (210 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------226 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------237 //--------------------------------------------------------------------------------------------------240 * @note that all settings, if to be used, such as security, username, password must set prior to248 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------263 //--------------------------------------------------------------------------------------------------269 //--------------------------------------------------------------------------------------------------279 //--------------------------------------------------------------------------------------------------289 //--------------------------------------------------------------------------------------------------299 //--------------------------------------------------------------------------------------------------306 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------325 //--------------------------------------------------------------------------------------------------336 //--------------------------------------------------------------------------------------------------343 //--------------------------------------------------------------------------------------------------352 //--------------------------------------------------------------------------------------------------359 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------377 //--------------------------------------------------------------------------------------------------386 //--------------------------------------------------------------------------------------------------393 //--------------------------------------------------------------------------------------------------403 //--------------------------------------------------------------------------------------------------void le_wifiAp_DisconnectService(void)le_result_t le_wifiAp_Stop(void)struct le_wifiAp_NewEventHandler * le_wifiAp_NewEventHandlerRef_tDefinition: le_wifiAp_interface.h:192le_wifiAp_NewEventHandlerRef_t le_wifiAp_AddNewEventHandler(le_wifiAp_EventHandlerFunc_t handlerPtr, void *contextPtr)le_result_t le_wifiAp_SetSecurityProtocol(le_wifiAp_SecurityProtocol_t securityProtocol)Client disconnected from WiFi Access Point.Definition: le_wifiAp_interface.h:165le_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)le_result_t le_wifiAp_SetChannel(int8_t channelNumber)void le_wifiAp_ConnectService(void)Client connected to WiFi Access Point.Definition: le_wifiAp_interface.h:162le_result_t le_wifiAp_SetSsid(const uint8_t *ssidPtr, size_t ssidNumElements)le_result_t le_wifiAp_SetPassPhrase(const char *passPhrase)void le_wifiAp_RemoveNewEventHandler(le_wifiAp_NewEventHandlerRef_t addHandlerRef)void(* le_wifiAp_EventHandlerFunc_t)(le_wifiAp_Event_t event, void *contextPtr)Definition: le_wifiAp_interface.h:205WiFi Access Point is open and has no password.Definition: le_wifiAp_interface.h:178le_result_t le_wifiAp_SetPreSharedKey(const char *preSharedKey)le_result_t le_wifiAp_Start(void)le_result_t le_wifiAp_TryConnectService(void)