Loading...
Notecard Disconnected
Having trouble connecting?

Try changing your USB cable as some cables do not support transferring data. If that does not solve your problem, contact us at support@blues.com and we will get you set up with another tool to communicate with the Notecard.

Advanced Usage

The help command gives more info.

Connect a Notecard
Use USB to connect and start issuing requests from the browser.
Try Notecard Simulator
Experiment with the Notecard's API on a Simulator assigned to your free Notehub account.

Don't have an account? Sign up

Meet Notecarrier CX - A Combined Notecarrier + STM32L4 Host MCU in One Board

Blues Developers
What’s New
Resources
Blog
Technical articles for developers
Newsletter
The monthly Blues developer newsletter
Terminal
Connect to a Notecard in your browser
Developer Certification
Get certified on wireless connectivity with Blues
Webinars
Listing of Blues technical webinars
Blues.comNotehub.io
Shop
Docs
Button IconHelp
Support DocsNotehub StatusVisit our Forum
Button IconSign In
Docs Home
What’s New
Resources
Blog
Technical articles for developers
Newsletter
The monthly Blues developer newsletter
Terminal
Connect to a Notecard in your browser
Developer Certification
Get certified on wireless connectivity with Blues
Webinars
Listing of Blues technical webinars
Blues.comNotehub.io
Shop
Docs
Support
Troubleshooting Notecard
Local: Initial DiagnosticsLocal: Connectivity DiagnosticsLocal: Data Flow and EnvironmentLocal: Location, Power, and HardwareRemote: Notehub DiagnosticsRemote: Logging and ConfigurationGetting Additional Help
Diagnosing Cellular Connectivity Issues
Diagnosing GPS Issues
Using Notecard Trace Mode
Understanding Notecard Penalty Boxes
Connection Retry and Fallback Behaviors
Notecard Error and Status Codes
Recovering a Bricked Notecard
Frequently Asked Questions
homechevron_rightDocschevron_rightSupportchevron_rightTroubleshooting Notecard

Troubleshooting Notecard

This guide provides a systematic approach to troubleshooting Blues Notecard devices and their connectivity to Notehub. It's divided into two parts based on the level of access you have to the device:

  • Local Device Troubleshooting: You have a physical serial or USB connection to Notecard (via the In-Browser Terminal, Notecard CLI, or your host MCU) and you can issue any Notecard API request directly.
  • Remote Device Troubleshooting: The device is deployed in the field and you have no physical access. You must rely on Notehub's dashboard, environment variables, and system Notefiles like _health.qo and _log.qo to diagnose issues.

Local Device Troubleshooting

When you have direct serial or USB access to Notecard, you can issue API requests and receive responses. This gives you the most complete view of device state and is the fastest way to diagnose issues.

Local: Initial Diagnostics

Start every local troubleshooting session by collecting basic device information, and potentially updating Notecard firmware if yours is out of date.

  • Verify Notecard Firmware Version
  • Check Device Status
  • Validate Notecard's Time

Verify Notecard Firmware Version

Use card.version to identify the Notecard firmware version, capabilities, and SKU:

{"req":"card.version"}
{
 "version": "notecard-11.1.1.17494",
 "device": "dev:861059067916902",
 "name": "Blues Wireless Notecard",
 "sku": "NOTE-NBGLN",
 "ordering_code": "EB0WT1N0AXBA",
 "board": "5.13",
 "cell": true,
 "gps": true,
 "body": {
  "org": "Blues Wireless",
  "product": "Notecard",
  "target": "u5",
  "version": "notecard-u5-11.1.1",
  "ver_major": 11,
  "ver_minor": 1,
  "ver_patch": 1,
  "ver_build": 17494,
  "built": "Dec 8 2025 10:13:37"
 }
}
action

Confirm the device is running the latest Developer release (or a recent LTS release) of Notecard firmware.

Check Device Status

Use card.status to get a summary of the device's current state:

{"req":"card.status"}

For example, check the connected field to determine if the device has an active Notehub session. This also reports USB power status, storage usage, and current time.

{
  "status": "{normal}",
  "usb": true,
  "storage": 8,
  "time": 1599684765,
  "connected": true,
  "cell": true,
  "sync": true,
  "inbound": 60,
  "outbound": 360
}

Validate Notecard's Time

Use card.time to verify the device has a valid time reference:

{"req":"card.time"}

A valid time is essential for proper operation. If time is unavailable, the tells us the device has not yet completed its first successful Notehub connection.

