// // Created by xemon on 10.05.23. // #ifndef ATGSMSIMCOMA7600_DEFINEPDPCONTEXT_H #define ATGSMSIMCOMA7600_DEFINEPDPCONTEXT_H #include "AtCmdCommon.h" typedef enum { AtGsmSimComA7600_PdpType_IP, AtGsmSimComA7600_PdpType_IPV6, AtGsmSimComA7600_PdpType_IPV4V6 } eAtGsmSimComA7600_PdpType; AtCommandResult AtGsmSimComA7600_DefinePdpContext( tAtCmd *env, uint8_t cid, eAtGsmSimComA7600_PdpType pdpType, const char *apn, uint8_t apnLen ); AtCommandResult AtGsmSimComA7600_PdpActivate(tAtCmd *env, uint8_t cid); AtCommandResult AtGsmSimComA7600_PdpDeactivate(tAtCmd *env, uint8_t cid); AtCommandResult AtGsmSimComA7600_DefinePdpAuthContext( tAtCmd *env, uint8_t cid, uint8_t auth_type, const char *user, uint8_t userLen, const char *pass, uint8_t passLen ); #define AtGsmSimComA7600_DefinePdpIpContextStaticApn(ENV, CID, APN) AtGsmSimComA7600_DefinePdpContext(ENV,CID,AtGsmSimComA7600_PdpType_IP,APN,sizeof(APN)-1) #endif //ATGSMSIMCOMA7600_DEFINEPDPCONTEXT_H