подключение к серверу
Додано: 06 листопада 2016, 22:13
Здравствуйте.Не могу соединить ОКО-U2 и сервер.Что я делаю неправильно?Вот лог:
HWM 1WIRE_1: 62
HWM 1WIRE_2: 7A
HWM ADC: 64
HWM SPI: 72
HWM RS485: 62
HWM GSM: 6E
HWM Core: 64
HWM I_O_TIMERS: 38
HWM PRINT_DEBUG: 58
ALL TASKS ALIVE
ID: 05D6FF34-36374D42-43186218
Core Idle: 0D5CDC
Receive from Modem: a/TP/1.1 200 OK
Date: Sun, 06 Nov 2016 19:54:22 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.4.45
Content-Length: 473
Connection: close
Content-Type: text/html; charset=UTF-8
RECEIVE OK
SET CLOCK:AT+CCLK="16/11/06,21:54:22+00"
COMMAND:;
Fatal error: SafeMySQL: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1. Full query: [SELECT id FROM log_last_connection
Receive from Modem: a/www/oko/data/www/app.oko.tm/server/insertEvents.php on line 331, thrown in /var/www/oko/data/www/app.oko.tm/server/mysqlclass.php on line 613
Send to Modem: AT+CIPSHUT
Receive from Modem:
SHUT OK
Send to Modem: AT+CGATT=0
Receive from Modem:
ERROR
Send to Modem: AT+CPMS="SM"
Receive from Modem:
+CPMS: 0,10,0,10,0,10
OK
Send to Modem: AT+CMGS="
Send to Modem: +380675271663
ADC: 00-00-00-00-00-0FFE-0FFE-0E05-0FFE-0FFE-0FFE-0FFE-06-01-01-01-
Send to Modem: "
Receive from Modem:
>
Send to Modem: z4 TREVOGA
Send to Modem:
Core Idle: 063ABA
Receive from Modem:
+CMGS: 15
OK
Send to Modem: ATD
Send to Modem: PHONE
Send to Modem: ;
Receive from Modem:
HWM 1WIRE_1: 62
HWM 1WIRE_2: 7A
HWM ADC: 64
HWM SPI: 72
HWM RS485: 62
HWM GSM: 6E
HWM Core: 64
HWM I_O_TIMERS: 38
HWM PRINT_DEBUG: 58
ALL TASKS ALIVE
ID: 05D6FF34-36374D42-43186218
Core Idle: 0D5CDC
Receive from Modem: a/TP/1.1 200 OK
Date: Sun, 06 Nov 2016 19:54:22 GMT
Server: Apache/2.2.15 (CentOS)
X-Powered-By: PHP/5.4.45
Content-Length: 473
Connection: close
Content-Type: text/html; charset=UTF-8
RECEIVE OK
SET CLOCK:AT+CCLK="16/11/06,21:54:22+00"
COMMAND:;
Fatal error: SafeMySQL: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1. Full query: [SELECT id FROM log_last_connection
Receive from Modem: a/www/oko/data/www/app.oko.tm/server/insertEvents.php on line 331, thrown in /var/www/oko/data/www/app.oko.tm/server/mysqlclass.php on line 613
Send to Modem: AT+CIPSHUT
Receive from Modem:
SHUT OK
Send to Modem: AT+CGATT=0
Receive from Modem:
ERROR
Send to Modem: AT+CPMS="SM"
Receive from Modem:
+CPMS: 0,10,0,10,0,10
OK
Send to Modem: AT+CMGS="
Send to Modem: +380675271663
ADC: 00-00-00-00-00-0FFE-0FFE-0E05-0FFE-0FFE-0FFE-0FFE-06-01-01-01-
Send to Modem: "
Receive from Modem:
>
Send to Modem: z4 TREVOGA
Send to Modem:
Core Idle: 063ABA
Receive from Modem:
+CMGS: 15
OK
Send to Modem: ATD
Send to Modem: PHONE
Send to Modem: ;
Receive from Modem: