Add: Support for SIM7000 modules

This commit is contained in:
Sjur G. Wroldsen
2022-04-13 15:36:15 +02:00
parent 15cbc9bd50
commit 0733ea8ff4
9 changed files with 42 additions and 7 deletions

View File

@ -121,13 +121,13 @@ command_result power_down(CommandableIf *t)
return generic_command(t, "AT+QPOWD=1\r", "POWERED DOWN", "ERROR", 1000);
}
command_result power_down_sim7600(CommandableIf *t)
command_result power_down_sim76xx(CommandableIf *t)
{
ESP_LOGV(TAG, "%s", __func__ );
return generic_command_common(t, "AT+CPOF\r", 1000);
}
command_result power_down_sim7070(CommandableIf *t)
command_result power_down_sim70xx(CommandableIf *t)
{
ESP_LOGV(TAG, "%s", __func__ );
return generic_command(t, "AT+CPOWD=1\r", "POWER DOWN", "ERROR", 1000);