Data types for web setup. More...
Typedefs |
|
typedef void(* | gos_setup_client_event_t ) (const gos_softap_client_t *client) |
Setup client event handler prototype.
More...
|
|
Detailed Description
Data types for web setup.
Typedef Documentation
◆ gos_setup_client_event_t
typedef void(* gos_setup_client_event_t) (const gos_softap_client_t *client) |
Setup client event handler prototype.
This handler is registered with gos_setup_register_client_event_handler() . This handler is called when a client connects to the setup softap AND when the client connects to the HTTP server.
The 'additional' member of gos_softap_client_t contains the client's operating system type, gos_setup_os_type_t . When first connecting the OS type is GOS_SETUP_OS_INVALID . Once the client connects to the HTTP server, the OS type is determined.
- Parameters
-
info
Struct contain information about client. gos_softap_client_t
Enumeration Type Documentation
◆ gos_setup_os_type_t
enum gos_setup_os_type_t |
The setup client's operating system type
The OS is supplied by the client when it connects to the device's HTTP server. A client's OS type is GOS_SETUP_OS_INVALID until the client connects.