ThingsLog LPMDL-110X Command Manual

Low power mobile data logger
Hide thumbs Also See for LPMDL-110X:

Advertisement

Quick Links

Command line guide
Low power mobile data logger
ThingsLog LPMDL-110X Data logger
© iTransformers Labs Ltd
11 Magnaurska shkola str., fl. 3, office 315 (Hightech Business Park, BIC IZOT),
1784, Sofia, Bulgaria
Phone (+359) 875 32 80 70• Email: info@thingslog.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the LPMDL-110X and is the answer not in the manual?

Questions and answers

Summary of Contents for ThingsLog LPMDL-110X

  • Page 1 Command line guide Low power mobile data logger ThingsLog LPMDL-110X Data logger © iTransformers Labs Ltd 11 Magnaurska shkola str., fl. 3, office 315 (Hightech Business Park, BIC IZOT), 1784, Sofia, Bulgaria Phone (+359) 875 32 80 70• Email: info@thingslog.com...
  • Page 2: Table Of Contents

    Table of Contents Access to CLI console port......................4 Base service mode ........................4 Enter in Base service mode ....................4 Store configuration ......................... 5 Load configuration ........................5 Get device number ......................... 5 Get firmware version ......................5 Get date ..........................6 Set date ..........................
  • Page 3 Get APN ..........................15 Set NB-IoT network bands ....................15 Get NB-IoT network bands ....................15 Set NB-IoT network attachment timeout ................16 Get NB-IoT network attachment timeout ................16 Set MQTT parameters .......................16 GET MQTT parameters .....................17 Setup analog sensor settling time ..................17 Example output .........................18 Successful configuration and data transmission ..............20...
  • Page 4: Access To Cli Console Port

    Figure 1 UART & service mode pins in LPMDL-110X To put the device into service mode you need to press the button (red circle). Console pins are left to right TXD RXD GND. If you are using ThingsLog console cable •...
  • Page 5: Store Configuration

    Store configuration 1. Verify you are in base service mode - the prompt is "service # " 2. Execute "store" command to save the configurations 3. Verify "service # " prompt appear Example: service # store service # Load configuration 1.
  • Page 6: Get Date

    Get date 1. Verify you are in base service mode - the prompt is "service # " 2. Execute date command to get the current date 3. Verify "date=<some_date>" appear Example: service # date date=2017-04-01 12:40:00 service # Set date 1.
  • Page 7 display of the meter for the first pulse input • digits2 Total number of Min value: 1 • countable digits on the Max value: 9 display of the meter for the second pulse input count_init1 Max value depends on the digits1 The value of the meter value display of the first pulse...
  • Page 8: Set Initial Config

    So you have to set in set sensors: 0xC05 Hexadecimal number equal to the binary above!!! Set initial config 1. Verify you are in base service mode - the prompt is "service # " 2. Execute set_conf and enter the configuration menu service # set_conf config # help commands:...
  • Page 9: Setting Up Network Identifiers

    count_init1= 123 config # set_count_init2 count_init2= 234 7. Save and apply the configuration. Execute save config # save Save config Applying config Config Counters rec_conf, size=102, rec_size=2, buff_size=206 Alarm enabled service # Setting up network identifiers The logger could have different modem options: 2G, LoRa or NB-IoT. Setting and troubleshooting 2G/GPRS service mode options Set collecting server address and port GSM data loggers are using by default TCP communication on port 4444.
  • Page 10: Get Collecting Server Address And Port

    Get collecting server address and port 1. Verify you are in gprs_service mode - the prompt is "gprs_service # " 2. Execute command get_addr_port 3. Verify "address=<some_ip>" appear 4. Verify "port=<some_port>" appear Example: service # extension gprs_service # get_addr_port address=10.10.10.10 port=4444 done gprs_service #...
  • Page 11: Get 2G Network Attachment Timeout

    set_net_att_delay 2. Execute command 3. Verify "net_att_delay=some.delay " appears. 4. Enter the delay value in milliseconds (default is 35000 ms) e.g 35 seconds. 5. Don’t forget to store the configuration Example: service # extension gprs_service # set_net_att_delay net_att_delay=some.delay done gprs_service # Get 2G network attachment timeout 1.
  • Page 12: Get The Logger Configuration To Send Only The Last Full Counter

    Get the logger configuration to send only the last full counter 4. Verify you are in lora_service mode - the prompt is "lora_service # " 5. Execute command set_send_last_cnt 6. 0, 1 – If setting is 0 will send also differential counters, if 1 will send only the last 32 bit counter Set configuration application 9.
  • Page 13: Set Collecting Application

    appeui= BBBBBBBBBBBBBB deveui= XXXXXXXXXXXXX done Set Collecting application set_app_collect 5. Execute command Verify " appskey=" prompt appears 7. Enter the new APPKEY and press enter 8. Verify “nwkskey=” prompt appears 9. Enter the new NWKKEY and press enter 10. Verify that the “devaddr=” prompt appears 11.
  • Page 14: Setting Up Nb-Iot Service Mode Options

    Setting up NB-IoT service mode options Set collecting server address and port 1. Verify you are in gprs_service mode - the prompt is "gpr_service # " set_addr_port 2. Execute command 3. Verify "address=" prompt appear 4. Enter the new server address and press enter 5.
  • Page 15: Get Apn

    service # extension gprs_service # set_apn apn=some.operator.apn done gprs_service # Get APN 1. Execute command get_apn 2. Verify "apn=some.operator.apn" appear Example: service # extension gprs_service # get_apn apn=some.operator.apn done gprs_service # Set NB-IoT network bands The modem supports the following network bands B1 @H-FDD: 2100MHz B3 @H-FDD: 1800MHz B8 @H-FDD: 900MHz...
  • Page 16: Set Nb-Iot Network Attachment Timeout

    nbmodem_service # get_bands bands=28 done nbmodem_service # exit Set NB-IoT network attachment timeout Network attachment delay is the time for which the logger will wait to be recognized and paged by the mobile network. 6. Navigate to extension mode set_net_att_delay 7.
  • Page 17: Get Mqtt Parameters

    nbmodem_service #set_mqtt username=mqtt_user password=mqtt_pass root_topic=mqtt_topic GET MQTT parameters 1. Navigate to extension mode 2. Execute command get_mqtt service # extension nbmodem_service #get_mqtt username=mqtt_user password=mqtt_pass root_topic=mqtt_topic Setup analog sensor settling time Analog sensors values are obtained by 16 bit Analog to digital convertor (ADC).ADC reading time is a parameter that is valid only if you have a logger with analog ports.
  • Page 18: Example Output

    Note: The default ADC read time for LPMDL-110X is 50 ms. If you want to disable the logger to switch on/off the power supply of the logger you have to set the ADC read time to 0. Example output Successful data transmission – NB-IoT >>>...
  • Page 19 >>> To Modem: AT+CSQ[\r][\n] >>> Sys: Signal->[\r][\n] >>> +CSQ:1,99[\r][\n] >>> [\r][\n] >>> OK[\r][\n] >>> [\r][\n] >>> rssi=1,ber=99[\r][\n] >>> To Modem: AT+QDNS=0,iot.thingslog.com[\r][\n] >>> ip_addr: 78.128.42.106[\r][\n] >>> To Modem: AT+NSOCR=DGRAM,17,4587,1[\r][\n] >>> Socket: 1[\r][\n] >>> Sending cnt.len=30[\r][\n] >>> To Modem: AT+NSOST=1,78.128.42.106,4445,56,FFFFFF2F040031[\r][\n] >>> 1A06160108173500[\r][\n]...
  • Page 20: Successful Configuration And Data Transmission

    >>> 2A020163[\r][\n] >>> 2B0209FC[\r][\n] >>> 3F001EFrom Modem: [\r][\n] >>> 1,56[\r][\n] >>> [\r][\n] >>> OK[\r][\n] >>> From Modem: [\r][\n] >>> +NSONMI:1,12[\r][\n] >>> [\r][\n] >>> To Modem: AT+NSORF=1,12[\r][\n] >>> From Modem: [\r][\n] >>> 1,78.128.42.106,4445,12,0000091A0716010817351C06,0[\r][\n] >>> [\r][\n] >>> OK[\r][\n] >>> [\r][\n] >>> Parsing data, rx_size: 12[\r][\n] >>>...
  • Page 21 >>> [\r][\n] >>> mac join otaa[\r][\n] >>> From Modem: ok[\r][\n] >>> From Modem: accepted[\r][\n] >>> mac tx uncnf 13 031504130611000ADA[\r][\n] >>> From Modem: ok[\r][\n] >>> Buff: mac_tx_ok[\r][\n] >>> Parsing data, rx_size: 0[\r][\n] >>> Data: [\r][\n] >>> mac tx uncnf 11 03150413061100010001003020312031203120312031203120312031203120312031203120312 03120312000000000[\r][\n] >>>...

Table of Contents