#include <ctype.h>
#include "driver/include/m2m_types.h"
Data Structures | |
struct | _io1_board_info |
structure of io1_board information. More... | |
Macros | |
#define | IO1_BOARD_ID_LENGTH_MAX 100 |
#define | IO1_BOARD_PASSWORD_LENGTH_MAX 100 |
#define | IO1_BOARD_SERIAL_NUMBER_LENGTH_MAX 100 |
#define | IO1_BOARD_SSID_LENGTH_MAX 100 |
#define | IO1_BOARD_VENDOR_LENGTH_MAX 50 |
Typedefs | |
typedef struct _io1_board_info | io1_board_info |
structure of io1_board information. More... | |
Functions | |
io1_board_info * | io1_board_get_info (void) |
int | io1_board_get_lightvalue (void) |
int | io1_board_get_temperature (void) |
bool | io1_board_init (void) |
void | io1_board_prepare_to_get_info (void) |
void | io1_board_reset_cik_value (void) |
bool | io1_board_save_cik_value_to_sd (char *pbuf) |
void | io1_board_set_led (bool on) |
#define IO1_BOARD_ID_LENGTH_MAX 100 |
#define IO1_BOARD_PASSWORD_LENGTH_MAX 100 |
#define IO1_BOARD_SERIAL_NUMBER_LENGTH_MAX 100 |
#define IO1_BOARD_SSID_LENGTH_MAX 100 |
#define IO1_BOARD_VENDOR_LENGTH_MAX 50 |
typedef struct _io1_board_info io1_board_info |
structure of io1_board information.
io1_board_info* io1_board_get_info | ( | void | ) |
Send the request token
Get the extension boards info
Check and show info
show extension board info
References _decode_board_info(), _load_setting_from_sd(), i2c_master_packet::address, i2c_master_packet::data, i2c_master_packet::data_length, DEBUG, DEBUG_CONF_IO1_BOARD, DEBUG_EOL, dev_inst_at30tse75x, EDBG_ADDRESS, EDBG_EXTEN_BOARDS_TOKEN, extension_map, g_info, i2c_master_packet::high_speed, i2c_master_packet::hs_master_code, i, i2c_master_read_packet_wait(), i2c_master_write_packet_wait_no_stop(), j, NULL, read_buffer, STATUS_OK, and i2c_master_packet::ten_bit_address.
Referenced by main().
int io1_board_get_lightvalue | ( | void | ) |
References adc_instance, adc_read(), DEBUG, DEBUG_CONF_IO1_BOARD, DEBUG_EOL, and STATUS_OK.
Referenced by main().
int io1_board_get_temperature | ( | void | ) |
References at30tse_read_temperature().
Referenced by main().
bool io1_board_init | ( | void | ) |
References _lightsensor_init(), _sd_init(), at30tse_init(), port_config::direction, port_get_config_defaults(), PORT_PIN_DIR_OUTPUT, and port_pin_set_config().
Referenced by main().
void io1_board_prepare_to_get_info | ( | void | ) |
References adc_instance, and adc_start_conversion().
Referenced by main().
void io1_board_reset_cik_value | ( | void | ) |
References _io1_board_info::cik, and _io1_board_info::is_activate.
Referenced by parsing_http_response_data().
bool io1_board_save_cik_value_to_sd | ( | char * | pbuf | ) |
References _save_setting_to_sd(), _io1_board_info::cik, and _io1_board_info::is_activate.
Referenced by parsing_http_response_data().
void io1_board_set_led | ( | bool | on | ) |
References port_pin_set_output_level().
Referenced by parsing_http_response_data().