This module contains debug APIs declarations.
Copyright (c) 2017-2019 Microchip Technology Inc. and its subsidiaries.
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(...) 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 | ( | ... | ) |
#define M2M_ERR | ( | ... | ) |
Referenced by chip_deinit(), chip_reset_and_cpu_halt(), chip_wake(), cpu_start(), hif_check_code(), hif_enable_access(), hif_handle_isr(), hif_isr(), hif_receive(), hif_register_cb(), hif_send(), m2m_ota_cb(), m2m_ota_init(), m2m_ssl_cb(), m2m_ssl_init(), m2m_validate_ap_parameters(), m2m_validate_scan_options(), m2m_wifi_cb(), m2m_wifi_p2p(), m2m_wifi_prng_get_random_bytes(), m2m_wifi_start_provision_mode_ext(), nm_bus_ioctl(), nm_drv_deinit(), nm_drv_init_download_mode(), nm_drv_init_hold(), nm_drv_init_start(), nm_get_firmware_full_info(), nm_get_ota_firmware_info(), nm_spi_init(), nm_spi_read_block(), nm_spi_read_reg_with_ret(), nm_spi_reset(), nm_spi_write_block(), nm_spi_write_reg(), pullup_ctrl(), read_efuse_struct(), Socket_ReadSocketData(), spi_cmd(), spi_cmd_rsp(), spi_data_read(), spi_data_rsp(), spi_data_write(), 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(), dump_efuse_struct(), find_flash_section(), hif_send(), 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(), nm_get_firmware_full_info(), nm_get_ota_firmware_info(), nm_spi_reset(), OtaUpdateCb(), read_efuse_struct(), socket(), and spi_flash_get_size().
#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 | ( | ... | ) | do{CONF_WINC_PRINTF(__VA_ARGS__);}while(0) |
Referenced by spi_flash_erase(), spi_flash_rdid(), and spi_flash_write().
#define M2M_REQ | ( | ... | ) |
#define M2M_REQ | ( | ... | ) | do{CONF_WINC_PRINTF("(APP)(R)"); CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) |