☀️ Learn how to design solar power into your connected product on December 11th

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
Notehub 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
Notecard
Notecard API Reference
Notecard Guides
Notecard Firmware Releases
Notecard Walkthrough
Overview
Notecard Product Family
Notecard Requests & Responses
JSON Fundamentals
Notecard Interfaces
Essential Requests
Time & Location Requests
Inbound Requests & Shared Data
Web Transactions
Low Power Design
Low Bandwidth Design
Working with the Notecard AUX Pins
Updating Notecard Firmware
Understanding Notecard Penalty Boxes
Connection Retry and Fallback Behaviors
CellularWi-FiLoRaSatelliteFallback Summary and Monitoring Tips
Advanced Notecard Configuration
Notecard Error and Status Codes
homechevron_rightDocschevron_rightNotecardchevron_rightNotecard Walkthroughchevron_rightConnection Retry and Fallback Behaviors

Connection Retry and Fallback Behaviors

Notecard includes a robust retry and fallback system designed to preserve battery life and maintain connectivity across multiple radio access technologies (RATs). When its primary transport cannot establish or sustain a connection, Notecard automatically retries its connection or falls back to alternative transports based on its capabilities and configuration. Understanding how Notecard defines connection attempts, tracks failures, and chooses subsequent transports can help you predict behavior in remote deployments.

This guide explains how Notecard manages connection retries across cellular, Wi-Fi, LoRa, and satellite/NTN, and fallback behaviors as defined in the card.transport API:

  • cell-ntn: Cellular with satellite fallback.
  • wifi-cell: Wi-Fi with cellular fallback.
  • wifi-cell-ntn: Wi-Fi primary, cellular secondary, and satellite fallback.
  • wifi-ntn: Wi-Fi with satellite fallback.

Each Notecard radio type (e.g. Wi-Fi, cellular, LoRa, and satellite/NTN) has its own definition of a connection attempt. These attempts determine when failure thresholds are met and when a radio fallback is triggered (if available).

Cellular

Establishing a cellular connection using any cellular-enabled Notecard involves:

  1. Powering on the modem.
  2. Registering with the cellular network (which depends on the SIM in use, defaulting to the onboard eSIM).
  3. Acquiring an IP address.

If any step fails, the entire attempt is considered a failure. What happens next depends on the type of Notecard in use:

  • If using Notecard Cellular, after four consecutive failures it will be placed in a network registration penalty box.
  • If using Notecard Cellular or Notecard Cell+WiFi with a paired Starnote and two consecutive failures occur, it will proceed to attempt a satellite/NTN connection.

Wi-Fi

A Wi-Fi connection attempt using either Notecard Cell+WiFi or Notecard WiFi involves:

  1. Scanning for available Wi-Fi access points (APs).
  2. Joining the configured AP.
  3. Acquiring an IP address from the AP.

If any step fails, the entire attempt is considered a failure. Notecard will automatically retry its Wi-Fi connection or fallback depending on the Notecard in use:

  • If using a Notecard WiFi only, after four consecutive failures it will be placed in a Wi-Fi penalty box for 60 minutes to prevent unnecessary battery drain (reduced to 5 minutes if USB-powered).
  • If using a Notecard Cell+WiFi and it is configured to fallback to cellular (the default behavior), it will proceed to attempt a cellular connection after one failure.
  • If using a Notecard WiFi with a paired Starnote, after two consecutive failures it will proceed to attempt a satellite connection.

LoRa

A Notecard for LoRa connection attempt involves connecting to a compatible LoRaWAN gateway, pending any applicable duty cycle restrictions. If no gateway is available, the connection is considered a failure.

After ten consecutive failed attempts to join a LoRaWAN gateway, the device will enter a penalty box and automatically attempt to rejoin 60 minutes later to prevent unnecessary battery drain.

note

There are no supported radio fallback capabilities for Notecard for LoRa.

Satellite

Satellite/NTN connectivity operates differently from traditional networks. Rather than establishing persistent connections, NTN uses a packet-based policy model which involves:

  1. Powering on the satellite modem.
  2. Waiting for satellite visibility and lock (this can take multiple minutes, depending upon satellite visibility).
  3. Sending data packets when a satellite is available.

If Starnote is unable to establish a satellite connection, Notecard will automatically retry Wi-Fi and/or cellular after the penalty box period has expired. The length of time Notecard waits to retry Wi-Fi or cellular is 60 minutes, unless overridden with the card.transport seconds argument.

note

A successful NTN connection will automatically clear a cellular network registration penalty box, and Notecard will reattempt a cellular connection at the next sync opportunity.

Fallback Summary and Monitoring Tips

The following table summarizes how each transport fallback configuration functions, depending on the Notecard and Starnote in use.

TransportAttempts Before FallbackPrevious RAT Retry Behavior
cell-ntn2 cellular failuresCellular retried after it clears penalty box or a successful NTN connection
wifi-cell1 Wi-Fi failureWi-Fi retried after 60 minutes
wifi-cell-ntn1 Wi-Fi + 2 cellular failuresWi-Fi and cellular retried after they clear respective penalty boxes or a successful NTN connection
wifi-ntn2 Wi-Fi failuresWi-Fi retried after 60 minutes
note

You can use the following Notecard APIs to monitor the health of the transport currently in use:

  1. Use the card.wireless API to get the last known signal strength and connection status.
  2. Use the card.wireless.penalty API to view the current penalty box state.
  3. Use the hub.status API to monitor the status of the Notecard's connection to Notehub.
  4. Use the hub.sync.status API to check the status of the most recent sync with Notehub.
Updating Notecard Firmware Advanced Notecard Configuration
Can we improve this page? Send us feedback
© 2025 Blues Inc.
© 2025 Blues Inc.
TermsPrivacy
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