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:106 //--------------------------------------------------------------------------------------------------110 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------116 * Connect the current client thread to the service providing this API. Block until the service is119 * 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 called125 //--------------------------------------------------------------------------------------------------131 //--------------------------------------------------------------------------------------------------134 * Try to connect the current client thread to the service providing this API. Return with an error137 * For each thread that wants to use this API, either ConnectService or TryConnectService must be138 * called before any other functions in this API. Normally, ConnectService is automatically called147 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).150 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------160 * When a server connection is lost, call this handler then exit with LE_FATAL. If a program wants163 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------176 * longer a connection to the service, and the functions in this API can't be used. For details, see181 //--------------------------------------------------------------------------------------------------188 //--------------------------------------------------------------------------------------------------192 //--------------------------------------------------------------------------------------------------195 //--------------------------------------------------------------------------------------------------199 //--------------------------------------------------------------------------------------------------202 //--------------------------------------------------------------------------------------------------206 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------213 //--------------------------------------------------------------------------------------------------216 //--------------------------------------------------------------------------------------------------220 //--------------------------------------------------------------------------------------------------223 //--------------------------------------------------------------------------------------------------230 //--------------------------------------------------------------------------------------------------239 //--------------------------------------------------------------------------------------------------243 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------253 * @note that all settings, if to be used, such as security, username, password must set prior to261 //--------------------------------------------------------------------------------------------------267 //--------------------------------------------------------------------------------------------------276 //--------------------------------------------------------------------------------------------------282 //--------------------------------------------------------------------------------------------------292 //--------------------------------------------------------------------------------------------------301 //--------------------------------------------------------------------------------------------------311 //--------------------------------------------------------------------------------------------------318 //--------------------------------------------------------------------------------------------------329 //--------------------------------------------------------------------------------------------------336 //--------------------------------------------------------------------------------------------------347 //--------------------------------------------------------------------------------------------------354 //--------------------------------------------------------------------------------------------------363 //--------------------------------------------------------------------------------------------------370 //--------------------------------------------------------------------------------------------------380 //--------------------------------------------------------------------------------------------------387 //--------------------------------------------------------------------------------------------------397 //--------------------------------------------------------------------------------------------------404 //--------------------------------------------------------------------------------------------------417 //--------------------------------------------------------------------------------------------------424 //--------------------------------------------------------------------------------------------------434 //--------------------------------------------------------------------------------------------------441 //--------------------------------------------------------------------------------------------------450 //--------------------------------------------------------------------------------------------------457 //--------------------------------------------------------------------------------------------------467 //--------------------------------------------------------------------------------------------------le_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)le_result_t le_wifiAp_SetDiscoverable(bool discoverable)le_result_t le_wifiAp_SetChannel(uint16_t channelNumber)le_result_t le_wifiAp_Stop(void)le_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_GetIeeeStandard(le_wifiAp_IeeeStdBitMask_t *stdMaskPtrPtr)le_result_t le_wifiAp_Start(void)le_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)LE_FULL_API void le_wifiAp_SetServerDisconnectHandler(le_wifiAp_DisconnectHandler_t disconnectHandler, void *contextPtr)le_result_t le_wifiAp_SetCountryCode(const char *LE_NONNULL countryCode)void(* le_wifiAp_DisconnectHandler_t)(void *)Definition: le_wifiAp_interface.h:111le_result_t le_wifiAp_SetPreSharedKey(const char *LE_NONNULL preSharedKey)le_result_t le_wifiAp_SetIeeeStandard(le_wifiAp_IeeeStdBitMask_t stdMask)