le_wifiAp_interface.h
Go to the documentation of this file.
74 * The WiFi Access Point is started with the function le_wifiAp_Start(). Unless values have been changed, default values will be used:110 //--------------------------------------------------------------------------------------------------114 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------120 * Connect the current client thread to the service providing this API. Block until the service is123 * For each thread that wants to use this API, either ConnectService or TryConnectService must be124 * called before any other functions in this API. Normally, ConnectService is automatically called129 //--------------------------------------------------------------------------------------------------135 //--------------------------------------------------------------------------------------------------138 * Try to connect the current client thread to the service providing this API. Return with an error141 * For each thread that wants to use this API, either ConnectService or TryConnectService must be142 * called before any other functions in this API. Normally, ConnectService is automatically called151 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).154 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------164 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants167 //--------------------------------------------------------------------------------------------------174 //--------------------------------------------------------------------------------------------------180 * longer a connection to the service, and the functions in this API can't be used. For details, see185 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------196 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------203 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------210 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------217 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------224 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------243 //--------------------------------------------------------------------------------------------------247 //--------------------------------------------------------------------------------------------------254 //--------------------------------------------------------------------------------------------------257 * @note that all settings, if to be used, such as security, username, password must set prior to265 //--------------------------------------------------------------------------------------------------271 //--------------------------------------------------------------------------------------------------280 //--------------------------------------------------------------------------------------------------286 //--------------------------------------------------------------------------------------------------296 //--------------------------------------------------------------------------------------------------305 //--------------------------------------------------------------------------------------------------315 //--------------------------------------------------------------------------------------------------322 //--------------------------------------------------------------------------------------------------333 //--------------------------------------------------------------------------------------------------340 //--------------------------------------------------------------------------------------------------351 //--------------------------------------------------------------------------------------------------358 //--------------------------------------------------------------------------------------------------367 //--------------------------------------------------------------------------------------------------374 //--------------------------------------------------------------------------------------------------384 //--------------------------------------------------------------------------------------------------391 //--------------------------------------------------------------------------------------------------401 //--------------------------------------------------------------------------------------------------408 //--------------------------------------------------------------------------------------------------421 //--------------------------------------------------------------------------------------------------428 //--------------------------------------------------------------------------------------------------438 //--------------------------------------------------------------------------------------------------445 //--------------------------------------------------------------------------------------------------454 //--------------------------------------------------------------------------------------------------461 //--------------------------------------------------------------------------------------------------471 //--------------------------------------------------------------------------------------------------void(* le_wifiAp_EventHandlerFunc_t)(le_wifiAp_Event_t event, void *contextPtr)Definition: le_wifiAp_common.h:93void le_wifiAp_ConnectService(void)le_result_t le_wifiAp_SetIpRange(const char *LE_NONNULL ipAp, const char *LE_NONNULL ipStart, const char *LE_NONNULL ipStop)void(* le_wifiAp_DisconnectHandler_t)(void *)Definition: le_wifiAp_interface.h:115le_result_t le_wifiAp_SetCountryCode(const char *LE_NONNULL countryCode)struct le_wifiAp_NewEventHandler * le_wifiAp_NewEventHandlerRef_tDefinition: le_wifiAp_common.h:84le_wifiAp_NewEventHandlerRef_t le_wifiAp_AddNewEventHandler(le_wifiAp_EventHandlerFunc_t handlerPtr, void *contextPtr)LE_FULL_API void le_wifiAp_SetServerDisconnectHandler(le_wifiAp_DisconnectHandler_t disconnectHandler, void *contextPtr)void le_wifiAp_DisconnectService(void)le_result_t le_wifiAp_Stop(void)le_result_t le_wifiAp_SetMaxNumberOfClients(int8_t maxNumberOfClient)le_result_t le_wifiAp_SetDiscoverable(bool discoverable)le_result_t le_wifiAp_SetSecurityProtocol(le_wifiAp_SecurityProtocol_t securityProtocol)le_result_t le_wifiAp_SetPassPhrase(const char *LE_NONNULL passPhrase)le_result_t le_wifiAp_Start(void)le_result_t le_wifiAp_SetPreSharedKey(const char *LE_NONNULL preSharedKey)le_result_t le_wifiAp_TryConnectService(void)le_result_t le_wifiAp_SetIeeeStandard(le_wifiAp_IeeeStdBitMask_t stdMask)le_result_t le_wifiAp_SetSsid(const uint8_t *ssidPtr, size_t ssidSize)void le_wifiAp_RemoveNewEventHandler(le_wifiAp_NewEventHandlerRef_t handlerRef)le_result_t le_wifiAp_SetChannel(uint16_t channelNumber)le_result_t le_wifiAp_GetIeeeStandard(le_wifiAp_IeeeStdBitMask_t *stdMaskPtrPtr)