Добавлена функция AtGsm_SetRegistrationAutomatic
This commit is contained in:
parent
0ad838e79a
commit
72035945ac
|
|
@ -29,6 +29,8 @@ AtCommandResult AtGsmTelitLe910_PdpDeactivate(tAtCmd *env, uint8_t cid);
|
|||
|
||||
AtCommandResult AtGsmTelitLe910_SimProfileSelect(tAtCmd *env, tString32 *profileData);
|
||||
|
||||
AtCommandResult AtGsm_SetRegistrationAutomatic(tAtCmd *env);
|
||||
|
||||
#define AtGsmTelitLe910_DefinePdpIpContextStaticApn(ENV, CID, APN) AtGsmTelitLe910_DefinePdpContext(ENV,CID,AtGsmSimComA7600_PdpType_IPV4V6,APN,sizeof(APN)-1)
|
||||
|
||||
//AtCommandResult AtGsmSimComA7600_PdpActivate(tAtCmd *env, uint8_t cid);
|
||||
|
|
|
|||
|
|
@ -111,6 +111,12 @@ AtCommandResult AtGsmTelitLe910_SimProfileSelect(tAtCmd *env, tString32 *profile
|
|||
return AtCmdOkErrAnswer(env, 2000 * env->stdRxTimeout);
|
||||
}
|
||||
|
||||
AtCommandResult AtGsm_SetRegistrationAutomatic(tAtCmd *env) {
|
||||
AtCmdPrepare(env);
|
||||
AtCmdSendStatic(env, "AT+COPS=0\r\n");
|
||||
return AtCmdOkErrAnswer(env, 10 * env->stdRxTimeout);
|
||||
}
|
||||
|
||||
/*
|
||||
AtCommandResult AtGsmSimComA7600_DefinePdpContext(
|
||||
tAtCmd *env, uint8_t cid, eAtGsmSimComA7600_PdpType pdpType, const char *apn, uint8_t apnLen
|
||||
|
|
|
|||
Loading…
Reference in New Issue