Hello.
I ask for help in the problem, implementation of the AT QENG command. shows values every other time, or does not show at all. for AT QENG = 1 no data available.
16:45:34.884> <-- CMD_modem
16:45:34.884> str_AT=AT+QENG=1,3, len=11
16:45:34.884> Answer modem >>
16:45:34.884> OK
16:45:34.884>
16:45:34.884> Get_Base_Stations >> 0
16:45:41.311> <-- CMD_modem
16:45:41.311> str_AT=AT+QENG?, len=8
16:45:41.311> Answer modem >>
16:45:41.311> +QENG: 1,3
16:45:41.311>
16:45:41.311> Get_Base_Stations >> 0
16:45:41.311> main(). Time syncronization = 1
16:45:41.311> GPS_UnixTime_Get(GPS_Device) = 1599054340
16:45:41.311> main(). Time syncronization = 1
16:45:41.311> GPS_UnixTime_Get(GPS_Device) = 1599054340
16:45:41.311> main(). Time syncronization = 1
16:45:41.311> GPS_UnixTime_Get(GPS_Device) = 1599054340
16:45:41.311> main(). Time syncronization = 1
16:45:41.311> GPS_UnixTime_Get(GPS_Device) = 1599054340
16:45:46.866> <-- CMD_modem
16:45:46.866> str_AT=AT+QENG?, len=8
16:45:46.866> Answer modem >>
16:45:46.866> +QENG: 1,3
16:45:46.866>
16:45:46.866> Get_Base_Stations >> 0
16:45:46.866> main(). Time syncronization = 1
16:45:46.866> GPS_UnixTime_Get(GPS_Device) = 1599054346
16:45:46.866> main(). Time syncronization = 1
16:45:46.866> GPS_UnixTime_Get(GPS_Device) = 1599054346
16:45:46.866> main(). Time syncronization = 1
16:45:46.866> GPS_UnixTime_Get(GPS_Device) = 1599054346
16:45:46.866> main(). Time syncronization = 1
16:45:46.866> GPS_UnixTime_Get(GPS_Device) = 1599054346
and
2:04:20.604>
12:04:20.604> RDY
12:04:20.604> ********************** Start System **********************
12:04:20.604> UID = C7 C8 02 47 A4 A5 B2 93 BC F1 82 EE A5 7F 4C 3D
12:04:20.604>
12:04:20.604> CoreVer = MC60CAR01A11
12:04:20.604>
12:04:20.604> <-- On start 1-01-2004 3:00:00 12
12:04:20.604>
12:04:20.604> Flash_has_been_init
12:04:20.604>
12:04:20.604> <-- Ql_SPI_Init ret =0 -->
12:04:20.604>
12:04:20.604> <-- Ql_SPI_Config =0 -->
12:04:20.604> <–Multitask: wdt–>
12:04:20.604> <–Multitask: led_blinking–>
12:04:20.604> <-- init_blinking -->
12:04:20.604> Finded ID flash IC = C22016
12:04:20.604>
12:04:20.604> Finded MX25L3206E flash IC
12:04:20.604>
12:04:20.604> FEE_DataRead(Id = 0x0C00, Size = 0x006C)
12:04:20.858> FEE_DataRead(Calculated CRC = 0xF4, readed CRC = 0xF4
12:04:20.858> FEE_SUCCESS
12:04:20.858> UpdatePins – > rele[0].State=0x00
12:04:20.858> Config from flash loaded
12:04:20.858> FEE_DataRead(Id = 0x0C01, Size = 0x009A)
12:04:20.858> FEE_DataRead(Calculated CRC = 0xF3, readed CRC = 0xF3
12:04:20.858> FEE_SUCCESS
12:04:20.858> >>>>> FEE_Class 75755355 <<<<<
12:04:20.858> FEE_DataRead(Id = 0x0C01, Size = 0x009A)
12:04:20.858> FEE_DataRead(Calculated CRC = 0xF3, readed CRC = 0xF3
12:04:20.858> FEE_SUCCESS
pFotaParams->ftp_user = , pFotaParams->ftp_pwd = , pFotaParams->ftp_server_name = , pFotaParams->ftp_port = , pFotaParams->ftp_dir = , pFotaParams->ftp_file_name = , 12:04:21.111> pFotaParams->enableFOTAWork = 0, pFotaParams->counter = 0
12:04:21.111> FotaParams.ftp_user = , FotaParams.ftp_pwd = , FotaParams.ftp_server_name = , FotaParams.ftp_port = , FotaParams.ftp_dir = , FotaParams.ftp_file_name = , FotaParams.enableFOTAWork = 0, FotaParams->counter = 0
12:04:21.111> Config FOTA from flash loaded
12:04:21.111> FEE_DataRead(Id = 0x0912, Size = 0x0008)
12:04:21.111> FEE_DataRead(Calculated CRC = 0x53, readed CRC = 0x53
12:04:21.111> FEE_SUCCESS
12:04:21.111> readConfigPollingTime loaded
12:04:21.111> <–Version 0 1 39
12:04:21.111> 1Backup->GPS_Odometer=0
12:04:21.353> FEE_DataRead(Id = 0x050D, Size = 0x0004)
12:04:21.353> FEE_DataRead(Calculated CRC = 0x8C, readed CRC = 0x8C
12:04:21.353> FEE_SUCCESS
12:04:21.353> 2Backup->GPS_Odometer=771474
12:04:21.353> FEE_DataRead(Id = 0x0408, Size = 0x0005)
12:04:21.353> FEE_DataRead(Calculated CRC = 0xBA, readed CRC = 0xBA
12:04:21.353> FEE_SUCCESS
12:04:21.353> Ql_IIC_Uninit -307
12:04:21.353> Ql_IIC_Init 0
12:04:21.353> Ql_IIC_Config 0
12:04:21.353> WHO AM I -34 [0]
12:04:21.353> Ql_IIC_Uninit 0
12:04:21.353> m_RxBuf_VirtualPort:
12:04:21.353> <-- RIL is ready -->
12:04:21.353> BSVAR_ValidationBackup
12:04:21.353> FEE_DataRead(Id = 0x0816, Size = 0x0001)
12:04:21.353> FEE_DataRead(Calculated CRC = 0xE3, readed CRC = 0xE3
12:04:21.353> FEE_SUCCESS
12:04:21.664> FEE_DataRead(Id = 0x0819, Size = 0x0002)
12:04:21.664> FEE_DataRead(Calculated CRC = 0xDF, readed CRC = 0xDF
12:04:21.664> FEE_SUCCESS
12:04:21.664> FEE_DataRead(Id = 0x0830, Size = 0x0001)
12:04:21.664> FEE_DataRead(Calculated CRC = 0x98, readed CRC = 0x98
12:04:21.664> FEE_SUCCESS
12:04:21.664> 1.
12:04:21.664> 2.
12:04:21.664> FEE_DataRead(Id = 0x0821, Size = 0x0040)
12:04:21.664> func(flash_rd_data),line(1103),here has a failed operation.
12:04:21.664> FEE_DataRead(Calculated CRC = 0xF1, readed CRC = 0xD1
12:04:21.664> Error FEE_ERR_FALSE
12:04:21.664> FEE_DataWrite(Id = 0x0821, Size = 0x0019, Data = 0x7263)
12:04:21.664>
12:04:21.915> flash_rd_data(CONFIG_ACTIVE_SECTOR_ADDRESS = 0x003FD000, data1 = 0x02), ret = 0x00000001
12:04:21.915>
12:04:21.915> nowActiveSector = 0x02, nowActiveSectorStartAddr = 0x003FF000, newActiveSectorStartAddr = 0x003FE000
12:04:21.915>
12:04:21.915> Before WriteOnly:
12:04:21.915> After WriteOnly:
12:04:21.915> FEE_DataWrite. calculated CRC of block data = 0xD1
12:04:21.915> *********** Success writing newActiveFlag
12:04:21.915>
12:04:21.915> FEE_SUCCESS
12:04:21.915> 3.
12:04:21.915> 4.
12:04:21.915> FEE_DataRead(Id = 0x0822, Size = 0x0040)
12:04:21.915> func(flash_rd_data),line(1103),here has a failed operation.
12:04:21.915> FEE_DataRead(Calculated CRC = 0xF0, readed CRC = 0xD0
12:04:21.915> Error FEE_ERR_FALSE
12:04:22.139> FEE_DataWrite(Id = 0x0822, Size = 0x0019, Data = 0x7263)
12:04:22.139>
12:04:22.139> flash_rd_data(CONFIG_ACTIVE_SECTOR_ADDRESS = 0x003FD000, data1 = 0x01), ret = 0x00000001
12:04:22.139>
12:04:22.139> nowActiveSector = 0x01, nowActiveSectorStartAddr = 0x003FE000, newActiveSectorStartAddr = 0x003FF000
12:04:22.139>
12:04:22.139> Before WriteOnly:
12:04:22.139> After WriteOnly:
12:04:22.139> FEE_DataWrite. calculated CRC of block data = 0xD0
12:04:22.139> *********** Success writing newActiveFlag
12:04:22.139>
12:04:22.139> FEE_SUCCESS
12:04:22.139> 5.
12:04:22.139> FEE_DataRead(Id = 0x0820, Size = 0x0004)
12:04:22.139> FEE_DataRead(Calculated CRC = 0x58, readed CRC = 0x58
12:04:22.139> FEE_SUCCESS
12:04:22.139> 6.
12:04:22.401> FEE_DataRead(Id = 0x0821, Size = 0x0040)
12:04:22.401> func(flash_rd_data),line(1103),here has a failed operation.
12:04:22.401> FEE_DataRead(Calculated CRC = 0xF1, readed CRC = 0xD1
12:04:22.401> Error FEE_ERR_FALSE
12:04:22.401> FEE_DataRead(Id = 0x0818, Size = 0x0002)
12:04:22.401> FEE_DataRead(Calculated CRC = 0xC2, readed CRC = 0xC2
12:04:22.401> FEE_SUCCESS
12:04:22.401> main. GPS_Device Init
12:04:22.401> Answer to AT+ATS0 …:
12:04:22.401> OK
12:04:22.401>
12:04:22.401> ATS0=0 RIL_ATRSP_SUCCESS
12:04:22.401> ATS0. cmdAnswer =0xF0119930
12:04:22.401> 002
12:04:22.401> ATS+COPS=3,2 RIL_ATRSP_SUCCESS
12:04:22.401> AT+COPS=3,2. cmdAnswer =0xF0119930
12:04:22.401> 002
12:04:22.401> IMEI = 86135???
12:04:22.401>
12:04:22.664> <-- Register callback for ADC -->
12:04:22.664> <-- Initialize ADC (sampling count=7, sampling interval=1000ms) -->
12:04:22.664> <-- Start ADC sampling -->
12:04:22.664>
12:04:22.664> <–Register_TIMER_FOR_RESET: timerId=259, param = 1,ret = 0 -->
12:04:22.664>
12:04:22.664> <–Register_timer_for_IGN_ASK: timerId=1000, param = 4,ret = 0 -->
12:04:22.664>
12:04:22.664> <–Ql_Timer_Start_IGN_ASK(ID=262,Interval=1000,) ret=0–>
12:04:22.664>
12:04:22.664> <–Register_timer_for_connect_to_server: timerId=5000, param = 0,ret = 0 -->
12:04:22.664>
12:04:22.664> <–Register_timer_for_AUTHORIZATION_ON_SERVER: timerId=1000, param = 4,ret = 0 -->
12:04:22.664>
12:04:22.979> <–Register_timer_for_fuel_level_sensor: timerId=3000, param = 5,ret = 0 -->
12:04:22.979>
12:04:22.979> <–Ql_Timer_Start_fuel_level_sensor(ID=263,Interval=3000,) ret=0–>
12:04:22.979>
12:04:22.979> <–GPS work has been started!–>
12:04:22.979> Power on GPS Successful.
12:04:22.979> FLASH INIT
12:04:22.979> FEE_DataRead(Id = 0x0101, Size = 0x0002)
12:04:22.979> FEE_DataRead(Calculated CRC = 0x4B, readed CRC = 0x4B
12:04:22.979> FEE_SUCCESS
12:04:22.979> 3. dev->FlashStatus = 0x01B2
12:04:22.979> After search: CurrentPacket = 5655, CurrentSector = 44
12:04:22.979>
12:04:22.979> <–Ql_MKTime2CalendarTime: (1.9.2020 9:4:7 timezone=12)–>
12:04:22.979> main(). Time syncronization = 0
12:04:22.979> m_RxBuf_VirtualPort:
12:04:23.224> <-- CFUN Status:1 -->
12:04:23.224> main(). Time syncronization = 0
12:04:23.224> m_RxBuf_VirtualPort:
12:04:23.224> <-- SIM Card Status: READY -->
12:04:23.224> modem->SIM[modem->SIM_select].IMSI = ???
12:04:23.224> modem->pGprsApn = internet
12:04:23.224> modem->pGprsUser = g
12:04:23.224> modem->pGprsPasswd = g
12:04:23.224> configAPN.apnName = internet
12:04:23.224> configAPN.apnUserId = g
12:04:23.224> configAPN.apnPasswd = g
12:04:23.224> main(). Time syncronization = 0
12:04:23.224> m_RxBuf_VirtualPort:
12:04:23.224> <-- GPRS Network Status:2 -->
12:04:23.224> ************************************* Not present GPRS -->
12:04:23.224> main(). Time syncronization = 0
12:04:23.730> FEE_DataRead(Id = 0x0300, Size = 0x0004)
12:04:23.730> FEE_DataRead(Calculated CRC = 0xC0, readed CRC = 0xC0
12:04:23.730> FEE_SUCCESS
12:04:23.730> Corner=7
12:04:25.079> <-- input_command_Always_mode_on
12:04:25.641> m_RxBuf_VirtualPort:
12:04:25.641> main(). Time syncronization = 0
12:04:27.295> m_RxBuf_VirtualPort:
12:04:27.295> main(). Time syncronization = 0
12:04:32.908> m_RxBuf_VirtualPort:
12:04:32.908> m_RxBuf_VirtualPort:
12:04:32.908> <-- GSM Network Status:1 -->
12:04:32.908> <-- Dialing CSD number: 18256056827 -->
12:04:32.908> ************************************* GSM Registered -->
12:04:32.908> 1. Backup->lastGSMNetworkStatusTime = 14875
12:04:32.908> main(). Time syncronization = 0
12:04:32.908> m_RxBuf_VirtualPort:
12:04:32.908> <-- GPRS Network Status:1 -->
12:04:32.908> ************************************ Module has registered to GPRS network -->
12:04:32.908> SECURE_DATA_STARTED
12:04:32.908> magic_word_secure 170
12:04:32.908> MAGIC OK
12:04:32.908> <-- Register GPRS callback function -->
12:04:33.161> <-- Configure PDP context -->
12:04:33.161> <-- Activating GPRS… -->
12:04:33.161> <-- Activating GPRS, need to wait Callback_GPRS_Actived for the result -->
12:04:33.161>
12:04:33.161> main(). Time syncronization = 1
12:04:33.161> GPS_UnixTime_Get(GPS_Device) = 1598940256
12:04:33.161>
12:04:33.161> <–Ql_MKTime2CalendarTime: (1.9.2020 6:4:16 timezone=12)–>
12:04:33.161> RTC set by GPS
12:04:33.668>
12:04:33.668> <-- GPRS Activated -->
12:04:33.668> <–Callback_GPRS_Actived: activated GPRS successfully.–>
12:04:33.668>
12:04:33.668> <–Ql_Timer_Start_CONNECT_SERVER(ID=258,Interval=5000,) ret=0–>
12:04:33.668> FEE_DataRead(Id = 0x0818, Size = 0x0002)
12:04:33.668> FEE_DataRead(Calculated CRC = 0xC2, readed CRC = 0xC2
12:04:33.668> FEE_SUCCESS
12:04:33.668>
12:04:33.668> <–Register_timer_for_send_data_via_GPRS: timerId=1000, param = 3,ret = 0 -->
12:04:33.668>
12:04:33.668> <–Ql_Timer_Start__GPRS_SEND(ID=261,Interval=1000,) ret=0–>
12:04:33.668> <-- Register socket callback function -->
12:04:34.475>
12:04:34.475> <–Not present connect on Socket -->
12:04:34.475>
12:04:34.475> <–Try made connect on Socket -->
12:04:35.474>
12:04:35.474> <–Not present connect on Socket -->
12:04:35.474>
12:04:35.474> <–Try made connect on Socket -->
12:04:36.454>
12:04:36.454> <–Not present connect on Socket -->
12:04:36.454>
12:04:36.454> <–Try made connect on Socket -->
12:04:37.451>
12:04:37.451> <–Not present connect on Socket -->
12:04:37.451>
12:04:37.451> <–Try made connect on Socket -->
12:04:38.599>
12:04:38.599> <–Not present connect on Socket -->
12:04:38.599>
12:04:38.599> <–Try made connect on Socket -->
12:04:38.599> Ql_IpHelper_GetIPByHostName=rcv2.kgk-global.com
12:04:38.599> SERVER_FINDED.m_SrvADDR ???
12:04:38.599> SERVER_FINDED.m_SrvPort ???
12:04:38.599> SERVER_FINDED.slot_busy ???
12:04:38.599>
12:04:38.599> <–try_to_connect_to_server_attempt 0 -->
12:04:38.599> <-- Create socket successfully, socket id=1. -->
12:04:38.599> <-- Fail to convert IP Address -->
12:04:38.599>
12:04:38.599> <–connect_status 0 -->
12:04:39.465>
12:04:39.465> <–Not present connect on Socket -->
12:04:39.465>
12:04:39.465> <–Try made connect on Socket -->
12:04:39.465>
12:04:39.465> <–Ql_Timer_Start_CONNECT_SERVER(ID=258,Interval=5000,) ret=0–>
12:04:40.444>
12:04:40.444> <–Not present connect on Socket -->
12:04:40.444>
12:04:40.444> <–Try made connect on Socket -->
12:04:41.443>
12:04:41.443> <–Not present connect on Socket -->
12:04:41.443>
12:04:41.443> <–Try made connect on Socket -->
12:04:42.192> <–GetIpByHostName Entry=0, ip=??.??.??.???–>
12:04:42.443>
12:04:42.443> <–Not present connect on Socket -->
12:04:42.443>
12:04:42.443> <–Try made connect on Socket -->
12:04:43.439>
12:04:43.439> <–Not present connect on Socket -->
12:04:43.439>
12:04:43.439> <–Try made connect on Socket -->
12:04:44.627>
12:04:44.627> <–Not present connect on Socket -->
12:04:44.627>
12:04:44.627> <–Try made connect on Socket -->
12:04:44.627> Ql_IpHelper_GetIPByHostName=???.???.???
12:04:44.627> SERVER_FINDED.m_SrvADDR ??.??.??.???
12:04:44.627> SERVER_FINDED.m_SrvPort ???
12:04:44.627> SERVER_FINDED.slot_busy ???
12:04:44.627>
12:04:44.627> <–try_to_connect_to_server_attempt 1 -->
12:04:44.627> <-- Create socket successfully, socket id=3. -->
12:04:44.627> <-- Convert Ip Address successfully,m_ipaddress=??,??,??,??? -->
12:04:44.627> <-- Connecting to server(IP:??.??.??.???, port:???)… -->
12:04:46.125> <-- Connect to server successfully -->
12:04:46.125>
12:04:46.125> <–connect_status 1 -->
12:04:46.125>
12:04:46.125> <–Ql_Timer_Stop(Stack_timer_CONNECT_SERVER) OK
12:04:46.125> <–connect_ok -->
12:04:46.125> m_SocketId = 3, packetSize = 28
12:04:46.125> sending_data[] =
12:04:46.125> <-- Ql_SOC_Send ret = 28–>
12:04:46.125> <-- Send data to Socket successfully. -->
12:04:46.125> Authorization data send successfully
12:04:46.125>
12:04:46.125> <–Ql_Timer_Start_AUTHORIZATION_ON_SERVER(ID=262,Interval=15000,) ret=0–>
12:04:46.125> <–GetIpByHostName Entry=0, ip=??.??.??.???–>
12:04:47.246>
12:04:47.246> <-- Receive data from server1, len(29):???F4E0EAE00006F0000DE00
12:04:47.246>
12:04:47.246> m_SocketRcvBuf[] = 23
12:04:47.246> <-- set_flag_authorization!!!
12:04:47.246> <–authorization 1
12:04:47.246>
12:04:47.246> <–Ql_Timer_Stop(Stack_timer_AUTHORIZATION_ON_SERVER=265) ret=0–>
12:04:47.246> RIL_GPS_Read_TimeSync_Status(&time_sync) = 1
12:04:47.246> service->UnixTimeServerAtConnection = 1598951086
12:04:47.246> service->ServerOnlinePacketLast = 111
12:04:47.246> service->ServerHistoryPacketLast = 222
12:04:47.246> send ICCID
12:04:47.246> <-- CCID:???, -->
12:04:47.246> sendMessageToServer
12:04:47.246> AuthorizationIsCompleted
12:04:47.558> m_SocketId = 3, packetSize = 32
12:04:47.558> sending_data[] =
12:04:47.558> <-- Ql_SOC_Send ret = 32–>
12:04:47.558> <-- Send data to Socket successfully. -->
12:04:47.558> 1. Message size = 32 sended successfully
12:04:47.558> Find number of oldest history packet
12:04:47.558> Total searching time = 0 msec
12:04:47.558> nmbrOldestHistoryPacket = 0
12:04:47.558> minNmbrHistoryPacket = 122623, historyPacketsInfo->maxNmbrHistoryPacket = 0
12:04:47.558> Total number of historical packets = 0, nmbrOldestHistoryPacket = 0
12:04:47.744> service->HistoryPacketStart = 0, service->HistoryPacketEnd = 122623
12:04:47.744> <-- synchronizeTime() -->
12:04:47.744> <-- (syncNTPGet()= 0 -->
12:04:47.744> <-- (modem->GPRS_State = GPRS_Attached -->
12:04:47.744> <-- RIL_GPS_Read_TimeSync_Status(pSync_stay) = 1 -->
12:04:47.744> <-- NTP synchronized time succeed -->
12:04:47.744> <–1. synchronizeTime(), syncStay = 1 -->
12:04:47.744> <-- Set APN for context 2 -->
12:04:47.744> <-- RIL_GPS_EPO_Config_APN(CMNET, , ) -->
12:04:47.744> <-- Enable EPO -->
12:04:47.744> <-- GPS power on already, aiding EPO to GPS -->
12:04:47.744> EPO aiding successful, iRet = 0.
12:04:52.988>
12:04:52.988> Send data to packet. Period = 30 secs
12:04:52.988> <-- MSG_ID_USER_DATA2 -->
12:04:52.988> main(). Time syncronization = 1
12:04:52.988> GPS_UnixTime_Get(GPS_Device) = 1598929475
12:04:52.988> 0xC1 >> FLAG_NewCoord
12:04:52.988> Record.Flash.Status |= FLAG_FIRSTAFTERRESTART;
12:04:52.988> **** Success verifying packet number = 5655 at address = 02C2E0
12:04:52.988> 0xC1: FLASH_WriteMessage. PacketNumber = 5655
12:04:52.988> 1. GSM_Record_Add
12:04:52.988> 3. GSM_Record_Add. Server enabled
12:04:52.988> 4. GSM_Record_Add. AuthorizationIsCompleted. Try
12:04:52.988> 5. GSM_Record_Add. service->status == Service_Run. Create KGK packet
12:04:53.193> 6. GSM_Record_Add. Packet size > 0. GSM_Packet_Add
12:04:53.193> <- current_slot 0
12:04:53.193> Slot — 0 — try send
12:04:53.193> m_SocketId = 3, packetSize = 39
12:04:53.193> sending_data[] =
12:04:53.193> <-- Ql_SOC_Send ret = 39–>
12:04:53.193> <-- Send data to Socket successfully. -->
12:04:53.193> Slot — 0 — sended successfully
12:17:10.481> <-- CMD_modem
12:17:10.481> str_AT=AT+QENG=2,3, len=11
12:17:10.481> Answer modem >>
12:17:10.481> OK
12:17:10.481>
12:17:10.481> Get_Base_Stations >> 0
12:17:10.481> m_RxBuf_VirtualPort:
12:17:10.481> m_RxBuf_VirtualPort:
12:17:10.481> main(). Time syncronization = 1
12:17:10.481> GPS_UnixTime_Get(GPS_Device) = 1598951830
12:17:10.481> m_RxBuf_VirtualPort:
12:17:14.788> m_RxBuf_VirtualPort:
12:17:14.850> main(). Time syncronization = 1
12:17:14.850> GPS_UnixTime_Get(GPS_Device) = 1598951834
12:17:14.850> m_RxBuf_VirtualPort:
12:17:17.594>
12:17:17.594> Send data to packet. Period = 30 secs
12:17:17.594> <-- MSG_ID_USER_DATA2 -->
12:17:17.594> main(). Time syncronization = 1
12:17:17.594> GPS_UnixTime_Get(GPS_Device) = 1598951837
12:17:17.594> 0xC1 >> FLAG_NewCoord
12:17:17.594> **** Success verifying packet number = 5680 at address = 02C600
12:17:17.594> 0xC1: FLASH_WriteMessage. PacketNumber = 5680
12:17:17.594> 1. GSM_Record_Add
12:17:17.594> 3. GSM_Record_Add. Server enabled
12:17:17.594> 4. GSM_Record_Add. AuthorizationIsCompleted. Try
12:17:17.594> 5. GSM_Record_Add. service->status == Service_Run. Create KGK packet
12:17:17.594> 6. GSM_Record_Add. Packet size > 0. GSM_Packet_Add
12:17:17.594> <- current_slot 0
12:17:18.469> Slot — 0 — try send
12:17:18.469> m_SocketId = 3, packetSize = 39
12:17:18.469> sending_data[] =
12:17:18.469> <-- Ql_SOC_Send ret = 39–>
12:17:18.469> <-- Send data to Socket successfully. -->
12:17:18.469> Slot — 0 — sended successfully
12:17:18.469> m_RxBuf_VirtualPort:
12:17:18.469> main(). Time syncronization = 1
12:17:18.469> GPS_UnixTime_Get(GPS_Device) = 1598951837
12:17:18.469> m_RxBuf_VirtualPort:
12:17:19.217> m_RxBuf_VirtualPort:
12:17:19.217> m_RxBuf_VirtualPort:
12:17:19.280> main(). Time syncronization = 1
12:17:19.280> GPS_UnixTime_Get(GPS_Device) = 1598951838
12:17:19.656>
12:17:19.656> <-- Receive data from server1, len(4):&0Ú
12:17:19.656>
12:17:19.656>
12:17:19.656> FLASH_Packet_ResetArchiveStatus(packetNumber = 05680, PACKET_DATA_ACK)
12:17:19.656>
12:17:19.967> m_RxBuf_VirtualPort:
12:17:19.967> m_RxBuf_VirtualPort:
12:17:20.028> main(). Time syncronization = 1
12:17:20.028> GPS_UnixTime_Get(GPS_Device) = 1598951839
12:17:20.216> m_RxBuf_VirtualPort:
12:17:20.216> m_RxBuf_VirtualPort:
12:17:20.279> main(). Time syncronization = 1
12:17:20.279> GPS_UnixTime_Get(GPS_Device) = 1598951839
12:17:21.027> m_RxBuf_VirtualPort:
12:17:21.027> m_RxBuf_VirtualPort:
12:17:21.027> main(). Time syncronization = 1
12:17:21.027> GPS_UnixTime_Get(GPS_Device) = 1598951840
12:17:21.027> main(). Time syncronization = 1
12:17:21.027> GPS_UnixTime_Get(GPS_Device) = 1598951840
12:17:21.214> m_RxBuf_VirtualPort:
12:17:21.214> m_RxBuf_VirtualPort:
12:17:21.280> main(). Time syncronization = 1
12:17:21.280> GPS_UnixTime_Get(GPS_Device) = 1598951840
12:17:39.388> m_RxBuf_VirtualPort:
12:17:39.388> m_RxBuf_VirtualPort:
12:17:39.388> main(). Time syncronization = 1
12:17:39.388> GPS_UnixTime_Get(GPS_Device) = 1598951858
12:17:39.388> main(). Time syncronization = 1
12:17:39.388> GPS_UnixTime_Get(GPS_Device) = 1598951858
12:17:41.698> <-- CMD_modem
12:17:41.698> str_AT=AT+QENG?, len=8
12:17:41.698> Answer modem >>
12:17:41.698> +QENG: 2,3
12:17:41.698>
12:17:41.698> Get_Base_Stations >> 0
12:17:41.698> main(). Time syncronization = 1
12:17:41.698> GPS_UnixTime_Get(GPS_Device) = 1598951861
12:17:41.698> main(). Time syncronization = 1
12:17:41.698> GPS_UnixTime_Get(GPS_Device) = 1598951861
12:17:41.698> main(). Time syncronization = 1
12:17:41.698> GPS_UnixTime_Get(GPS_Device) = 1598951861
12:17:41.698> main(). Time syncronization = 1
12:17:41.698> GPS_UnixTime_Get(GPS_Device) = 1598951861
12:17:44.005> m_RxBuf_VirtualPort:
12:17:44.069> main(). Time syncronization = 1
12:17:44.069> GPS_UnixTime_Get(GPS_Device) = 1598951863
12:17:44.069> m_RxBuf_VirtualPort:
12:17:46.378> uploadBlockHistoryPackets-> HistoryPacketStart=36864, HistoryPacketEnd=122623
12:17:47.625>
12:17:47.625> Send data to packet. Period = 30 secs
12:17:47.625> <-- MSG_ID_USER_DATA2 -->
12:17:47.625> main(). Time syncronization = 1
12:17:47.625> GPS_UnixTime_Get(GPS_Device) = 1598951867
12:17:47.625> 0xC1 >> FLAG_NewCoord
12:17:47.625> **** Success verifying packet number = 5681 at address = 02C620
12:17:47.625> 0xC1: FLASH_WriteMessage. PacketNumber = 5681
12:17:47.625> 1. GSM_Record_Add
12:17:47.625> 3. GSM_Record_Add. Server enabled
12:17:47.625> 4. GSM_Record_Add. AuthorizationIsCompleted. Try
12:17:47.625> 5. GSM_Record_Add. service->status == Service_Run. Create KGK packet
12:17:47.625> 6. GSM_Record_Add. Packet size > 0. GSM_Packet_Add
12:17:47.841> <- current_slot 0
12:17:47.841> Slot — 0 — try send
12:17:47.841> m_SocketId = 3, packetSize = 39
12:17:47.841> sending_data[] =
12:17:47.841> <-- Ql_SOC_Send ret = 39–>
12:17:47.841> <-- Send data to Socket successfully. -->
12:17:47.841> Slot — 0 — sended successfully
12:17:47.841> m_RxBuf_VirtualPort:
12:17:47.841> main(). Time syncronization = 1
12:17:47.841> GPS_UnixTime_Get(GPS_Device) = 1598951867
12:17:47.841> m_RxBuf_VirtualPort:
12:17:48.374> m_RxBuf_VirtualPort:
12:17:48.438> main(). Time syncronization = 1
12:17:48.438> GPS_UnixTime_Get(GPS_Device) = 1598951867
12:17:48.438> m_RxBuf_VirtualPort:
12:17:48.873>
12:17:48.873> <-- Receive data from server1, len(4):&1„
12:17:48.873>
12:17:48.873>
12:17:48.873> FLASH_Packet_ResetArchiveStatus(packetNumber = 05681, PACKET_DATA_ACK)
12:17:48.873>
12:17:49.125> m_RxBuf_VirtualPort:
12:17:49.251> main(). Time syncronization = 1
12:17:49.251> GPS_UnixTime_Get(GPS_Device) = 1598951868
12:17:49.251> m_RxBuf_VirtualPort:
12:17:49.374> m_RxBuf_VirtualPort:
12:17:49.437> main(). Time syncronization = 1
12:17:49.437> GPS_UnixTime_Get(GPS_Device) = 1598951868
12:17:49.437> m_RxBuf_VirtualPort:
12:17:50.122> m_RxBuf_VirtualPort:
12:17:50.187> main(). Time syncronization = 1
12:17:50.187> GPS_UnixTime_Get(GPS_Device) = 1598951869
12:17:50.187> m_RxBuf_VirtualPort:
12:17:50.373> m_RxBuf_VirtualPort:
12:17:50.433> main(). Time syncronization = 1
12:17:50.433> GPS_UnixTime_Get(GPS_Device) = 1598951870
12:17:50.433> m_RxBuf_VirtualPort:
12:17:50.685> <-- CMD_modem
12:17:50.685> str_AT=AT+CUSD=1,“123”, len=15
12:17:50.810> Answer modem >>
12:17:50.810> +QENG: 0,250,02,2612,eeb5,637,45,-72,131,211,0,5,x,x,x,x,x,x,x
12:17:50.810>
12:17:50.810> Get_Base_Stations >> 0
12:17:50.810> m_RxBuf_VirtualPort:
12:17:50.810> m_RxBuf_VirtualPort:
12:17:50.810> main(). Time syncronization = 1
12:17:50.810> GPS_UnixTime_Get(GPS_Device) = 1598951870
12:17:51.556> m_RxBuf_VirtualPort:
12:17:51.620> main(). Time syncronization = 1
12:17:51.620> GPS_UnixTime_Get(GPS_Device) = 1598951871
12:17:51.620> m_RxBuf_VirtualPort:
12:17:52.245> <-- CMD_modem
12:17:52.245> str_AT=AT+CUSD=1,“123”, len=15
12:17:52.245> Answer modem >>
12:17:52.245> ERROR
12:17:52.245>
12:17:52.245> Get_Base_Stations >> 0
12:17:52.492> m_RxBuf_VirtualPort:
12:17:52.492> main(). Time syncronization = 1
12:17:52.492> GPS_UnixTime_Get(GPS_Device) = 1598951872
12:17:52.492> main(). Time syncronization = 1
12:17:52.492> GPS_UnixTime_Get(GPS_Device) = 1598951872
12:17:53.180> m_RxBuf_VirtualPort:
12:17:53.243> main(). Time syncronization = 1
12:17:53.243> GPS_UnixTime_Get(GPS_Device) = 1598951872
12:17:53.243> m_RxBuf_VirtualPort:
12:17:53.740> <-- CMD_modem
12:17:53.740> str_AT=AT+CUSD=1,“123”, len=15
12:17:53.865> Answer modem >>
12:17:53.865> +QENG: 0,250,02,2612,eeb5,637,45,-76,131,211,0,5,x,x,x,x,x,x,x
12:17:53.865>
12:17:53.865> Get_Base_Stations >> 0
12:17:53.865> m_RxBuf_VirtualPort:
12:17:53.865> m_RxBuf_VirtualPort:
12:17:53.865> main(). Time syncronization = 1
12:17:53.865> GPS_UnixTime_Get(GPS_Device) = 1598951873
12:17:54.366> m_RxBuf_VirtualPort:
12:17:54.616> main(). Time syncronization = 1
12:17:54.616> GPS_UnixTime_Get(GPS_Device) = 1598951873
12:17:54.616> >>Course<<
12:17:54.616>
12:17:54.616> Send data to packet. Period = 30 secs
12:17:54.616> m_RxBuf_VirtualPort:
12:17:54.616> <-- MSG_ID_USER_DATA2 -->
12:17:54.616> main(). Time syncronization = 1
12:17:54.616> GPS_UnixTime_Get(GPS_Device) = 1598951874
12:17:54.616> 0xC1 >> FLAG_NewCoord
12:17:54.616> **** Success verifying packet number = 5682 at address = 02C640
12:17:54.616> 0xC1: FLASH_WriteMessage. PacketNumber = 5682
12:17:54.616> 1. GSM_Record_Add
12:17:54.616> 3. GSM_Record_Add. Server enabled
12:17:54.616> 4. GSM_Record_Add. AuthorizationIsCompleted. Try
12:17:54.828> 5. GSM_Record_Add. service->status == Service_Run. Create KGK packet
12:17:54.828> 6. GSM_Record_Add. Packet size > 0. GSM_Packet_Add
12:17:54.828> <- current_slot 0
12:17:54.828> Slot — 0 — try send
12:17:54.828> m_SocketId = 3, packetSize = 39
12:17:54.828> sending_data[] =
12:17:54.828> <-- Ql_SOC_Send ret = 39–>
12:17:54.828> <-- Send data to Socket successfully. -->
12:17:54.828> Slot — 0 — sended successfully
12:17:54.968> <-- CMD_modem
12:17:54.968> str_AT=AT+CUSD=1,“123”, len=15
12:17:54.968> Answer modem >>
12:17:54.968> ERROR
12:17:54.968>
12:17:54.968> Get_Base_Stations >> 0
12:17:55.613> m_RxBuf_VirtualPort:
12:17:55.613> main(). Time syncronization = 1
12:17:55.613> GPS_UnixTime_Get(GPS_Device) = 1598951875
12:17:55.613> main(). Time syncronization = 1
12:17:55.613> GPS_UnixTime_Get(GPS_Device) = 1598951875
12:17:56.488> <-- CMD_modem
12:17:56.488> str_AT=AT+CUSD=1,“123”, len=15
12:17:56.488> Answer modem >>
12:17:56.488> +QENG: 0,250,02,2612,eeb5,637,45,-73,131,211,0,5,x,x,x,x,x,x,x
12:17:56.488>
12:17:56.488> Get_Base_Stations >> 0
12:17:56.488> m_RxBuf_VirtualPort:
12:17:56.488> m_RxBuf_VirtualPort:
12:17:56.488> m_RxBuf_VirtualPort:
12:17:56.488> m_RxBuf_VirtualPort:
12:17:56.488> +QENG: 1,1,625,-86,1,-1,-1,250,02,2612,bdd4,2,640,-88,6,72,104,250,02,2612,845f,3,631,-91,6,-1,-1,250,02,2612,845e,4,632,-92,1,-1,-1,250,02,2612,bea3,5,x,x,x,x,x,x,x,x,x,6,x,x,x,x,x,x,x,x,x
12:17:56.488>
12:17:56.488>
12:17:56.696> +QENG: 1,1,625,-86,1,-1,-1,250,02,2612,bdd4,2,640,-88,6,72,104,250,02,2612,845f,3,631,-91,6,-1,-1,250,02,2612,845e,4,632,-92,1,-1,-1,250,02,2612,bea3,5,x,x,x,x,x,x,x,x,x,6,x,x,x,x,x,x,x,x,x
12:17:56.696> main(). Time syncronization = 1
12:17:56.696> GPS_UnixTime_Get(GPS_Device) = 1598951875
12:17:56.696> main(). Time syncronization = 1
12:17:56.696> GPS_UnixTime_Get(GPS_Device) = 1598951875
12:17:56.696> main(). Time syncronization = 1
12:17:56.696> GPS_UnixTime_Get(GPS_Device) = 1598951875
12:17:56.696> m_RxBuf_VirtualPort:
12:17:56.696> m_RxBuf_VirtualPort:
12:17:57.297> m_RxBuf_VirtualPort:
12:17:57.297> m_RxBuf_VirtualPort:
12:17:57.297> main(). Time syncronization = 1
12:17:57.297> GPS_UnixTime_Get(GPS_Device) = 1598951876
12:17:57.297> main(). Time syncronization = 1
12:17:57.297> GPS_UnixTime_Get(GPS_Device) = 1598951876
12:17:57.983> m_RxBuf_VirtualPort:
12:17:57.983> main(). Time syncronization = 1
12:17:57.983> GPS_UnixTime_Get(GPS_Device) = 1598951877
12:17:57.983> main(). Time syncronization = 1
12:17:57.983> GPS_UnixTime_Get(GPS_Device) = 1598951877