Change to wifi AP mode. SSID "GR-PEACH_1", PSK "12345"
Dependencies: DhcpServer EthernetInterface FATFileSystem GR-PEACH_WlanBP3595AP GR-PEACH_video GraphicsFramework HttpServer_snapshot R_BSP mbed-rpc mbed-rtos mbed
Fork of GR-Boards_WebCamera by
Diff: i2c_setting.h
- Revision:
- 7:c45ecff1b44d
- Parent:
- 5:34d84609dd60
diff -r 7ec90cc47dc4 -r c45ecff1b44d i2c_setting.h --- a/i2c_setting.h Mon Nov 02 01:11:12 2015 +0000 +++ b/i2c_setting.h Thu Dec 03 08:10:53 2015 +0000 @@ -21,29 +21,8 @@ #ifndef I2C_SETTING_H #define I2C_SETTING_H -//#define DEBUGPRINT_CFG - -#ifdef DEBUGPRINT_CFG -#define DEBUGPRINT printf -#else -#define DEBUGPRINT -#endif - +#define I2C_SETTING_STR_BUF_SIZE (150) -#define RECV_BUF_SIZE (1024) -#define DATA_ANALY_ERROR (-1) -#define REG_REQ_BUF_SIZE (7) -#define DATA_MAX_SIZE (32) -#define ARG_MAX_NUM (DATA_MAX_SIZE + 2) // I2C addr, len, data1, data2, data3, ... -#define ARG_MAX_SIZE (2) // upper bit + lower bit -#define NULL_SIZE (1) -#define CODE_NULL (0x00) -#define NUM_STR_TO_HEX (0x30) -#define BIG_STR_TO_HEX (0x37) -#define SMA_STR_TO_HEX (0x57) -#define MASK_HEX10 (0x10) - -extern void analy_and_exe(char * buf); -extern void SetI2CfromTerm(void const *argument); +extern bool i2c_setting_exe(char * buf); #endif