{
  "time": 1599769214,
  "area": "Beverly, MA",
  "zone": "CDT,America/New York",
  "minutes": -300,
  "lat": 42.5776,
  "lon": -70.87134,
  "country": "US"
}
action

If the device is returning an unknown or invalid time, issue a hub.sync request to force a network connection and update the time on the device.

Local: Connectivity Diagnostics

Use these commands to diagnose potential cellular signal issues, verify radio transport and Notehub configuration, and confirm your Notecard's connection status.

  • Check Cellular Signal Strength
  • Verify Transport Configuration
  • Look at Notehub Connection Status
  • Validate Notehub Configuration

Check Cellular Signal Strength

If using a cellular-enabled Notecard, use card.wireless to check the cellular radio status and signal quality:

{"req":"card.wireless"}

When reviewing the response, there are some key signal quality metrics to keep in mind:

MetricDescriptionMinimum Viable Values
RSSIReceived Signal Strength IndicatorGreater than -85 dBm
RSRPReference Signal Received PowerGreater than -111 dBm
RSRQReference Signal Received QualityGreater than -12 dB
SINRSignal-to-Interference-plus-Noise RatioGreater than 5 dB
{
  "status": "{modem-off}",
  "count": 1,
  "net": {
    "iccid": "00000000000000000000",
    "imsi": "000000000000000",
    "imei": "000000000000000",
    "modem": "EG91NAXGAR07A03M1G_BETA0415_01.001.01.001",
    "band": "LTE BAND 2",
    "rat": "lte",
    "rssir": -69,
    "rssi": -70,
    "rsrp": -105,
    "sinr": -3,
    "rsrq": -17,
    "bars": 1,
    "mcc": 310,
    "mnc": 410,
    "lac": 28681,
    "cid": 211150856,
    "updated": 1599225076
  }
}
action

If RSSI is below -85 dBm, the Notecard may struggle to maintain a connection. Consider improving antenna placement or using a different antenna. Poor SINR (i.e. below 0 dB) indicates potential radio interference. See Diagnosing Cellular Connectivity Issues for detailed signal troubleshooting tips.

Verify Transport Configuration

Use card.transport to view the active communication method and its configuration (on Notecards that support more than one radio):

{"req":"card.transport"}

This shows the current transport method (e.g. cellular, WiFi, NTN, or fallback combinations) and is useful for confirming which radio interface is primary/secondary on Notecard Cell+WiFi devices.

{
  "method": "wifi-cell"
}
action

Read the guide on Connection Retry and Fallback Behaviors for more information.

Look at Notehub Connection Status

Use hub.status to check whether Notecard is actively connected to Notehub:

{"req":"hub.status"}

Check the status and connected fields.

{
  "status": "connected (session open) {connected}",
  "connected": true
}

If the device shows disconnected or idle, it may be between sync intervals while in periodic or minimum modes.

{
  "status": "disconnected",
  "connected": false
}

Validate Notehub Configuration

Verify Notecard's connection configuration with Notehub using hub.get:

{"req":"hub.get"}

The response will which Notehub project the device is attached to (product) and the sync cadence (mode with outbound and inbound arguments).

{
  "device": "dev:000000000000000",
  "product": "com.your-company.your-name:your_product",
  "mode": "periodic",
  "outbound": 60,
  "inbound": 240,
  "host": "a.notefile.net",
  "sn": "your-serial-number"
}
action

Confirm the product field matches your Notehub project's ProductUID and that mode is correct. For example:

  • periodic: Connects at regular intervals (set by outbound/inbound minutes).
  • continuous: Maintains a persistent connection.
  • minimum: Only syncs when explicitly triggered by a hub.sync request.

Local: Data Flow and Environment

Use these commands to verify sync behavior, test the full Notecard-to-Notehub data path, check Note templates, and inspect local environment variables.

  • Sync Status and Forcing a Sync
  • Test the Full Pipeline
  • Verify Note Templates
  • Utilize Health Logging
  • Examine Local Environment Variables

Sync Status and Forcing a Sync

Use hub.sync.status to see any pending outbound and/or inbound Notes:

{"req":"hub.sync.status"}

To force an immediate sync:

{"req":"hub.sync"}

After issuing hub.sync, you can repeately issue hub.sync.status requests to observe the sync progressing.

action

If the status field contains an error message (e.g., not connected to network or modem not active), this indicates a connectivity issue. Cross-reference with card.wireless to check signal quality.

Test the Full Pipeline

Add a test outbound Note and force a sync to verify the complete data path:

{"req":"note.add","file":"data.qo","body":{"test":true}}

At this point it can be useful to start generating a trace log locally prior to and during the sync to help identify potential issues.

