Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
Methods for reading & writing data from/to http://goHACK.me. More...
Functions | |
| WiconnectResult | ghmRead (const char *controlName, const char **valueStrPtr) |
| Read control data from http://goHACK.me. | |
| WiconnectResult | ghmRead (const char *controlName, uint32_t *valueIntPtr) |
| Read control data from http://goHACK.me. | |
| WiconnectResult | ghmRead (const char *controlName, char *valueBuffer, uint16_t valueBufferLen) |
| Read control data from http://goHACK.me. | |
| WiconnectResult | ghmWrite (const char *elementName, const char *strValue) |
| Write stream or control data to http://goHACK.me. | |
| WiconnectResult | ghmWrite (const char *elementName, uint32_t uintValue) |
| Write stream or control data to http://goHACK.me. | |
| WiconnectResult | ghmWrite (const char *elementName, int32_t intValue) |
| Write stream or control data to http://goHACK.me. | |
| WiconnectResult | ghmWrite (const GhmElementArray *elementArray) |
| Write stream or control data to http://goHACK.me. | |
| WiconnectResult | ghmSynchronize (GhmSyncType type=GHM_SYNC_ALL) |
| Synchronize WiFi module with http://goHACK.me. | |
Detailed Description
Methods for reading & writing data from/to http://goHACK.me.
Function Documentation
| WiconnectResult ghmRead | ( | const char * | controlName, |
| const char ** | valueStrPtr | ||
| ) | [inherited] |
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 ghmRead | ( | const char * | controlName, |
| uint32_t * | valueIntPtr | ||
| ) | [inherited] |
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 ghmRead | ( | const char * | controlName, |
| char * | valueBuffer, | ||
| uint16_t | valueBufferLen | ||
| ) | [inherited] |
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 ghmSynchronize | ( | GhmSyncType | type = GHM_SYNC_ALL ) |
[inherited] |
Synchronize WiFi module with http://goHACK.me.
- Note:
- The WiFi module must first be activated. See ghmActivate()
- Parameters:
-
[in] type Type of synchronization. See GhmSyncType
- Returns:
- Result of method. See WiconnectResult
| WiconnectResult ghmWrite | ( | const char * | elementName, |
| uint32_t | uintValue | ||
| ) | [inherited] |
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 ghmWrite | ( | const char * | elementName, |
| const char * | strValue | ||
| ) | [inherited] |
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 ghmWrite | ( | const GhmElementArray * | elementArray ) | [inherited] |
Write stream or control data to http://goHACK.me.
- Note:
- The WiFi module must first be activated. See ghmActivate()
- Parameters:
-
[in] elementArray Array of stream and/or control values to send to http://goHACK.me
- Returns:
- Result of method. See WiconnectResult
| WiconnectResult ghmWrite | ( | const char * | elementName, |
| int32_t | intValue | ||
| ) | [inherited] |
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
Generated on Tue Jul 12 2022 17:35:59 by
1.7.2
AMW006-A02