![]() |
WE310F5
39.00.000
|
HTTP Server cfg structure. More...
#include <m2mb_profile.h>
Data Fields | |
CHAR | interface_Name [9] |
UINT8 | mode |
UINT16 | http_port |
UINT16 | https_port |
UINT8 | family |
CHAR | server_name [33] |
UINT8 | authentication |
CHAR | cert_file [33] |
CHAR | username [33] |
CHAR | password [33] |
HTTP Server cfg structure.
HTTP Server cfg structure.
Definition at line 726 of file m2mb_profile.h.
UINT8 authentication |
Set it to 1 to enable username authentication, else set it to 0
Definition at line 741 of file m2mb_profile.h.
CHAR cert_file[33] |
Certificate file name
Definition at line 743 of file m2mb_profile.h.
UINT8 family |
Run in IPv4 only (AF_INET), IPv6 only (AF_INET6), or both (AF_INET_DUAL46).
Definition at line 737 of file m2mb_profile.h.
UINT16 http_port |
Listening port of the HTTP server. If 0, the server will listen on port 80.
Definition at line 733 of file m2mb_profile.h.
UINT16 https_port |
Listening port of the HTTPS server. If 0, the server will listen on port 443.
Definition at line 735 of file m2mb_profile.h.
CHAR interface_Name[9] |
Network interface to bind, e.g., wlan1. If not specified, the server will bind to every network interface.
Definition at line 728 of file m2mb_profile.h.
UINT8 mode |
Supports (nonsecure) HTTP only, HTTPS only, or both.
Definition at line 731 of file m2mb_profile.h.
CHAR password[33] |
Password for authentication
Definition at line 747 of file m2mb_profile.h.
CHAR server_name[33] |
Value in the server response header field. If NULL, the default is Telit WebServer 1.0.
Definition at line 739 of file m2mb_profile.h.
CHAR username[33] |
Username for authentication
Definition at line 745 of file m2mb_profile.h.