Home
last modified time | relevance | path

Searched refs:DCE_CHECK (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/examples/protocols/pppos_client/components/modem/src/
Dbg96.c28 #define DCE_CHECK(a, str, goto_tag, ...) \ macro
73DCE_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()
83DCE_CHECK(dte->send_cmd(dte, "ATD*99***1#\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send … in bg96_set_working_mode()
89DCE_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()
117DCE_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 …]
Dsim800.c20 #define DCE_CHECK(a, str, goto_tag, ...) \ macro
54DCE_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()
83DCE_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()
94DCE_CHECK(dte->send_cmd(dte, "ATD*99#\r", MODEM_COMMAND_TIMEOUT_MODE_CHANGE) == ESP_OK, "send comm… in sim800_set_working_mode()
100DCE_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 …]
Desp_modem_dce_service.c24 #define DCE_CHECK(a, str, goto_tag, ...) \ macro
225DCE_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()
238DCE_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()
242DCE_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()
255DCE_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 …]
Dsim7600.c31 #define DCE_CHECK(a, str, goto_tag, ...) \ macro
103DCE_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()
123DCE_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()