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...
 

Enumerations

enum  gos_setup_os_type_t {
  GOS_SETUP_OS_INVALID,
  GOS_SETUP_OS_UNKNOWN,
  GOS_SETUP_OS_WINDOWS,
  GOS_SETUP_OS_WINDOWS_MOBILE,
  GOS_SETUP_OS_ANDROID,
  GOS_SETUP_OS_LINUX,
  GOS_SETUP_OS_CHROME,
  GOS_SETUP_OS_IPHONE,
  GOS_SETUP_OS_IPOD,
  GOS_SETUP_OS_IPAD,
  GOS_SETUP_OS_MAC,
  GOS_SETUP_OS_BLACKBERRY,
  GOS_SETUP_OS_SYMBIAN
}
 

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
infoStruct contain information about client. gos_softap_client_t

Enumeration Type Documentation

◆ 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.

Enumerator
GOS_SETUP_OS_INVALID 

GOS_SETUP_OS_INVALID.

GOS_SETUP_OS_UNKNOWN 

GOS_SETUP_OS_UNKNOWN.

GOS_SETUP_OS_WINDOWS 

GOS_SETUP_OS_WINDOWS.

GOS_SETUP_OS_WINDOWS_MOBILE 

GOS_SETUP_OS_WINDOWS_MOBILE.

GOS_SETUP_OS_ANDROID 

GOS_SETUP_OS_ANDROID.

GOS_SETUP_OS_LINUX 

GOS_SETUP_OS_LINUX.

GOS_SETUP_OS_CHROME 

GOS_SETUP_OS_CHROME.

GOS_SETUP_OS_IPHONE 

GOS_SETUP_OS_IPHONE.

GOS_SETUP_OS_IPOD 

GOS_SETUP_OS_IPOD.

GOS_SETUP_OS_IPAD 

GOS_SETUP_OS_IPAD.

GOS_SETUP_OS_MAC 

GOS_SETUP_OS_MAC.

GOS_SETUP_OS_BLACKBERRY 

GOS_SETUP_OS_BLACKBERRY.

GOS_SETUP_OS_SYMBIAN 

GOS_SETUP_OS_SYMBIAN.