class AUTELRTKModel
typedef block AUTELGetRTKAuthInfoCompletionBlock
describe:Define Get RTK authorization information block
typedef void (^_Nullable AUTELGetRTKAuthInfoCompletionBlock)(AUTELRTKAuthInfoModel * _Nullable model, NSError *_Nullable error);
enum AUTELRTKlocationType
describe:Define RTK positioning method
typedef NS_ENUM(uint8_t, AUTELRTKlocationType) {
/**
* @brief GNSS
*/
AUTELRTKlocationTypeGNSS = 0,
/**
* @brief RTK
*/
AUTELRTKlocationTypeRTK = 1,
};
enum AUTELRTKRecvDiffType
describe:Define Receiving RTK signal mode
typedef NS_ENUM(uint8_t, AUTELRTKRecvDiffType) {
/**
* @brief None
*/
AUTELRTKRecvDiffTypeNone = 0,
/**
* @brief RTK Station
*/
AUTELRTKRecvDiffTypeStation = 1,
/**
* @brief RTK Network
*/
AUTELRTKRecvDiffTypeNetwork = 2,
/**
* @brief Custom RTK Network
*/
AUTELRTKRecvDiffTypeCustomize = 3,
};
enum AUTELRTKParseStatus
describe:Define RTK parse status
typedef NS_ENUM(uint8_t, AUTELRTKParseStatus) {
/**
* @brief parse success
*/
AUTELRTKParseStatusCOMPUTED = 0,
/**
* @brief Insufficient observation data
*/
AUTELRTKParseStatusINSUFFICIENT_OBS = 1,
/**
* @brief Unable to converge
*/
AUTELRTKParseStatusNO_CONVERGENCE = 2,
/**
* @brief The value of covariance matrix exceeds the maximum value
*/
AUTELRTKParseStatusCOV_TRACE = 4,
};
enum AUTELRTKPositionType
describe:Define RTK Position Type
typedef NS_ENUM(uint8_t, AUTELRTKPositionType) {
/**
* @brief unsolvable
*/
AUTELRTKPositionType0 = 0,
/**
* @brief The position is specified by the fix position command
*/
AUTELRTKPositionType1 = 1,
/**
* @brief Not supported temporarily
*/
AUTELRTKPositionType2 = 2,
/**
* @brief Speed is derived from real-time Doppler information
*/
AUTELRTKPositionType8 = 8,
/**
* @brief Single point positioning
*/
AUTELRTKPositionType16 = 16,
/**
* @brief Pseudo range difference decomposition
*/
AUTELRTKPositionType17 = 17,
/**
* @brief SBAS Location
*/
AUTELRTKPositionType18 = 18,
/**
* @brief L1 Floating point solution
*/
AUTELRTKPositionType32 = 32,
/**
* @brief Ionospheric floating point solution
*/
AUTELRTKPositionType33 = 33,
/**
* @brief Narrow Lane Floating Point Solution
*/
AUTELRTKPositionType34 = 34,
/**
* @brief L1 Fixed solution
*/
AUTELRTKPositionType48 = 48,
/**
* @brief Wide roadway fixed solution
*/
AUTELRTKPositionType49 = 49,
/**
* @brief Narrow roadway fixed solution
*/
AUTELRTKPositionType50 = 50,
/**
* @brief Pure inertial navigation positioning solution
*/
AUTELRTKPositionType52 = 52,
/**
* @brief Combined solution of inertial navigation and single point positioning
*/
AUTELRTKPositionType53 = 53,
/**
* @brief Combined solution of inertial navigation and pseudo range differential positioning
*/
AUTELRTKPositionType54 = 54,
/**
* @brief Combined solution of inertial navigation and carrier phase difference floating-point solution
*/
AUTELRTKPositionType55 = 55,
/**
* @brief Combined solution of inertial navigation and carrier phase difference fixed solution
*/
AUTELRTKPositionType56 = 56,
}
enum AUTELRTKCoordinateSys
describe:Define RTK Coordinate
typedef NS_ENUM(uint8_t, AUTELRTKCoordinateSys) {
/**
* @brief WGS84
*/
AUTELRTKCoordinateSysWGS84 = 0,
/**
* @brief CGCS2000
*/
AUTELRTKCoordinateSysCGCS2000 = 1,
/**
* @brief Unknow
*/
AUTELRTKCoordinateSysUnknow = 0xff,
};
enum AUTELRTKFixStatus
describe:Define RTK fix status
typedef NS_ENUM(uint8_t, AUTELRTKFixStatus) {
/**
* @brief NONE
*/
AUTELRTKFixStatusNone = 0,
/**
* @brief SINGLE
*/
AUTELRTKFixStatusSingle = 1,
/**
* @brief FLOAT
*/
AUTELRTKFixStatusFloat = 2,
/**
* @brief FIX
*/
AUTELRTKFixStatusFix = 3,
/**
* @brief Unknow
*/
AUTELRTKFixStatusUnkonw = 0xff,
};
enum AUTELRTKNtripStatus
describe:Define RTK Ntrip status
typedef NS_ENUM(uint8_t, AUTELRTKNtripStatus) {
/**
* @brief DisConnec
*/
AUTELRTKNtripStatusDisConnect = 0,
/**
* @brief Connected
*/
AUTELRTKNtripStatusConnected = 1,
/**
* @brief Account Invalid
*/
AUTELRTKNtripStatusAccInval = 2,
/**
* @brief No gpgga msg
*/
AUTELRTKNtripStatusNoGpgga = 3,
};
enum AUTELRTKMQTTStatus
describe:Define Mqtt Status
typedef NS_ENUM(uint8_t, AUTELRTKMQTTStatus) {
/**
* @brief DisConnect
*/
AUTELRTKMQTTStatusDisConnect = 0,
/**
* @brief Connected
*/
AUTELRTKMQTTStatusConnected = 1,
/**
* @brief Account is Empty
*/
AAUTELRTKMQTTStatusAccIsEmpty = 2,
/**
* @brief not support the MQTT protocol
*/
AUTELRTKMQTTStatusNotSupport = 3,
/**
* @brief ClientId format error
*/
AUTELRTKMQTTStatusParaErr = 4,
/**
* @brief The MQTT service is unavailable
*/
AUTELRTKMQTTStatusNoservice = 5,
/**
* @brief Username or password format error
*/
AUTELRTKMQTTStatusAccInfoErr = 6,
/**
* @brief Unauthorized
*/
AUTELRTKMQTTStatusUnauthorized = 7,
};
class AUTELRTKAuthInfoModel
describe:Define RTK Authorization information
@interface AUTELRTKAuthInfoModel : NSObject
///Account
@property (nonatomic, copy) NSString * serviceKey;
///password
@property (nonatomic, copy) NSString * serviceSecret;
///device ID
@property (nonatomic, copy) NSString * deviceID;
///device Type
@property (nonatomic, copy) NSString * deviceType;
class AUTELRTKWokeParamsModel
describe:RTK working parameters. locationType AUTELRTKlocationType. recvDiffType AUTELRTKRecvDiffType
@interface AUTELRTKWokeParamsModel : NSObject
///Whether RTK positioning is used,0 -- no, 1 -- yes
@property (nonatomic, assign) BOOL isUsedRTK;
///location type
@property (nonatomic, assign) AUTELRTKlocationType locationType;
///Receiving RTK signal type
@property (nonatomic, assign) AUTELRTKRecvDiffType recvDiffType;
class AUTELRTKStatusInfoModel
describe:Define RTK working parameters. AUTELRTKWokeParamsModel
@interface AUTELRTKStatusInfoModel : AUTELRTKWokeParamsModel
///parse status
@property (nonatomic, assign) AUTELRTKParseStatus parseStatus;
///position type
@property (nonatomic, assign) AUTELRTKPositionType positionType;
/**
* @brief Latitude
*/
@property(nonatomic, assign) double latitude;
/**
* @brief longitude
*
*/
@property(nonatomic, assign) double longitude;
/**
* @brief altitude (meter)
*
*/
@property(nonatomic, assign) double altitude;
/**
* @brief Standard deviation of latitude (meter)
*
*/
@property(nonatomic, assign) float latSigma;
/**
* @brief Standard deviation of longitude (meter)
*
*/
@property(nonatomic, assign) float lonSigma;
/**
* @brief Standard deviation of altitude (meter)
*
*/
@property(nonatomic, assign) float altitudeSigma;
/**
* @brief Number of satellites tracked
*
*/
@property(nonatomic, assign) uint8_t satellitesTrackedNum;
/**
* @brief Number of satellites used in the solution
*
*/
@property(nonatomic, assign) uint8_t satellitesInUsedNum;
/**
* @brief GPS satellite number
*
*/
@property(nonatomic, assign) uint8_t gpsStarNum;
/**
* @brief Number of Beidou satellites
*
*/
@property(nonatomic, assign) uint8_t beidouStarNum;
/**
* @brief Number of glonass satellites
*
*/
@property(nonatomic, assign) uint8_t glonassStarNum;
/**
* @brief Number of galileo satellites
*
*/
@property(nonatomic, assign) uint8_t galileoStarNum;
/**
* @brief Is RTK in place
*
*/
@property(nonatomic, assign) BOOL inPos;
/**
* @brief RTK Fix Status
* see AUTELRTKFixStatus
*/
@property(nonatomic, assign) AUTELRTKFixStatus fixSta;
///RTK coordinate
@property (nonatomic, assign) AUTELRTKCoordinateSys coordinateSys;
class AUTELNtripAuthInfoModel
describe:Define Ntrip Authorization information
@interface AUTELNtripAuthInfoModel : NSObject
/// host
@property (nonatomic, copy) NSString *host;
/// port
@property (nonatomic, copy) NSString *port;
/// mount point
@property (nonatomic, copy) NSString *mountpoint;
/// username
@property (nonatomic, copy) NSString *userName;
/// password
@property (nonatomic, copy) NSString *password;
class AUTELMQTTAuthInfoModel
describe:Define MQTT Authorization information
@interface AUTELMQTTAuthInfoModel : NSObject
/// host
@property (nonatomic, copy) NSString *host;
/// username
@property (nonatomic, copy) NSString *userName;
/// password
@property (nonatomic, copy) NSString *password;
class AUTELLTEModuleInfoModel
describe:Define LTE Module parameters
@interface AUTELLTEModuleInfoModel : NSObject
/// CCID
@property (nonatomic, copy) NSString *ccid;
/// phonenumber
@property (nonatomic, copy) NSString *phoneNumber;
/// network connect status 1:-connected 0:disconnected
@property (nonatomic) bool netStatus;
/// 4G signal level
@property (nonatomic) int lteSignal;
/// is sim Card inserted
@property (nonatomic) bool cardDetect;
/// ntrip status
@property (nonatomic) AUTELRTKNtripStatus ntripStatus;
/// mqtt status
@property (nonatomic) AUTELRTKMQTTStatus mqttStatus;