mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-18 04:52:18 +02:00
Implement perfect forwarding for command lib
This commit is contained in:
23
esp_modem/src/esp_modem_modules.cpp
Normal file
23
esp_modem/src/esp_modem_modules.cpp
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user