CC3000 test App

Dependencies:   CC3000HostDriver mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers CC3000TestApp.h Source File

CC3000TestApp.h

00001 #ifndef CC3000TestApp_H
00002 #define CC3000TestApp_H
00003 
00004 //*****************************************************************************
00005 //
00006 // If building with a C++ compiler, make all of the definitions in this header
00007 // have a C binding.
00008 //
00009 //*****************************************************************************
00010 #ifdef  __cplusplus
00011 extern "C" {
00012 #endif
00013 
00014 extern void AsyncEventPrint(void);
00015 extern void IntSpi(void);
00016 extern void ManualConnect(void);
00017 extern void ManualAddProfile(void);
00018 extern void PrintIPBytes(unsigned char *ipBytes);
00019 extern void ShowInformation(void);
00020 extern void ListAccessPoints(void);
00021 extern void turnLedOn(char ledNum);
00022 extern void turnLedOff(char ledNum);
00023 extern void toggleLed(char ledNum);
00024 
00025 typedef enum
00026 {
00027     //NO_LED_IND = NO_LED,
00028     CC3000_ON_IND = 1,
00029     CC3000_ASSOCIATED_IND = 2,
00030     CC3000_IP_ALLOC_IND = 3,
00031     CC3000_SERVER_INIT_IND = 4,
00032     CC3000_CLIENT_CONNECTED_IND = 1,
00033     CC3000_SENDING_DATA_IND = 4,
00034     CC3000_UNUSED1_IND = 7,
00035     CC3000_FTC_IND = 8
00036 } ledNames;
00037 
00038 //*****************************************************************************
00039 //
00040 // Mark the end of the C bindings section for C++ compilers.
00041 //
00042 //*****************************************************************************
00043 #ifdef  __cplusplus
00044 }
00045 #endif // __cplusplus
00046 
00047 #endif