Connecting to PLATFORM | Telit Cinterion IoT Developer Community
August 22, 2016 - 10:39am, 7124 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???
MyAnalogSensor config
ALARM_ENABLED = true
SAMPLING_RATE = 15
THRESHOLD_H = 100
THRESHOLD_L = 0
DELTA = 2
LAST_LOOK_FACTOR = 0
REPORTING_RATE = 20
MyBooleanSensor config
REPORTING_RATE = 20
REPORT_ON_UP = true
REPORT_ON_DOWN = true
MyDataExchangeDevice config
REPORTING_RATE=200
RUNNING_TIME = 0
SensorLogic config
# device id which will be used in the communication with the server
DEVICE_ID = DIYP_LJ1
# level of displayed output messages
# OFF = 0; ERROR = 1; WARN = 2; INFO = 3;
# DEBUG = 4; DEBUG_AT_COMMANDS = 5; MEMORY_USAGE = 6
LOG_LEVEL = 5
SL_PORTAL_URL=http://partner.api.sensorlogic.com/v5.0
SL_PORTAL_PORT = 17198
SL_PORTAL_TLS_CONNECTION = false
OPERATING_MODE = HIGH_AVAILABILITY
POWER_SAVING_IDLE_TIMEOUT = 60
POWER_SAVING_POLLING_PERIOD = 14400
SL_PORTAL_URL_BACKUP = 199.167.39.10
SL_PORTAL_PORT_BACKUP = 17199
SEND_ENUMERATE = true
MESSAGE_BUFFER_SIZE = 42
MESSAGE_BUFFER_LOWER_WARNING_LEVEL = 80
MESSAGE_BUFFER_HIGHER_WARNING_LEVEL = 90
Hello,
I was also unable to connect to the provided address (even without http:// which should not be here) with my application. Please contact the person who provided you with the credentials.
Regards,
Bartłomiej
in SensorLogic config what does this line ???
SEND_ENUMERATE=true
Hello,
If true the detailed information about all connected devices and remote services will be sent to the platform during the first connection after each application start without request. If false it will be sent only on request.
Regards,
Bartłomiej
is normal that my "current location" on SL portal shows in Poland?
Actually shows in location > from MY REAL LOCATION to "My current location"(Poland)
With SLAgent software you can use cell id based location (cell id is sent to the platform and the location is taken from some cell ID based location provider) or you can use your own GPS receiver and send the location to the platform with the provided API. Maybe you are just using some demo application that has some position hardcoded for demonstration purposes?