{"req":"hub.sync"}
action

After syncing, verify the test event appears in Notehub under your project's Events tab. If it does not appear, the issue is between the Notecard and Notehub (connectivity). If it does appear, the Notecard-to-Notehub path is working and the issue is likely on the host MCU side.

Verify Note Templates

If your application uses Note templates, verify the template configuration with note.template:

{"req":"note.template","file":"readings.qo","verify":true}

Check the data type values in use. A mismatched template can prevent Notes from being processed correctly.

note

You can also use the Notefile explorer in Notehub to verify that your templates have been applied correctly.

action

If you suspect a data type mismatch, create a new Notefile Template, then retry your note.add operation.

Utilize Health Logging

While not an active troubleshooting step, using custom logging information generated on your device can be useful to create an audit trail in Notehub. Use hub.log to add device health log messages that will be transmitted to Notehub during the next sync via the _health_host.qo system Notefile:

{"req":"hub.log","text":"System status: normal"}

For urgent issues, use the alert flag to mark the message and sync:true to trigger an immediate sync (which also removes the Notecard from certain penalty box states):

{"req":"hub.log","text":"something is wrong!","alert":true,"sync":true}

The response is an empty JSON object {} on success.

action

Use hub.log in your host firmware to surface critical events to Notehub. This creates a remotely visible audit trail in the _health_host.qo Notefile that you can monitor from the Notehub Events tab. This is especially useful for deployed devices where you cannot view local serial output.

Examine Local Environment Variables

If you suspect an issue with an invalid or missing environment variable on the device, you can always read environment variable values with env.get:

{"req":"env.get","names":["monitoring"]}

You can set a default value for a variable locally with env.default. This value applies until overridden by a device, project, or fleet-level setting in Notehub:

{"req":"env.default","name":"monitoring","text":"on"}

Check if variables have been updated since the last check with env.modified:

{"req":"env.modified"}
note

Locally-set environment variables will be overwritten by Notehub values on the next sync if the same variable is defined in Notehub!

Local: Location, Power, and Hardware

Use these commands to troubleshoot GPS and location tracking, check voltage and temperature readings, review attention/wake configuration, and verify host firmware update status.

  • Check Location Tracking Mode
  • Retrieve Current Location
  • Monitor Voltage
  • Check Firmware Update Status
  • Perform a Factory Reset

Check Location Tracking Mode

If your Notecard is not reporting location data as expected, start by confirming the GPS mode is configured correctly. Check the current GPS configuration with card.location.mode:

{"req":"card.location.mode"}
{
  "mode": "continuous",
  "max": 100,
  "lat": 42.5776,
  "lon": -70.87134,
  "minutes": 2,
  "threshold": 4
}

Common modes: periodic (GPS at intervals), continuous (always-on), and off (disabled). Verify the mode is not set to off if location data is expected.

note

The Notecard cannot use the internal GPS at the same time it has a data connection to Notehub. If both GPS and cellular are configured for high-frequency usage, they may interfere with each other. See Diagnosing GPS Issues for details.

action

If location data is expected but not appearing, confirm the mode is not off. If the mode is periodic, check that the seconds interval is not conflicting with your hub.set sync intervals (e.g. outbound and inbound) and that motion sensitivity is appropriate for your use case.

Retrieve Current Location

If the tracking mode looks correct but location data is still missing or stale, check whether the Notecard has an active GPS fix. Retrieve the most recent GPS fix with card.location:

{"req":"card.location"}
{
  "status": "GPS updated (58 sec, 41dB SNR, 9 sats) {gps-active} {gps-signal} {gps-sats} {gps}",
  "mode": "periodic",
  "lat": 42.5776,
  "lon": -70.87134,
  "time": 1598554399,
  "max": 25
}
action

If no fix is available, try moving the device outdoors with a clear sky view and retry. Also confirm a GPS antenna is connected if using an external antenna.

Consider falling back on Cell Tower & WiFi Triangulation as an alternative (if fine-grained location is not required) and consult Diagnosing GPS Issues for additional suggestions.

Monitor Voltage

Insufficient power is one of the most common causes of connectivity failures and unexpected behavior. Check the power supply with card.voltage:

{"req":"card.voltage"}

For example, when using a LiPo battery:

LiPo Voltage LevelStatusAction
Above 3.5VNormal operationNo action needed
3.2V - 3.5VLow batteryPlan battery replacement
Below 3.2VCriticalReplace battery immediately
action

If voltage is below 3.2V, the Notecard may not have enough power to start the modem. Replace or recharge the battery before continuing troubleshooting. Use a Blues Mojo in your hardware design to continually monitor power draw.

