Embedded Artists Bluetooth QuickStart Kit User Manual page 44

Version 1.0
Table of Contents

Advertisement

Bluetooth QuickStart Kit Version 1.0 - User's Guide
B.3 Web Server API
B.3.1 m_get_request_method
The macro m_get_request_method is defined as:
#define m_get_request_method( pConn ) func( pConn )
Where func is a function with the following prototype:
tU8* func( tConnect* pConn )
Get the request method (e.g. "GET") for a specific connection and request.
Parameters:
[in] pConn - control block for the connection.
Returns:
The request method or NULL if none available.
B.3.2 m_get_server_protocol
The macro m_get_server_protocol is defined as:
#define m_get_server_protocol( pConn ) func( pConn )
Where func is a function with the following prototype:
tU8* func( tConnect* pConn )
Get the server protocol (e.g. "HTTP/1.0") used for a specific connection and request.
Parameters:
[in] pConn - control block for the connection.
Returns:
The server protocol or NULL if none available.
B.3.3 m_get_document_uri
The macro m_get_document_uri is defined as:
#define m_get_document_uri( pConn ) func( pConn )
Where func is a function with the following prototype:
tU8* func( tConnect* pConn )
Get the document URI (e.g. "/page.html") for a specific connection and request.
Parameters:
[in] pConn - control block for the connection.
Returns:
The document URI or NULL if none available.
B.3.4 m_get_query_string
The macro m_get_query_string is defined as:
Copyright 2004-2005 © Embedded Artists AB
Page 44

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Bluetooth QuickStart Kit and is the answer not in the manual?

Table of Contents