David Fletcher / Mbed 2 deprecated CC3000WebServer

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Handlers methods requested by HttpDynamic module

Handlers methods requested by HttpDynamic module

This module implements methods requested by HttpDynamic module. More...

Functions

void HttpDynamicHandler_ActOnLED (inputParams uLedInParams, outputParams *uLedOutParams)
 This function applies an operation on a LED.
void HttpDynamicHandler_GetWheelValue (inputParams uWheelInParams, outputParams *uWheelOutParams)
 This function gets a temperature reading.

Detailed Description

This module implements methods requested by HttpDynamic module.

Note this module is only compiled if HTTP_CORE_ENABLE_DYNAMIC is defined in HttpConfig.h


Function Documentation

void HttpDynamicHandler_ActOnLED ( inputParams  uLedInParams,
outputParams *  uLedOutParams 
)

This function applies an operation on a LED.

It is assumed that the parameters are ordered as denoted below.

Parameters:
uLedParamsIncludes the LED parameters: LED number and LED action
Returns:
no return value

It is assumed that the parameters are ordered as denoted below.

Parameters:
uLedInParamsIncludes the LED parameters: LED number and LED action
uLedOutParamsNA. No return parameter is expected.
Returns:
no return value

Definition at line 64 of file HttpDynamicHandler.cpp.

void HttpDynamicHandler_GetWheelValue ( inputParams  uWheelInParams,
outputParams *  uWheelOutParams 
)

This function gets a temperature reading.

Parameters:
uTempInParamsDenotes the temerature units, Celsius or Fahrenheit
uTempOutParamsDenotes the temerature value
Returns:
no return value

Definition at line 89 of file HttpDynamicHandler.cpp.