NEQTO Docs
  • Languages iconEnglish
    • 日本語
  • Docs
  • API
  • FAQ

›Software Specifications

Getting Started

  • NEQTO Hello World!
  • Tutorial Step 1. NEQTO Console Setting
  • Tutorial Step 2. Device Settings & Launching Service (NEQTO Bridge)
  • Tutorial Step 2. Device Settings & Launching Service (STM32 Discovery)
  • Tutorial Step 2. Device Settings & Launching Service (SPRESENSE)
  • Tutorial Step 3. Application development using scripts

NEQTO

  • NEQTO Account Registration
  • Sub-accounts
  • API Usage
  • NEQTO CloudSync for GCP
  • NEQTO Engine Firmware List
  • Support Guidelines

NEQTO Console

  • Introduction
  • Fundamentals
  • Administrative Actions
  • Device Management
  • Linux-based Device Management
  • Batch Registration
  • Scripts
  • Actions and Contacts
  • View Data from the Console
  • NEQTO Apps

    • About NEQTO Apps
    • NEQTO Infinitypool
    • NEQTO Insights
    • NEQTO Custodia
    • NEQTO Flow
  • Machine Driver
  • Recommended Browsers
  • Billing Information

SPRESENSE

    Hardware Specifications

    • 01. About Spresense

    Software Specifications

    • 01. Operational Flow
    • 02. Initial Installation
    • 03. Spresense Wi-Fi Initial Setup
    • 04. Spresense LTE-M Initial Setup
    • 05. Debug Log Acquisition
    • 06. System LED Indications
    • 07. Event Messages
    • 08. Updating Firmware

    neqto.js

    • 01. About neqto.js
    • 02. Log
    • 03. Timers
    • 04. HTTP
    • 05. HTTPS
    • 06. MQTT
    • 07. Secure
    • 08. Storage
    • 09. Sleep
    • 10. RTC
    • 11. GPIO
    • 12. UART
    • 13. SPI
    • 14. I2C
    • 15. ADC
    • 16. GNSS
    • 17. Camera
    • 18. Utils
    • 19. nqSpresense
    • 20. nqService
    • 21. nqMqtt
    • 22. nqFOTA
    • 23. nqWiFi
    • 24. nqLte

STM32 Discovery

    Hardware Specifications

    • 01. About STM32 Discovery Kit (B-L4S5I-IOT01A)

    Software Specifications

    • 01. Operational Flow
    • 02. Initial Installation
    • 03. STM32 Discovery Wi-Fi Initial Setup
    • 04. Debug Log Acquisition
    • 05. System LED Indications
    • 06. Event Messages
    • 07. Updating Firmware

    neqto.js

    • 01. About neqto.js
    • 02. Log
    • 03. Timers
    • 04. HTTP
    • 05. HTTPS
    • 06. MQTT
    • 07. Secure
    • 08. Storage
    • 09. Sleep
    • 10. RTC
    • 11. UserSW
    • 12. GPIO
    • 13. UART
    • 14. SPI
    • 15. I2C
    • 16. ADC
    • 18. Utils
    • 19. nqDiscovery
    • 20. nqService
    • 21. nqMqtt
    • 22. nqFOTA
    • 23. nqWiFi

NEQTO Bridge

    Hardware Specifications

    • 01. NEQTO Bridge Module
    • 02. NEQTO Bridge Wi-Fi Module
    • 03. NEQTO Bridge LTE-1 Module
    • 04. NEQTO Bridge LTE-M/NB Module
    • 05. NEQTO Bridge IO Board
    • 06. NEQTO Bridge Digital IO Board
    • 07. NEQTO Bridge Connector Board

    Software Specifications

    • 01. Operational Flow
    • 02. NEQTO Bridge Wi-Fi Module Initial Setup
    • 03. NEQTO Bridge LTE Module Initial Setup
    • 04. Debug Log Acquisition
    • 05. System LED Indications
    • 06. Event Messages
    • 07. Updating Firmware

    neqto.js

    • 01. About neqto.js
    • 02. Log
    • 03. Timers
    • 04. HTTP
    • 05. HTTPS
    • 06. MQTT
    • 07. Secure
    • 08. Storage
    • 09. Sleep
    • 10. RTC
    • 11. UserSW
    • 12. GPIO
    • 13. UART
    • 14. SPI
    • 15. I2C
    • 16. ADC
    • 17. BLE
    • 18. Utils
    • 19. nqBridge
    • 20. nqService
    • 21. nqMqtt
    • 22. nqFOTA
    • 23. nqWiFi
    • 24. nqLte
    • 25. nqLAN
    • 26. nqEx

