Demo apps : receive a string from a client and respond with a different string, TCP/IP client
Dependencies: CC3000_Hostdriver mbed
Functions | |
void | initLEDs (void) |
Turn all LEDs Off. | |
int | ConnectUsingSSID (char *ssidName) |
Connect to an Access Point using the specified SSID. | |
void | CC3000_UsynchCallback (long lEventType, char *data, unsigned char length) |
Handle asynchronous events from CC3000 device. | |
int | initDriver (void) |
Initialize a CC3000 device and triggers it to start operation. | |
char | highestCC3000State (void) |
Return the highest state which we're in. | |
char | currentCC3000State (void) |
Return the current state bits. | |
void | setCC3000MachineState (char stat) |
Sets a state from the state machine. | |
void | unsetCC3000MachineState (char stat) |
Unsets a state from the state machine. | |
void | resetCC3000StateMachine (void) |
Resets the State Machine. | |
tNetappIpconfigRetArgs * | getCC3000Info (void) |
Obtains the CC3000 Connection Information from the CC3000. | |
void | StartSmartConfig (void) |
Trigger a smart configuration process on CC3000. | |
Variables | |
DigitalOut | ledr |
CC3000 Functions. |
Function Documentation
void CC3000_UsynchCallback | ( | long | lEventType, |
char * | data, | ||
unsigned char | length | ||
) |
Handle asynchronous events from CC3000 device.
- Parameters:
-
lEventType Event type data length
- Returns:
- none
Definition at line 115 of file cc3000.cpp.
int ConnectUsingSSID | ( | char * | ssidName ) |
Connect to an Access Point using the specified SSID.
- Parameters:
-
ssidName is a string of the AP's SSID
- Returns:
- none
Definition at line 90 of file cc3000.cpp.
char currentCC3000State | ( | void | ) |
Return the current state bits.
- Parameters:
-
None
- Returns:
- none
Definition at line 262 of file cc3000.cpp.
tNetappIpconfigRetArgs* getCC3000Info | ( | void | ) |
Obtains the CC3000 Connection Information from the CC3000.
- Parameters:
-
None
- Returns:
- none
Definition at line 296 of file cc3000.cpp.
char highestCC3000State | ( | void | ) |
Return the highest state which we're in.
- Parameters:
-
None
- Returns:
- none
Definition at line 249 of file cc3000.cpp.
int initDriver | ( | void | ) |
Initialize a CC3000 device and triggers it to start operation.
- Parameters:
-
none
- Returns:
- none
Definition at line 155 of file cc3000.cpp.
void initLEDs | ( | void | ) |
void resetCC3000StateMachine | ( | void | ) |
void setCC3000MachineState | ( | char | stat ) |
Sets a state from the state machine.
- Parameters:
-
None
- Returns:
- none
Definition at line 268 of file cc3000.cpp.
void StartSmartConfig | ( | void | ) |
Trigger a smart configuration process on CC3000.
It exits upon completion of the process.
- Parameters:
-
None
- Returns:
- none
Definition at line 308 of file cc3000.cpp.
void unsetCC3000MachineState | ( | char | stat ) |
Unsets a state from the state machine.
Also handles LEDs.
- Parameters:
-
None
- Returns:
- none
Definition at line 274 of file cc3000.cpp.
Variable Documentation
DigitalOut ledr |
CC3000 Functions.
Generated on Wed Jul 13 2022 08:35:24 by 1.7.2