Methods for reading & writing data from/to http://goHACK.me.
More...
Methods for reading & writing data from/to http://goHACK.me.
WiconnectResult wiconnect::GhmInterface::ghmRead |
( |
const char * |
controlName, |
|
|
const char ** |
valueStrPtr |
|
) |
| |
Read control data from http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | controlName | The name of the control in the activated capabilities file. |
[in] | valueStrPtr | Pointer to pointer to hold control's string value |
- Returns
- Result of method. See WiconnectResult
WiconnectResult wiconnect::GhmInterface::ghmRead |
( |
const char * |
controlName, |
|
|
uint32_t * |
valueIntPtr |
|
) |
| |
Read control data from http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | controlName | The name of the control in the activated capabilities file. |
[in] | valueIntPtr | Pointer hold control's integer value |
- Returns
- Result of method. See WiconnectResult
WiconnectResult wiconnect::GhmInterface::ghmRead |
( |
const char * |
controlName, |
|
|
char * |
valueBuffer, |
|
|
uint16_t |
valueBufferLen |
|
) |
| |
Read control data from http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | controlName | The name of the control in the activated capabilities file. |
[in] | valueBuffer | Buffer to hold control's string value |
[in] | valueBufferLen | Length of valueBuffer |
- Returns
- Result of method. See WiconnectResult
WiconnectResult wiconnect::GhmInterface::ghmWrite |
( |
const char * |
elementName, |
|
|
const char * |
strValue |
|
) |
| |
Write stream or control data to http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | elementName | The name of the control or stream in the activated capabilities file. |
[in] | strValue | String value of control or stream |
- Returns
- Result of method. See WiconnectResult
WiconnectResult wiconnect::GhmInterface::ghmWrite |
( |
const char * |
elementName, |
|
|
uint32_t |
uintValue |
|
) |
| |
Write stream or control data to http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | elementName | The name of the control or stream in the activated capabilities file. |
[in] | uintValue | Unsigned integer value of control or stream |
- Returns
- Result of method. See WiconnectResult
WiconnectResult wiconnect::GhmInterface::ghmWrite |
( |
const char * |
elementName, |
|
|
int32_t |
intValue |
|
) |
| |
Write stream or control data to http://goHACK.me.
- Note
- The WiFi module must first be activated. See ghmActivate()
- Parameters
-
[in] | elementName | The name of the control or stream in the activated capabilities file. |
[in] | intValue | signed integer value of control or stream |
- Returns
- Result of method. See WiconnectResult