Linux-based device

    Software Specifications

    • 01. System Requirements
    • 02. Installation
    • 03. Software Configurations
    • 04. Operational Flow
    • 05. Debug Log Acquisition
    • 06. Event Messages
    • 07. Updating Software

    neqto.js

    • 01. About neqto.js
    • 02. Log
    • 03. Timers
    • 04. HTTP
    • 05. HTTPS
    • 06. MQTT
    • 07. Secure
    • 08. Storage
    • 09. RTC
    • 10. UNIXSocket
    • 11. FileSystem
    • 12. SubProcess
    • 13. Utils
    • 14. nqLinux
    • 15. nqService
    • 16. nqMqtt
    • 17. nqFOTA
    • 18. nqLAN

neqto.js Libraries

  • About neqto.js Libraries
  • UART

    • GM65 Barcode Reader
    • SRF Ultrasonic Range Finder - Serial Mode

    I2C

    • HTS221 v2 Temperature and Humidity Sensor
    • LIS2DW12 v2 Accelerometer
    • SRF Ultrasonic Range Finder - I2C Mode
    • [Archive] HTS221 Temperature and Humidity Sensor
    • [Archive] LIS2DW12 Accelerometer

    Utils

    • RTC Alarm Synchronized Scheduler

    Integration

    • AWS S3 v2
    • AWS IoT Core v2
    • Azure IoT v2
    • GCP IoT Core
    • [Archive] AWS S3
    • [Archive] AWS IoT Core

neqto.js Snippets

  • About neqto.js Snippets
  • DataDog
  • Dropbox
  • Google Sheets
  • InfluxDB
  • Oracle Cloud Object Storage
  • Salesforce
  • SAP Cloud Platform Internet of Things
  • Splunk
  • Niagara

Release Notes

  • NEQTO Console Updates
  • NEQTO Firmware (Bridge Wi-Fi/LTE Module) Releases
  • NEQTO Firmware (STM32 Discovery Wi-Fi) Releases
  • NEQTO Firmware (Spresense Wi-Fi/LTE-M) Releases
  • NEQTO Engine for Linux Releases

05. Debug Log Acquisition

Operation scripts that are executed on NEQTO devices are developed using neqto.js (JavaScript).
In doing so, the print method is utilized to output arbitrary logs for debugging and evaluation.


Overview

The following logging methods are available:

  • Method for connecting a NEQTO device to a local PC and using User Console mode to view real-time logs

    > start↵
    OK

    > [system][info]Certification Complete(00.00.00)
    [system][info]Checking Script...
    [system][info]Ready
    Thu Apr 08 2021 02:31:03 GMT+00:00+766ms : Hello World!!! 0
    Thu Apr 08 2021 02:31:04 GMT+00:00+766ms : Hello World!!! 1
    Thu Apr 08 2021 02:31:05 GMT+00:00+766ms : Hello World!!! 2
    Thu Apr 08 2021 02:31:06 GMT+00:00+766ms : Hello World!!! 3
    Thu Apr 08 2021 02:31:07 GMT+00:00+766ms : Hello World!!! 4
    Thu Apr 08 2021 02:31:08 GMT+00:00+766ms : Hello World!!! 5
    Thu Apr 08 2021 02:31:09 GMT+00:00+766ms : Hello World!!! 6
    Thu Apr 08 2021 02:31:10 GMT+00:00+766ms : Hello World!!! 7
    Thu Apr 08 2021 02:31:11 GMT+00:00+766ms : Hello World!!! 8
    Thu Apr 08 2021 02:31:12 GMT+00:00+766ms : Hello World!!! 9
    Thu Apr 08 2021 02:31:13 GMT+00:00+766ms : Hello World!!! 10

  • Method for storing logs in non-volatile memory on a NEQTO device and getting logs by remote instruction from NEQTO Console

  • Method for sending logs to NEQTO Console in real time and viewing logs on NEQTO Console



Log settings

If using the log function, it is necessary to set the output destination of the log in advance.
Use the methods of the Log object in the JavaScript code to configure the settings.



Logging methods

