// // Created by xemon on 25.11.22. // #include "AtGsmSms_DeleteById.h" #include "AtCmdCommonProtected.h" AtCommandResult AtGsmSms_DeleteById(tAtCmd *env, uint8_t id) { AtCmdPrepare(env); AtCmdTxClear(env); AtCmdTxAddStatic(env, "AT+CMGD="); AtCmdTxAddDecimalIntWithLimit(env, id, 3); AtCmdTxSendLn(env); return AtCmdOkErrAnswer(env, env->stdRxTimeout); }