Macros | |
#define | M2M_DBG(...) |
#define | M2M_ERR(...) |
#define | M2M_ERR(...) do{CONF_WINC_PRINTF("(APP)(ERR)[%s][%d]",__FUNCTION__,__LINE__); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define | M2M_INFO(...) |
#define | M2M_INFO(...) do{CONF_WINC_PRINTF("(APP)(INFO)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define | M2M_LOG_DBG 4 |
#define | M2M_LOG_ERROR 1 |
#define | M2M_LOG_INFO 2 |
#define | M2M_LOG_LEVEL M2M_LOG_REQ |
#define | M2M_LOG_NONE 0 |
#define | M2M_LOG_REQ 3 |
#define | M2M_PRINT(...) |
#define | M2M_PRINT(...) do{CONF_WINC_PRINTF(__VA_ARGS__);}while(0) |
#define | M2M_REQ(...) |
#define | M2M_REQ(...) do{CONF_WINC_PRINTF("(APP)(R)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define M2M_DBG | ( | ... | ) |
Referenced by hif_send(), m2m_ip_cb(), nmi_get_otp_mac_address(), Socket_ReadSocketData(), wait_for_bootrom(), and wait_for_firmware_start().
#define M2M_ERR | ( | ... | ) |
Referenced by chip_deinit(), chip_wake(), hif_handle_isr(), hif_isr(), hif_receive(), hif_register_cb(), hif_send(), m2m_ota_cb(), m2m_ota_host_file_get(), m2m_ota_host_file_read_spi(), m2m_ota_init(), m2m_ssl_cb(), m2m_ssl_init(), m2m_validate_ap_parameters(), m2m_validate_scan_options(), m2m_wifi_cb(), m2m_wifi_init_start(), m2m_wifi_p2p(), m2m_wifi_prng_get_random_bytes(), m2m_wifi_req_client_ctrl(), m2m_wifi_req_server_init(), m2m_wifi_start_provision_mode_ext(), nm_bus_init(), nm_bus_ioctl(), nm_drv_deinit(), nm_drv_init_download_mode(), nm_drv_init_hold(), nm_drv_init_start(), nm_i2c_read_block(), nm_i2c_read_reg_with_ret(), nm_i2c_write_block(), nm_i2c_write_reg(), spi_flash_get_size(), spi_flash_write(), and sslSetSockOpt().
#define M2M_ERR | ( | ... | ) | do{CONF_WINC_PRINTF("(APP)(ERR)[%s][%d]",__FUNCTION__,__LINE__); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define M2M_INFO | ( | ... | ) |
Referenced by close(), hif_send(), m2m_ota_cb(), m2m_ota_host_file_get(), m2m_ssl_send_certs_to_winc(), m2m_wifi_cb(), m2m_wifi_init_start(), m2m_wifi_set_sleep_mode(), m2m_wifi_set_stop_scan_on_first(), nm_drv_init_download_mode(), nm_drv_init_hold(), socket(), Socket_ReadSocketData(), spi_flash_get_size(), and wait_for_bootrom().
#define M2M_INFO | ( | ... | ) | do{CONF_WINC_PRINTF("(APP)(INFO)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |
#define M2M_LOG_DBG 4 |
#define M2M_LOG_ERROR 1 |
#define M2M_LOG_INFO 2 |
#define M2M_LOG_LEVEL M2M_LOG_REQ |
#define M2M_LOG_NONE 0 |
#define M2M_LOG_REQ 3 |
#define M2M_PRINT | ( | ... | ) |
Referenced by spi_flash_erase(), spi_flash_rdid(), and spi_flash_write().
#define M2M_PRINT | ( | ... | ) | do{CONF_WINC_PRINTF(__VA_ARGS__);}while(0) |
#define M2M_REQ | ( | ... | ) |
#define M2M_REQ | ( | ... | ) | do{CONF_WINC_PRINTF("(APP)(R)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |