Connecting to PLATFORM | Telit Cinterion IoT Developer Community
August 22, 2016 - 10:39am, 7123 views
Hello, code is running together with SIM card, using module and commands. I got the following information:
[INFO] [Bootstrap] Using DIYP_LJ1 as DEVICE ID
[INFO] GRIPExecutor: Connecting:
TLS: false
Gprs parameters: ;access_point=internet.mts.ru;
username=mts;
password=mts;
bearer_type=gprs
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [Bootstrap] Successfuly connected to SL Portal in HIGH_AVAILABILITY mode
[INFO] [Bootstrap] GRIP ready
[INFO] [Bootstrap] Successfuly connected to SL Portal in HIGH_AVAILABILITY mode
[INFO] [GSMEngine] Registering incoming SMS URCs
[INFO] [SmsControl] Searching for platform messages to delete
[INFO] [TaskProcessor] Start processing tasks.
But I cannot see no one change or activity in SL Portal, I created the device as said in "SensorLogic Portal-5.0.0.0-UserGuide.pdf" page 24. Maybe there is some configuration that I'm missing???
Hello,
I can't see the port number in your logs. But on the other hand the log claims that the connection has been established.
If you have created the device with the same ID on the server and in the application log you can see that the messages are successfully being sent, you should also see the new data in the admin panel. If not maybe the server on which the module connects is not the same as the one you connect with admin portal. I think that you should contact the person from whom you've got the credentials. Or maybe there are some errors in the log and no messages are sent from the module.
Regards,
Bartłomiej
and is posible to connect to Sensor Logic Portal without SIM card?
i,
Sersonlogic is a cloud service server in the internet.
Without a SIM CARD you will be not able to be connected to the internet to acces to the cloud server
Regards
ALopez
Somewhere over the rainbow!!! Looking for the Oz Land!!!
This is part of what I got from console. There said that connection to portal was succesful, but to plataform is not, anyway I cannot read no one new data in the admin panel.
OperatorName:TELE2 RU
MCC:250
MNC:20
LAC:27819
cellID:10402***
timeStamp:1072915***
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 3
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 4
[INFO] [TaskProcessor] MessageTask_9(MyAnalogSensor id: measurement(value: 4, timestamp: 1072915518)) added
[DEBUG] [TaskManager] 9 tasks in queue
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: false
[INFO] [TaskProcessor] MessageTask_10(MyBooleanSensor id: measurement(state: false, timestamp: 1072915518)) added
[DEBUG] [TaskManager] 10 tasks in queue
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 5
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [Bootstrap] Successfuly connected to SL Portal in HIGH_AVAILABILITY mode
[INFO] [GSMEngine] Registering incoming SMS URCs
[INFO] FileManagerStub::onDown
[INFO] AppManagerStub::onDown
[INFO] GRIP down
>>> SLA EVENT: MESSAGE: <<
>> No connection to platform <<<<
[INFO] FileManagerStub::onReady
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [BooleanSensorStub: MyBooleanSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [SmsControl] Searching for platform messages to delete
These two messages are about the same connection. So it looks like the connection was lost. Please observe these kind of messages:
"[DEBUG] [TaskManager] 10 tasks in queue" - is the queue still growing or will some messages be sent and the queue will decrease.
Maybe there's a problem with the network coverage or similar. Please also attach the whole log - maybe there's some more information.
Regards,
Bartłomiej
thanks, yes, I also notified this problem, I dont know how to fix it... here is the log
Start App
[INFO] [ModuleInformation] enable Board Temperature monitoring
[DEBUG] [BoardTemperatureMonitor] monitoring started with interval: 300
[DEBUG] [BoardTemperatureMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable FFS space monitoring
DEBUG] [FfsMonitor] monitoring started with interval: 300
[DEBUG] [FfsMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable Supply Voltage monitoring
[DEBUG] [SupplyVoltageMonitor] monitoring started with interval: 300
[DEBUG] [SupplyVoltageMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable Sim Id monitoring
[INFO] [GSMEngine] Registering incoming SIM URCs
[INFO] Current imsi: 250207404397798
[DEBUG] [SystemTimeMeasurementMonitor] monitoring started with interval: 20
[DEBUG] [LinkQualityThresholdMonitor] monitoring started with interval: 300
[DEBUG] [LinkQualityMeasurementMonitor] monitoring started with interval: 14400
[DEBUG] [SignalQualityMeasurementMonitor] monitoring started with interval: 14400
[DEBUG] [ReAttachMeasurementMonitor] monitoring started with interval: 14400
[DEBUG] [ReAttachThresholdMonitor] monitoring started with interval: 300
[INFO] [JammingUrcListener] Bind Atc interface
[DEBUG] [JammingUrcListener] Configure +CIEV URCs
[DEBUG] [JammingUrcListener] Enable rssi URCs
[DEBUG] [JammingUrcListener] AT^SIND=rssi,1\n
SIND: rssi,1,2
OK
[DEBUG] [JammingUrcListener] Enable rssi URCs: done
[DEBUG] [JammingUrcListener] Enable lsta URCs
[DEBUG] [JammingUrcListener] AT^SIND=lsta,1,1
+CME ERROR: operation temporary not allowed
[DEBUG] [JammingUrcListener] Enable lsta URCs: done
[DEBUG] [JammingUrcListener] Configure +CIEV URCs: done
[INFO] [JammingUrcListener] Bind Atc interface: done
[INFO] =======================================================
[INFO] [JammingUrcListener] Jamming detection active and ready
[INFO] =======================================================
[DEBUG] AppManager::openRecordStore: name: app_manager
Register analog sensor
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id] monitoring started with interval: 15
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id] monitoring started with interval: 20
Register boolean sensor
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id] monitoring started with interval: 20
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id] monitoring started with interval: 20
Register actuator
Register data exchange unit
[DEBUG] [DataExchangeDeviceMonitor: MyDataExchangeDevice id] monitoring started with interval: 200
Register LocationReport
Boot
[INFO] [Bootstrap] Booting...
[DEBUG] [FfsMonitor]: checking value: 82
[DEBUG] [FfsMeasurementMonitor]: sending measurement: 82
[INFO] [TaskProcessor] MessageTask_1(free_ffs(82,1072937998)) added
[DEBUG] [TaskManager] 1 tasks in queue
[INFO] SIM PIN was already entered before.
[DEBUG] [SupplyVoltageMonitor]: checking value: 3650
[DEBUG] [SystemTimeMeasurementMonitor]: sending measurement: 0
[INFO] [TaskProcessor] MessageTask_2(system_time_report(1072938000)) added
[DEBUG] [TaskManager] 2 tasks in queue
[DEBUG] [SupplyVoltageMeasurementMonitor]: sending measurement: 3650
[INFO] [TaskProcessor] MessageTask_3(supply_voltage_report(3650,1072938001)) added
[DEBUG] [TaskManager] 3 tasks in queue
[DEBUG] [ReAttachMeasurementMonitor]: sending measurement: 0
[INFO] [TaskProcessor] MessageTask_4(reattach_report(0,1072938001)) added
[DEBUG] [TaskManager] 4 tasks in queue
[DEBUG] [ReAttachThresholdMonitor]: checking value: 0
[INFO] [Bootstrap] Module registered to the network, and ready to connect!
[INFO] [Bootstrap] Connection parameters:;access_point=internet.tele2.ru;bearer_type=gprs
[INFO] [Bootstrap] Using DIYP_LJ1 as DEVICE ID
[INFO] GRIPExecutor: Connecting:
Address: http://partner.api.sensorlogic.com/v5.******
Fall-back address: 199.167.39.10:171***
TLS: false
Gprs parameters: ;access_point=internet.tele2.ru;bearer_type=gprs
Keep-alive: 120 Idle timeout: 60 Power saving: false
[INFO] FileManagerStub::onRegistryChange
[INFO] AppManagerStub::onRegistryChange
[INFO] GRIPExecutor: onRegistryChange
[INFO] FileManagerStub::onReady
[DEBUG] [BoardTemperatureMonitor]: checking value: 28
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 1
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 2
[INFO] [TaskProcessor] MessageTask_5(MyAnalogSensor id: measurement(value: 2, timestamp: 1072938002)) added
[DEBUG] [TaskManager] 5 tasks in queue
[DEBUG] [BoardTemperatureMeasurementMonitor]: sending measurement: 28
[INFO] [TaskProcessor] MessageTask_6(board_temperature(28,1072938003)) added
[DEBUG] [TaskManager] 6 tasks in queue
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: true
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: sending measurement: true
[INFO] [TaskProcessor] MessageTask_7(MyBooleanSensor id: measurement(state: true, timestamp: 1072938003)) added
[DEBUG] [TaskManager] 7 tasks in queue
[DEBUG] [DataExchangeDeviceMonitor: MyDataExchangeDevice id] sending measurements...
[INFO] [TaskProcessor] MessageTask_8(MyDataExchangeDevice id: measurement(MyDataExchangeUnit(id: MyDataExchangeUnit id, label: MyDataExchangeUnit, type: 5, readOnly: false))) added
[DEBUG] [TaskManager] 8 tasks in queue
[DEBUG] [LinkQualityThresholdMonitor]: checking value: 7
[DEBUG] [LinkQualityMonitor] : check linkQuality value:6
[DEBUG] [LinkQualityMeasurementMonitor]: sending measurement: 6
[INFO] [TaskProcessor] MessageTask_9(link_quality_report(6,1072938005)) added
[DEBUG] [TaskManager] 9 tasks in queue
[DEBUG] [SignalQualityMeasurementMonitor]: sending measurement: 93
[INFO] [TaskProcessor] MessageTask_10(signal_quality_report(93,1072938006)) added
[DEBUG] [TaskManager] 10 tasks in queue
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 3
[DEBUG] [SystemTimeMeasurementMonitor]: sending measurement: 0
[INFO] [TaskProcessor] MessageTask_11(system_time_report(1072938020)) added
[DEBUG] [TaskManager] 11 tasks in queue
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 4
[INFO] [TaskProcessor] MessageTask_12(MyAnalogSensor id: measurement(value: 4, timestamp: 1072938022)) added
[DEBUG] [TaskManager] 12 tasks in queue
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: false
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: sending measurement: false<\r><\n>
[INFO] [TaskProcessor] MessageTask_13(MyBooleanSensor id: measurement(state: false, timestamp: 1072938023)) added
[DEBUG] [TaskManager] 13 tasks in queue
[INFO] [NetworkAttachMonitor] Verifying CREG
[INFO] [NetworkAttachMonitor] New network attach detected
[INFO] [NetworkAttachMonitor] Attach rate: 1
[INFO] [NetworkAttachMonitor] Atttach attempts: 2
[INFO] Current imsi: 250207404397***
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 5
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [BooleanSensorStub: MyBooleanSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [Bootstrap] Successfuly connected to SL Portal in HIGH_AVAILABILITY mode
[INFO] [GSMEngine] Registering incoming SMS URCs
[INFO] FileManagerStub::onDown
[INFO] AppManagerStub::onDown
[INFO] GRIP down
SLA EVENT: MESSAGE: No connection to platform
[INFO] FileManagerStub::onReady
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [BooleanSensorStub: MyBooleanSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [SmsControl] Searching for platform messages to delete
[INFO] [TaskProcessor] Start processing tasks.
[INFO] [TaskProcessor] Taking task: MessageTask_1(free_ffs(82,1072937998))
[INFO] [TaskProcessor] Tasks in queue: 12
[DEBUG] [MessageTask_1] Reporting message: free_ffs(82,1072937998)
[DEBUG] [SystemTimeMeasurementMonitor]: sending measurement: 0
[INFO] [TaskProcessor] MessageTask_14(system_time_report(1072938040)) added
[DEBUG] [TaskManager] 13 tasks in queue
[INFO] [MNOInformationMonitor] verifying MNOInformation
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 6
[INFO] [TaskProcessor] MessageTask_15(MyAnalogSensor id: measurement(value: 6, timestamp: 1072938042)) added
[DEBUG] [TaskManager] 14 tasks in queue
Hello,
For now it seems to me that there are problems with network quality. Have you tried other applications that use network? What hardware are you using, do you have antenna connected?
Please set log level to 5 to see more debug. You should see then also AT commands for example AT+CSQ, AT^SMONI.
You can send me the configuration files by email so I could also verify and try to connect there.
Regards,
Bartłomiej
this is my first app, Im using Cinterion concept board and a sim card. I think my antenna is connected.
this is what i get by AT+CSQ, AT^SMONI
AT+CSQ ---> CSQ: 10,99
At^SMONI ---> SMONI: 3G,10587,468,-9.0,-92,250,20,6CA9,04BB9EC,11,15,NOCONN
changing Log to 5 :
Start App
[INFO] [ModuleInformation] enable Board Temperature monitoring
[DEBUG] [BoardTemperatureMonitor] monitoring started with interval: 300
[DEBUG] [BoardTemperatureMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable FFS space monitoring
[DEBUG] [FfsMonitor] monitoring started with interval: 300
[DEBUG] [FfsMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable Supply Voltage monitoring
[DEBUG] [SupplyVoltageMonitor] monitoring started with interval: 300
[DEBUG] [SupplyVoltageMeasurementMonitor] monitoring started with interval: 14400
[INFO] [ModuleInformation] enable Sim Id monitoring
[INFO] [GSMEngine] Registering incoming SIM URCs
[AT] AT+CREG=1
OK
[AT] AT+CREG?
+CREG: 1,1
OK
[AT] AT+CIMI
250207404397798
OK
[INFO] Current imsi: 250207404397798
[DEBUG] [LinkQualityThresholdMonitor] monitoring started with interval: 300
[DEBUG] [LinkQualityMeasurementMonitor] monitoring started with interval: 14400
[AT] AT+CREG=2
OK
[DEBUG] [SignalQualityMeasurementMonitor] monitoring started with interval: 14400
[DEBUG] [ReAttachMeasurementMonitor] monitoring started with interval: 14400
[DEBUG] [ReAttachThresholdMonitor] monitoring started with interval: 300
[INFO] [JammingUrcListener] Bind Atc interface
[DEBUG] [JammingUrcListener] Configure +CIEV URCs
[DEBUG] [JammingUrcListener] Enable rssi URCs
[AT] AT^SIND=rssi,1
^SIND: rssi,1,1
OK
[DEBUG] [JammingUrcListener] AT^SIND=rssi,1
^SIND: rssi,1,1
OK
[DEBUG] [JammingUrcListener] Enable rssi URCs: done
[DEBUG] [JammingUrcListener] Enable lsta URCs
[AT] AT^SIND=lsta,1,1
^SIND: lsta,1,1
OK
[DEBUG] [JammingUrcListener] AT^SIND=lsta,1,1
^SIND: lsta,1,1
OK
[DEBUG] [JammingUrcListener] Enable lsta URCs: done
[DEBUG] [JammingUrcListener] Configure +CIEV URCs: done
[INFO] [JammingUrcListener] Bind Atc interface: done
[INFO] =======================================================
[INFO] [JammingUrcListener] Jamming detection active and ready
[INFO] =======================================================
[DEBUG] AppManager::openRecordStore: name: app_manager
Register analog sensor
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id] monitoring started with interval: 15
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id] monitoring started with interval: 20
Register boolean sensor
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id] monitoring started with interval: 20
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id] monitoring started with interval: 20
Register actuator Register data exchange unit
[DEBUG] [DataExchangeDeviceMonitor: MyDataExchangeDevice id] monitoring started with interval: 200
Register LocationReport
Boot
[INFO] [Bootstrap] Booting...
[AT] AT+CPIN?
+CPIN: READY
OK
[DEBUG] [FfsMonitor]: checking value: 82
[DEBUG] [FfsMeasurementMonitor]: sending measurement: 82
[INFO] [TaskProcessor] MessageTask_1(free_ffs(82,1072930523)) added
[DEBUG] [TaskManager] 1 tasks in queue
[INFO] SIM PIN was already entered before.
[AT] AT^SCTM=0,1
OK
[AT] AT^SCTM=0,1
OK
[AT] AT^SBV
^SBV: 3648
OK
[DEBUG] [SupplyVoltageMonitor]: checking value: 3640
[AT] AT^SBV
^SBV: 3648
OK
[DEBUG] [SupplyVoltageMeasurementMonitor]: sending measurement: 3640<\r><\n>
[INFO] [TaskProcessor] MessageTask_2(supply_voltage_report(3640,1072930525)) added
[DEBUG] [TaskManager] 2 tasks in queue
[AT] AT+CREG?
+CREG: 2,1,"6CAB","009EBAAD",6
OK
[DEBUG] [ReAttachMeasurementMonitor]: sending measurement: 0
[INFO] [TaskProcessor] MessageTask_3(reattach_report(0,1072930525)) added
[DEBUG] [TaskManager] 3 tasks in queue
[DEBUG] [ReAttachThresholdMonitor]: checking value: 0
[AT] AT^SMONI
^SMONI: 3G,10612,26,-6.0,-101,250,20,6CAB,09EBAAD,14,6,NOCONN
OK
[INFO] [Bootstrap] Module registered to the network, and ready to connect!
[INFO] [Bootstrap] Connection parameters:;access_point=internet.tele2.ru;bearer_type=gprs
[INFO] [Bootstrap] Using DIYP_LJ1 as DEVICE ID
[INFO] GRIPExecutor: Connecting:
Address: http://partner.api.sensorlogic.com/v5.0:17198
Fall-back address: 199.167.39.10:17199
TLS: false
Gprs parameters: ;access_point=internet.tele2.ru;bearer_type=gprs
Keep-alive: 120 Idle timeout: 60 Power saving: false
[INFO] FileManagerStub::onRegistryChange
[INFO] AppManagerStub::onRegistryChange
[INFO] GRIPExecutor: onRegistryChange
[AT] AT^SCTM?
^SCTM: 0,0,30
OK
[INFO] FileManagerStub::onReady
[DEBUG] [BoardTemperatureMonitor]: checking value: 30
[AT] AT^SCTM?
^SCTM: 0,0,30
OK
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 1
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 2
[INFO] [TaskProcessor] MessageTask_4(MyAnalogSensor id: measurement(value: 2, timestamp: 1072930527)) added
[DEBUG] [TaskManager] 4 tasks in queue
[DEBUG] [BoardTemperatureMeasurementMonitor]: sending measurement: 30
[INFO] [TaskProcessor] MessageTask_5(board_temperature(30,1072930527)) added
[DEBUG] [TaskManager] 5 tasks in queue
[AT] at+creg?
+CREG: 2,1,"6CAB","009EBAAD",6
OK
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: true
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: sending measurement: true
[INFO] [TaskProcessor] MessageTask_6(MyBooleanSensor id: measurement(state: true, timestamp: 1072930527)) added
[DEBUG] [TaskManager] 6 tasks in queue
[DEBUG] [DataExchangeDeviceMonitor: MyDataExchangeDevice id] sending measurements...
[INFO] [TaskProcessor] MessageTask_7(MyDataExchangeDevice id: measurement(MyDataExchangeUnit(id: MyDataExchangeUnit id, label: MyDataExchangeUnit, type: 5, readOnly: false))) added
[DEBUG] [TaskManager] 7 tasks in queue
[AT] AT^SMONI
^SMONI: 3G,10612,26,-7.0,-104,250,20,6CAB,09EBAAD,13,3,NOCONN
OK
[AT] at+creg?
>+CREG: 2,1,"6CAB","009EBAAD",6
OK
[AT] AT+COPS?
+COPS: 0,0,"TELE2 RU",2
OK
[AT] AT^SMONI
^SMONI: 3G,10612,26,-6.0,-102,250,20,6CAB,09EBAAD,14,5,NOCONN
OK
[AT] AT^SMONI
^SMONI: 3G,10612,26,-6.0,-101,250,20,6CAB,09EBAAD,14,6,NOCONN
OK
[DEBUG] [LinkQualityMonitor] : check linkQuality value:3
[DEBUG] [LinkQualityMeasurementMonitor]: sending measurement: 3
[INFO] [TaskProcessor] MessageTask_8(link_quality_report(3,1072930529)) added
[DEBUG] [TaskManager] 8 tasks in queue
[DEBUG] [LinkQualityThresholdMonitor]: checking value: 4
[DEBUG] [SignalQualityMeasurementMonitor]: sending measurement: 101
[INFO] [TaskProcessor] MessageTask_9(signal_quality_report(101,1072930530)) added
[DEBUG] [TaskManager] 9 tasks in queue
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 3
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 4
[INFO] [TaskProcessor] MessageTask_10(MyAnalogSensor id: measurement(value: 4, timestamp: 1072930547)) added
[DEBUG] [TaskManager] 10 tasks in queue
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: false
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: sending measurement: false
[INFO] [TaskProcessor] MessageTask_11(MyBooleanSensor id: measurement(state: false, timestamp: 1072930547)) added
[DEBUG] [TaskManager] 11 tasks in queue
[DEBUG] [AnalogSensorThresholdMonitor: MyAnalogSensor id]: checking value: 5
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [BooleanSensorStub: MyBooleanSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[INFO] [Bootstrap] Successfuly connected to SL Portal in HIGH_AVAILABILITY mode
[INFO] [GSMEngine] Registering incoming SMS URCs
[AT] AT+CMGF=1
OK
[INFO] FileManagerStub::onDown
[INFO] AppManagerStub::onDown
[INFO] GRIP down
SLA EVENT: MESSAGE: No connection to platform
[INFO] FileManagerStub::onReady
[INFO] AppManagerStub::onReady
[INFO] [AnalogSensorStub: MyAnalogSensor id] call onReady
[INFO] [BooleanSensorStub: MyBooleanSensor id] call onReady
[INFO] [ActuatorStub: MyActuator id] call onReady
[INFO] [DataExchangeDeviceStub: MyDataExchangeDevice id] call onReady
[INFO] [Bootstrap] GRIP ready
[AT] AT+CSCS="UCS2"
OK
[AT] AT+CNMI=2,1
OK
[INFO] [SmsControl] Searching for platform messages to delete
[AT] AT+CPMS?
+CPMS: "SM",10,10,"SM",10,10,"SM",10,10
OK
[AT] AT+CSCS="UCS2"
OK
[AT] at+cmgr=1
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:55:21+12"
042704350440043504370020003200200434043D044F0020043E0442043A043B044E0447043804420441044F0020043104350441043F043B04300442043D0430044F002004430441043B04430433043000200418043D044204350440043D0435044200200441002004420435043B04350444043E043D0430002E00200414043B044F0020
OK
[AT] at+cmgr=2
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:55:00+12"
043D0435043D04380435002004410447043504420430002004410020043A043004400442044B0020043B044E0431043E0433043E002004310430043D043A0430002E0020041F043E04340440002E0020003600390032002004380020043D04300020006F0070006C006100740061002E00740065006C00650032002E00720075
OK
[AT] at+cmgr=3<
+CMGR: "REC READ","00540065006C00650032",,"16/08/29,09:52:10+12"
0436043504420020043F043E043F043E043B043D044F0442044C0441044F0020043004320442043E043C043004420438044704350441043A0438002004410020043104350441043F043B04300442043D043E0439002004430441043B04430433043E043900202018041004320442043E043F043B04300442043504362019002E00200423
OK
[AT] at+cmgr=4
+CMGR: "REC READ","00540065006C00650032",,"16/08/29,09:52:10+12"
0437043D04300442044C0020043F043E04340440043E0431043D04350435002004380020043F043E0434043A043B044E044704380442044C0020043C043E0436043D043E0020043D04300020006100750074006F007000610079002E00740065006C00650032002E00720075002004380020003600390032
OK
[AT] at+cmgr=5
+CMGR: "REC READ","00540065006C00650032",,"16/08/29,09:52:10+12"
00320039002E00300038002E0032003000310036002000300031003A003300340020043204400435043C044F0020043C043E0441043A043E04320441043A043E0435003A0020043D0430002004310430043B0430043D044104350020043C0435043D043504350020003100300070002E002004110430043B0430043D04410020043C043E
OK
[INFO] [TaskProcessor] Start processing tasks.
[INFO] [TaskProcessor] Taking task: MessageTask_1(free_ffs(82,1072930523))
[INFO] [TaskProcessor] Tasks in queue: 10
[DEBUG] [MessageTask_1] Reporting message: free_ffs(82,1072930523)
[AT] at+cmgr=6
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:57:52+12"
00320038002E00300038002E0032003000310036002004120430043C0020043F043E0434043A043B044E04470435043D0020044204300440043804440020042704350440043D044B0439002E002004230437043D04300442044C0020043E0441044204300442043E043A00200438002004410440043E043A00200441043B043504340443
OK
[AT] at+cmgr=7
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:57:52+12"
044E044904350433043E00200441043F043804410430043D0438044F002004300431002E0020043F043B04300442044B003A00200434043B044F00200442043004400438044404300020002A003100350035002A00300023002C00200434043B044F0020043F0430043A0435044204300020002A003100350035002A003000300023002E
OK
[AT] at+cmgr=8
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:55:00+12"
0042004800450043004500480041002000430059004D004D00410020003200300030002E0030003000200070002E002004230441043B04430433043000202018041004320442043E043F043B043004420435043620190020002D0020043004320442043E043C043004420438044704350441043A043E04350020043F043E043F043E043B
OK
[AT] at+cmgr=9
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:55:21+12"
044204300432043B044F043504420441044F0020003700350020041C0411002E002F044104430442002E
OK
[DEBUG] [AnalogSensorMeasurementMonitor: MyAnalogSensor id]: sending measurement: 6
[INFO] [TaskProcessor] MessageTask_12(MyAnalogSensor id: measurement(value: 6, timestamp: 1072930567)) added
[DEBUG] [TaskManager] 11 tasks in queue
[AT] at+cmgr=10
+CMGR: "REC READ","00540065006C00650032",,"16/08/28,19:55:21+12"
041104350441043F043B04300442043D0430044F002004430441043B044304330430002000270418043D044204350440043D0435044200200441002004420435043B04350444043E043D043000270020043E0442043A043B044E04470435043D0430002E0020041F043E0434043A043B044E044704380442044C0020002D0020002A0031
OK
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: checking measurement: true
[DEBUG] [BooleanSensorMonitor: MyBooleanSensor id]: sending measurement: true
[INFO] [TaskProcessor] MessageTask_13(MyBooleanSensor id: measurement(state: true, timestamp: 1072930567)) added
[DEBUG] [TaskManager] 12 tasks in queue
Hello,
The network quality is not really good but not that bad also. Have you tried with other provider? Are you sure that your SIM card allows data transmission service?
If you leave the app for longer time you may finally see some exception - maybe it will be helpful.
And you still can send me the config files so I could check if everything is OK and if it is possible to connect to the platform with the credentials that you are using - If so your network, subscription or network access configuration would be to blame.
You could also use BearerControlListener interface in your application to debug the bearer state. Example:
Regards,
Bartłomiej
I think this SIM card allows data transmission. This is the only one I used.
Module Services config
ONLY_REPORT_CHANGED_VALUES = true
SYSTEM_TIME_REPORTING_RATE=0
TEMP_REPORTING_RATE = 14400
VOLT_REPORTING_RATE = 14400
LINK_QUALITY_REPORTING_RATE = 14400
FREE_FFS_REPORTING_RATE = 14400
REATTACH_REPORTING_RATE = 14400
SIGNAL_QUALITY_REPORTING_RATE = 14400
SIM_ID_ALARM_ENABLED = true
FREE_FFS_ALARM_ENABLED = true
FREE_FFS_SAMPLING_RATE = 300
FREE_FFS_THRESHOLD = 10
TEMP_ALARM_ENABLED = true
TEMP_SAMPLING_RATE = 300
TEMP_H = 85
TEMP_L = -30
TEMP_DELTA = 1
TEMP_LAST_LOOK_FACTOR = 1
VOLT_ALARM_ENABLED = true
VOLT_SAMPLING_RATE = 300
VOLT_THRESHOLD = 3300
VOLT_DELTA = 100
VOLT_LAST_LOOK_FACTOR = 0
JAMMING_DETECTION_ENABLED = true
MNO_INFO_ALARM_MCC = false
MNO_INFO_ALARM_MNC = false
MNO_INFO_ALARM_LAC = false
MNO_INFO_ALARM_CELLID = false
MNO_INFO_ALARM_NAME = false
LINK_QUALITY_ALARM_ENABLED = true
LINK_QUALITY_SAMPLING_RATE = 300
LINK_QUALITY_DELTA = 0
LINK_QUALITY_THRESHOLD = 3
LINK_QUALITY_LAST_LOOK_FACTOR = 2
REATTACH_ALARM_ENABLED = true
REATTACH_SAMPLING_RATE = 300
REATTACH_THRESHOLD = 2
AT_PERMISSION_MODE = NONE
CELLID_BASED_LOCATION_REPORT = false
Pages