EVB-PIC24 WIZnet, EVB-PIC24 Datasheet - Page 68

no-image

EVB-PIC24

Manufacturer Part Number
EVB-PIC24
Description
Development Boards & Kits - PIC / DSPIC W3150A+EVAL BOARD BASED ON PIC24
Manufacturer
WIZnet
Datasheet

Specifications of EVB-PIC24

Rohs
yes
Product
Development Kits
Interface Type
RS-232
Data Bus Width
16 bit
Dimensions
50 mm x 40 mm
„st_http_request‟ Date Type which is defined in <Table 3-31>. It gets the requested URI Type with
get_http_uri_type().
#define MAX_URI_SIZE
typedef struct _st_http_request
{
}st_http_request;
nexttok = strtok(buf,SP)
parse_http_request()
Get a Method Token
request->method =
nexttok == NULL
METHOD_GET
u_char METHOD;
u_char TYPE;
char
N
GET
Y
© Copyright 2006 WIZnet Co., Inc. All rights reserved.
URI[MAX_URI_SIZE];
N
Copy nexttok to request->URI
Get a Request-URI Token
nexttok = strtok(NULL,SP)
Y
<Table 3-30: “st_http_request” Data>
request->method =
<Fig 3.20: parse_http_request()>
nexttok == NULL
(2048 - sizeof(char)*2)
METHOD_HEAD
HEAD
Y
N
N
/* request method(METHOD_GET...). */
/* request type(PTYPE_HTML...).
/* request file name.
Y
request->method =
METHOD_POST
Y
POST
request->method =
METHOD_ERR
N
RETURN
*/
*/
58

Related parts for EVB-PIC24