Check Firmware Update Status

If a host firmware update (DFU) was initiated and the device is not behaving as expected, verify whether the update completed successfully. Check current DFU status with dfu.status:

{"req":"dfu.status","name":"user"}
action

If a DFU has failed, check power stability, connection quality, and that the firmware image is correct for the hardware SKU. Retry the update after resolving any underlying issues.

Perform a Factory Reset

If other troubleshooting steps have not resolved the issue, a factory reset clears most configuration values and returns the Notecard to its default state. As a last resort, restore the Notecard to factory defaults with card.restore:

{"req":"card.restore","delete":true}
warning

This erases all configuration, pending Notes, and stored data. The device will need to be completely reconfigured afterwards. Only use this as a last resort!

Remote Device Troubleshooting

When a device is deployed in the field and you cannot physically connect to it, you must use Notehub and Notecard's built-in remote management capabilities. This section covers the tools available for diagnosing issues without direct device access.

Remote: Notehub Diagnostics

The Notehub dashboard is your primary tool for remote troubleshooting. Navigate to your project, locate the device by its DeviceUID, and use the following views.

  • Device Summary
  • Session History
  • Events View
  • Route Logs
  • Health Monitoring with _health.qo
  • Connectivity Analysis with _session.qo

Device Summary

The device overview page shows the last known location, last connection time, and last transport used. This is your starting point for understanding a device's current state.

notehub device summary view

action

If the device's last connection time is older than expected based on your configured sync interval, the device may be offline. Check voltage and signal trends in _health.qo events to understand why.

Session History

Each time Notecard establishes a new connection with Notehub, it creates a session. The session history shows connection patterns, durations, and errors.

notehub session list

Key things to look for:

  • Regular session intervals matching the configured sync mode.
  • Unexpected gaps in session history (may indicate power loss or connectivity failure).
  • Session duration anomalies (very short sessions may indicate connection instability).
  • Session metadata including RAT (Radio Access Technology), Notes received, and bytes used.
action

Compare the actual session frequency against your expected outbound/inbound configuration. If sessions are less frequent than expected, the device is likely struggling to connect. If sessions are more frequent, check for unexpected triggers like host-initiated syncs separate from the sync cadence set in your hub.set request.

Events View

The Events tab shows all events in reverse chronological order.

notehub events view

Check this view for:

  • Recent events with expected timestamps and data fields.
  • Repeated error events or unusual patterns.
  • Errors with routing attempts.
  • _health.qo events with health telemetry.
  • _session.qo events showing connection/disconnection cycles.

Route Logs

If events reach Notehub but do not appear in your downstream service, check your Route configuration. Notehub provides route logs showing delivery attempts, HTTP status codes, and error messages. Verify the route is enabled, the endpoint URL is correct, and any JSONata transformation expressions are valid.

A route log showing a routing error

action

If route logs show HTTP errors (4xx or 5xx), the issue is between Notehub and your downstream service, not the device. Check your endpoint availability and authentication credentials.

Health Monitoring with _health.qo

The Notecard automatically sends health telemetry to Notehub via the _health.qo system Notefile. This is one of your most valuable remote troubleshooting tools because it requires no device-side configuration.

Example _health.qo body:

{
  "method": "boot",
  "text": "boot (brown-out & hard reset [17494])",
  "voltage": 4.6992188,
  "voltage_mode": "usb"
}

To view _health.qo events in Notehub, navigate to your device and filter events by the _health.qo Notefile. Look for trends over time rather than single data points to identify developing issues.

action

Configure a Notehub Route to forward relevant health data to your monitoring system. This can enable automated alerts when voltage drops below a threshold or signal strength degrades.

Connectivity Analysis with _session.qo

Every time the Notecard establishes or closes a connection with Notehub, it creates a _session.qo event with detailed connection metadata. Key fields to examine:

FieldWhat It Tells You
voltageCurrent battery/power voltage. Declining voltage suggests a power issue.
rssi, rsrp, sinr, rsrqCellular signal quality indicators. Consistently poor values indicate a signal or antenna issue.
barsA simplified 1-4 signal strength indicator.
ratThe radio access technology in use (e.g., lte, nbiot, gsm).
tower_idThe cell tower identifier (mcc,mnc,lac,cid). Changes may explain connectivity shifts.
action

Consult the Diagnosing Cellular Connectivity Issues guide for antenna and signal troubleshooting steps.

Remote: Logging and Configuration