1. Method for connecting a NEQTO device to a local PC and using User Console mode to view real-time logs

  1. Configure the log output destination using the printLevel method of the Log object.

    Add the following code to the script of the target node.
    Specify the output destination "Outputs the log from the serial port of NEQTO device".

    log.printLevel(2);
    
  2. Launch the NEQTO device in the User Console Mode.

  3. Open the COM port using a terminal software and enter the command console.

    > ↵
    > ↵
    > 


  4. Enter the start command to launch the NEQTO service and output the print log.

    > start↵
    OK

    > [system][info]Certification Complete(00.00.00)
    [system][info]Checking Script...
    [system][info]Ready
    Thu Apr 08 2021 02:31:03 GMT+00:00+766ms : Hello World!!! 0
    Thu Apr 08 2021 02:31:04 GMT+00:00+766ms : Hello World!!! 1
    Thu Apr 08 2021 02:31:05 GMT+00:00+766ms : Hello World!!! 2
    Thu Apr 08 2021 02:31:06 GMT+00:00+766ms : Hello World!!! 3
    Thu Apr 08 2021 02:31:07 GMT+00:00+766ms : Hello World!!! 4
    Thu Apr 08 2021 02:31:08 GMT+00:00+766ms : Hello World!!! 5
    Thu Apr 08 2021 02:31:09 GMT+00:00+766ms : Hello World!!! 6
    Thu Apr 08 2021 02:31:10 GMT+00:00+766ms : Hello World!!! 7
    Thu Apr 08 2021 02:31:11 GMT+00:00+766ms : Hello World!!! 8
    Thu Apr 08 2021 02:31:12 GMT+00:00+766ms : Hello World!!! 9
    Thu Apr 08 2021 02:31:13 GMT+00:00+766ms : Hello World!!! 10


2. Method for storing logs in non-volatile memory on a NEQTO device and getting logs by remote instruction from NEQTO Console

  1. Configure the log output destination using the printLevel method of the Log object.

    Add the following code to the script of the target node.
    Specify the output destination "Saves the log to the non-volatile memory on the NEQTO device".

    log.printLevel(1);
    
  2. Run the script.
    The print log will be stored in the non-volatile memory.

  3. Send the instruction "Get debug log" to the target node from NEQTO Console.

  4. When the NEQTO device receives the "Get Debug Log" instruction from the NEQTO Console, it will exit the operation script and start uploading the log. After the log transfer is completed, the operation script will be executed again. Note that if the log transfer is successful, the log in the non-volatile memory is erased.

  5. After a period of time, the log data from the device will have been uploaded to the NEQTO Console.

  6. Download the log data.

  7. Open the downloaded file with a text editor and review the log.


3. Method for sending logs to NEQTO Console in real time and viewing logs on NEQTO Console

  • Refer here in advance, and confirm the details regarding this feature.
  • This feature uses NEQTO Infinitypool.
    An optional subscription is required to use NEQTO Infinitypool.
  1. Configure the log output destination using the printLevel method of the Log object.

    Add the following code to the script of the target node.
    Specify the output destination "Sends the log to NEQTO Console in real time".
    Specify any value for instance ID. (ex. 100)

    log.printLevel(4,100);
    
  2. Configure the component settings on the NEQTO Console.

    Add the following components to the template of the target node.

    NameNoteObjectResourceInstance
    Any (ex. DebugLog)AnyAddressable Text DisplayTextAny (ex. 100)
  3. Run the script.
    The print log will be displayed in the component (DebugLog).



Updated: 2021-08-27
← 04. Spresense LTE-M Initial Setup06. System LED Indications →
  • Overview
  • Log settings
  • Logging methods
    • 1. Method for connecting a NEQTO device to a local PC and using User Console mode to view real-time logs
    • 2. Method for storing logs in non-volatile memory on a NEQTO device and getting logs by remote instruction from NEQTO Console
    • 3. Method for sending logs to NEQTO Console in real time and viewing logs on NEQTO Console
AboutNewsProductsFAQPrivacy Policy}
NEQTO Console
IntroductionFundamentalsAdministrative ActionsDevice Management NEQTO Apps
NEQTO Bridge
NEQTO Bridge ModuleNEQTO Bridge Wi-Fi ModuleNEQTO Bridge LTE-1 ModuleError Logging Event Messages
API Documentation
API UsageGlobal APIRegional APIAPI Terms of Service
Jigsaw, Inc.
© 2023 JIG-SAW INC.