Data types for web setup. More...
Typedefs | |
typedef void(* | zos_setup_client_event_t) (const zos_softap_client_t *client) |
Setup client event handler prototype. More... | |
typedef void(* | zos_setup_finished_event_t) (void *unused) |
Setup finished event handler. More... | |
Enumerations | |
enum | setup_os_type_t { SETUP_OS_INVALID, SETUP_OS_UNKNOWN, SETUP_OS_WINDOWS, SETUP_OS_WINDOWS_MOBILE, SETUP_OS_ANDROID, SETUP_OS_LINUX, SETUP_OS_CHROME, SETUP_OS_IPHONE, SETUP_OS_IPOD, SETUP_OS_IPAD, SETUP_OS_MAC, SETUP_OS_BLACKBERRY, SETUP_OS_SYMBIAN } |
The setup client's operating system type. More... | |
Detailed Description
Data types for web setup.
Typedef Documentation
typedef void(* zos_setup_client_event_t) (const zos_softap_client_t *client) |
Setup client event handler prototype.
This handler is registered with zn_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 zos_softap_client_t contains the client's operating system type, setup_os_type_t. When first connecting the OS type is SETUP_OS_INVALID. Once the client connects to the HTTP server, the OS type is determined.
- Parameters
-
info
Struct contain information about client. zos_softap_client_t
typedef void(* zos_setup_finished_event_t) (void *unused) |
Setup finished event handler.
This is call when web setup finishes. Refer to zn_setup_register_finished_event_handler()
- Parameters
-
unused
Not used
Enumeration Type Documentation
enum 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 SETUP_OS_INVALID until the client connects.