The _log.qo system Notefile captures diagnostic log messages from Notecard and sends them to Notehub. Unlike _health.qo, logging must be explicitly enabled using the _log reserved environment variable.

  • Enabling Remote Logging
  • Using a Diagnostic Logging Window
  • Viewing _log.qo Events
  • Setting Environment Variables in Notehub
  • Reserved Environment Variables for Troubleshooting

Enabling Remote Logging

Set the _log environment variable in Notehub (at the device, fleet, or project level) to one of the following values:

ValueDescription
gpsGPS/GNSS-related diagnostic messages
gpsmaxVerbose GPS diagnostics including NMEA data
modemCellular modem connection and registration events
powerPower management events
allAll diagnostic categories combined

To enable logging, go to your device (or fleet) in Notehub, open the Environment tab, and add the _log variable with your desired value. The change takes effect after the next sync.

warning

Remote logging increases cellular data usage. Enable it only when actively troubleshooting, and delete the _log environment variable when done to revert to normal operation.

Using a Diagnostic Logging Window

For intensive remote debugging sessions, combine _log with other reserved environment variables to create a temporary high-frequency logging window:

Environment VariableExample ValuePurpose
_logallComprehensive diagnostic data
_sync_continuous1Switch to continuous sync mode
_session_mins5Create new sessions every 5 minutes
warning

This combination provides comprehensive logging data in 5-minute chunks with continuous connectivity. When done, delete all three variables to revert the device to its normal configuration.

Viewing _log.qo Events

In Notehub, filter events by the _log.qo Notefile. Each event body contains a text field with the diagnostic message.

note

Events from _log.qo are Platform Events and do not consume your Notehub event credits. Also note that _log.qo Notes are only generated when a new Notehub session begins. If your device is in continuous mode, you may need to set _session_mins to define a session length and generate periodic log uploads.

Setting Environment Variables in Notehub

Environment variables are your primary mechanism for remotely changing device behavior through Notehub without deploying new firmware. You can set environment variables at three levels in Notehub:

  • Project level: Applies to all devices in the project.
  • Fleet level: Applies to all devices in a specific fleet.
  • Device level: Applies only to a single device (overrides project and fleet values).

Changes propagate to the device on its next sync with Notehub.

action

Review this blog post on Remotely Manage Notecards with Reserved Environment Variables for more information on which environment variables to use.

Reserved Environment Variables for Troubleshooting

The Notecard recognizes several reserved environment variables that directly control its behavior. These are powerful remote troubleshooting tools:

VariablePurpose
_logEnable diagnostic logging to _log.qo (values: gps, gpsmax, modem, power, all)
_sync_continuousSet to 1 to switch device to continuous sync mode
_session_minsOverride session duration in minutes
_restartTrigger a controlled Notecard restart (set to current UNIX epoch time)
_restart_hostTrigger a controlled restart of the connected host MCU
_restart_no_activity_hoursAuto-restart if no sync occurs within the specified hours
warning

Reserved environment variables directly modify device behavior. Always delete temporary troubleshooting variables (like _log, _sync_continuous, _session_mins) when done to avoid unnecessary data usage and battery drain.

Getting Additional Help

If you are unable to resolve an issue using this guide, Blues can always help!

To expedite the troubleshooting process, gather the following information before reaching out.

  1. DeviceUID and Notecard firmware version: Available from card.version or from the device page in Notehub.
  2. Notecard SKU: The hardware model (e.g., NOTE-NBGL, NOTE-WBNA).
  3. Country where the device is located: Cellular coverage varies by region and Notecard SKU.
  4. Whether the device uses an external SIM: If so, include the carrier name and APN.
  5. Recent session data: Export or screenshot the last several _session.qo events showing signal quality, voltage, and modem data cycles.
  6. Health events: Any _health.qo events from the period when the issue started.
  7. Remote diagnostic logs: If you enabled _log, include the relevant _log.qo events.
  8. Description of the issue: When it started, whether it is intermittent or persistent, and whether a device reset affects it.
  9. Host MCU details: The host MCU platform, communication interface (UART, I2C, USB), and a description of the host application behavior.

Support Channels

  • Notehub Status Check the current operational status of Notehub services. If multiple devices across different projects are experiencing connectivity issues simultaneously, check here first.
  • Blues Community Forum Community Q&A for the entire Blues ecosystem of products and services. The Blues team and community members actively monitor the forum.
  • Blues Paid Support Personalized support from Blues offered via phone, email, a dedicated Slack channel, and portal.
Can we improve this page? Send us feedback
© 2026 Blues Inc.
© 2026 Blues Inc.
TermsPrivacy