Searched refs:DCE_CHECK (Results 1 – 4 of 4) sorted by relevance
/hal_espressif-3.6.0/examples/protocols/pppos_client/components/modem/src/ |
D | bg96.c | 28 #define DCE_CHECK(a, str, goto_tag, ...) \ macro 73 …DCE_CHECK(dte->send_cmd(dte, "AT\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command faile… in bg96_set_working_mode() 74 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "sync failed", err); in bg96_set_working_mode() 76 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "enter command mode failed", err); in bg96_set_working_mode() 83 …DCE_CHECK(dte->send_cmd(dte, "ATD*99***1#\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send … in bg96_set_working_mode() 89 …DCE_CHECK(dte->send_cmd(dte, "ATO\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send command … in bg96_set_working_mode() 90 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "enter ppp mode failed", err); in bg96_set_working_mode() 117 …DCE_CHECK(dte->send_cmd(dte, "AT+QPOWD=1\r", MODEM_COMMAND_TIMEOUT_POWEROFF) == ESP_OK, "send comm… in bg96_power_down() 118 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "power down failed", err); in bg96_power_down() 145 DCE_CHECK(dte, "DCE should bind with a DTE", err); in bg96_init() [all …]
|
D | sim800.c | 20 #define DCE_CHECK(a, str, goto_tag, ...) \ macro 54 …DCE_CHECK(dte->send_cmd(dte, "AT+CPOWD=1\r", MODEM_COMMAND_TIMEOUT_POWEROFF) == ESP_OK, "send comm… in sim800_power_down() 55 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "power down failed", err); in sim800_power_down() 83 …DCE_CHECK(dte->send_cmd(dte, "AT\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command faile… in sim800_set_working_mode() 84 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "sync failed", err); in sim800_set_working_mode() 86 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "enter command mode failed", err); in sim800_set_working_mode() 94 …DCE_CHECK(dte->send_cmd(dte, "ATD*99#\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send comm… in sim800_set_working_mode() 100 …DCE_CHECK(dte->send_cmd(dte, "ATO\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send command … in sim800_set_working_mode() 101 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "enter ppp mode failed", err); in sim800_set_working_mode() 136 DCE_CHECK(dte, "DCE should bind with a DTE", err); in sim800_init() [all …]
|
D | esp_modem_dce_service.c | 24 #define DCE_CHECK(a, str, goto_tag, ...) \ macro 225 …DCE_CHECK(dte->send_cmd(dte, "AT\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command faile… in esp_modem_dce_sync() 226 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "sync failed", err); in esp_modem_dce_sync() 238 …DCE_CHECK(dte->send_cmd(dte, "ATE1\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command fai… in esp_modem_dce_echo() 239 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "enable echo failed", err); in esp_modem_dce_echo() 242 …DCE_CHECK(dte->send_cmd(dte, "ATE0\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command fai… in esp_modem_dce_echo() 243 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "disable echo failed", err); in esp_modem_dce_echo() 255 …DCE_CHECK(dte->send_cmd(dte, "AT&W\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command fai… in esp_modem_dce_store_profile() 256 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "save settings failed", err); in esp_modem_dce_store_profile() 268 DCE_CHECK(len < sizeof(command), "command too long: %s", err, command); in esp_modem_dce_set_flow_ctrl() [all …]
|
D | sim7600.c | 31 #define DCE_CHECK(a, str, goto_tag, ...) \ macro 103 …DCE_CHECK(dte->send_cmd(dte, "AT+CBC\r", MODEM_COMMAND_TIMEOUT_DEFAULT) == ESP_OK, "send command f… in sim7600_get_battery_status() 104 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "inquire battery status failed", err); in sim7600_get_battery_status() 123 …DCE_CHECK(dte->send_cmd(dte, "AT+CPOF\r", MODEM_COMMAND_TIMEOUT_POWEROFF) == ESP_OK, "send command… in sim7600_power_down() 124 DCE_CHECK(dce->state == MODEM_STATE_SUCCESS, "power down failed", err); in sim7600_power_down()
|