SMART_COMPONENTS_Gsm_Sim7600E/GsmWithGnss_Private.h

54 lines
1.5 KiB
C

//
// Created by zemon on 05.04.23.
//
#ifndef UVEOS_ON_NATION_GSMWITHGNSS_PRIVATE_H
#define UVEOS_ON_NATION_GSMWITHGNSS_PRIVATE_H
#include "GsmWithGnss.h"
void GnssGetNavData(tGsmWithGnss *env, EraGlonassUveosNavData *location, bool locSourse);
void GnssTaskGetTime(tGsmWithGnss *env, uint32_t *timestamp);
bool GsmWithGnss_Ecall(tGsmWithGnss *env,
uint8_t *msd,
size_t msdLength,
char *phoneNumber,
size_t phoneNumberLength,
eEcallActivationType activationType,
eEcallTestMode testMode
);
bool GsmWithGnss_isCallDialing(tGsmWithGnss *env);
bool GsmWithGnss_isMsdSent(tGsmWithGnss *env);
bool GsmWithGnss_GetUrcIsNetReg(tGsmWithGnss *env);
void GsmWithGnss_ResetUrcIsNetReg(tGsmWithGnss *env);
bool GsmWithGnss_HangUp(tGsmWithGnss *env);
bool GsmWithGnss_HangUpEcoll(tGsmWithGnss *env);
bool AtGsmPrepHangCall(tGsmWithGnss *env);
bool GsmWithGnss_isMsdReSent(tGsmWithGnss *env);
AtCommandResult GsmWithGnssSetModemManualPowerMode(tGsmWithGnss *env, bool *mode);
AtCommandResult GsmWithGnssSetModemLTEPowerMode(tGsmWithGnss *env, uint16_t *value);
AtCommandResult GsmWithGnssSetModemWCDMAPowerMode(tGsmWithGnss *env, uint16_t *value);
AtCommandResult GsmWithGnssSetModemGSMPowerMode(tGsmWithGnss *env, uint16_t *value);
//sms
bool GsmWithGnss_SendDataPduSms(tGsmWithGnss *env, char *phone, uint8_t phoneSize, uint8_t *data, uint16_t dataSize);
//ring
#endif //UVEOS_ON_NATION_GSMWITHGNSS_PRIVATE_H