20 lines
394 B
C
Executable File
20 lines
394 B
C
Executable File
//
|
|
// Created by xemon on 09.09.22.
|
|
//
|
|
|
|
#include "AtGsmErrorLogLevel.h"
|
|
#include "AtCmdCommonProtected.h"
|
|
|
|
AtCommandResult AtGsmSetErrorLogLevel(tAtCmd *env, tGsmErrorLogLevel value) {
|
|
AtCmdPrepare(env);
|
|
|
|
AtCmdTxClear(env);
|
|
AtCmdTxAddStatic(env, "AT+CMEE=");
|
|
AtCmdTxAddDecimalInt(env, value, 1);
|
|
|
|
AtCmdTxSendLn(env);
|
|
|
|
return AtCmdOkErrAnswer(env, env->stdRxTimeout);
|
|
}
|
|
|