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...
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 •...
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.
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...
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:...
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.
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 #...
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.
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.
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.
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.
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.
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.
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 >>>...
Need help?
Do you have a question about the LPMDL-110X and is the answer not in the manual?
Questions and answers