Add: sim7070 support

This commit is contained in:
Sjur G. Wroldsen
2022-04-13 13:42:57 +02:00
parent d3f7ea67fb
commit bb7f198bea
9 changed files with 44 additions and 3 deletions

View File

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