Implement perfect forwarding for command lib

This commit is contained in:
David Cermak
2021-03-07 19:43:45 +01:00
parent 031bbc14ff
commit 904cf94648
29 changed files with 586 additions and 338 deletions

View File

@ -0,0 +1,23 @@
//
// Created by david on 3/8/21.
//
#include "cxx_include/esp_modem_dce_module.hpp"
command_result SIM7600::get_module_name(std::string& name)
{
name = "7600";
return command_result::OK;
}
command_result SIM800::get_module_name(std::string& name)
{
name = "800L";
return command_result::OK;
}
command_result BG96::get_module_name(std::string& name)
{
name = "BG96";
return command_result::OK;
}