MSDK V5 网络RTK连接状态对应含义。
已完成SDK版本: V5.2.0
背景:已能够连接上自定义的网络RTK,但通过监听,发现网络RTK连接状态有很多,不知道对应含义。
调用以下API:
networkRTKManager.addNetworkRTKServiceInfoListener(new INetworkServiceInfoListener() {
@Override
public void onServiceStateUpdate(RTKServiceState state) {
sendBadRtkAlarm("addNetworkRTKServiceInfoListener onServiceStateUpdate:" + state);
}
@Override
public void onErrorCodeUpdate(IDJIError code) {
sendBadRtkAlarm("addNetworkRTKServiceInfoListener onErrorCodeUpdate");
}
});
查看RTKServiceState类,发现了以下状态
public enum RTKServiceState implements JNIProguardKeepTag {
RTCM_CONNECTED,
RTCM_NORMAL,
RTCM_USER_HAS_ACTIVATE,
RTCM_USER_ACCOUNT_EXPIRES_SOON,
RTCM_USE_DEFAULT_MOUNT_POINT,
RTCM_AUTH_FAILED,
RTCM_USER_NOT_BOUNDED,
RTCM_USER_NOT_ACTIVATED,
ACCOUNT_EXPIRED,
RTCM_ILLEGAL_UTC_TIME,
RTCM_SET_COORDINATE_FAILURE,
RTCM_CONNECTING,
RTCM_ACTIVATED_FAILED,
DISABLED,
AIRCRAFT_DISCONNECTED,
CONNECTING,
TRANSMITTING,
LOGIN_FAILURE,
INVALID_REQUEST,
ACCOUNT_ERROR,
NETWORK_NOT_REACHABLE,
SERVER_NOT_REACHABLE,
SERVICE_SUSPENSION,
DISCONNECTED,
READY,
SEND_GGA_NO_VALID_BASE,
RTK_START_PROCESSING,
UNKNOWN;
问题:
可否解释以下各状态含义,哪个才是正常连接网络RTK的状态?目前我这边可以走到TRANSMITTING状态,请问该状态能代表连接上并能正常使用RTK功能吗?
请先登录再写评论。
评论
5 条评论