Wi-Fi & 802.11 · Study deck

Practice: Cellular Modem Bring-Up

Picture a field device that must send a small status report where no local network is available.

Radio Remi is your guide for this deck.

cellular-modemat-commandsmodem-bring-up
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • run a cellular modem bring-up sequence without skipping dependency checks
  • read AT-command responses as evidence for serial, SIM, signal, registration, and data readiness
  • separate UART, SIM, antenna, coverage, power, registration, and data-session failures
  • capture a compact lab record that another reviewer can repeat
iotclass.org

Major section

Required Equipment And Service — Gather This First

Weather, walls, load, plan limits, and antenna placement can change the result.

  • A cellular modem gives the device a path through a mobile network.
  • The lab is successful only when you can prove the whole path, not when one light turns green.
  • That review is not a completed hands-on bring-up.
iotclass.org

Major section

Start With the Wireless Story

The fault may sit in power, the SIM, the radio link, or the network.

  • A quick success can hide weak signal or a supply dip.
  • A long log can also hide the one step that failed, so keep each claim tied to clear proof.
  • The lab flow later in the chapter sets those bounds.
iotclass.org

Major section

Phoebe's Field Notes: What "Correctly Matched" Costs in Decibels

The mathematical gist.: VSWR 2:1 means a reflection coefficient of 0.333, 11.1% reflected power, and 0.512 dB mismatch loss.

  • At 5:1, the coefficient is 0.667, 44.4% reflects, and loss reaches 2.55 dB.

Numbers to remember

44.4%the coefficient is 0.667, 44.4% reflects
2.55 dBand loss reaches 2.55 dB.
iotclass.org

Major section

Record The Equipment And Setup

The board alone does not prove a usable radio path: it must be paired with a band-matched antenna, an active service profile, and a supply that survives transmit bursts.

  • That ordered inspection leads directly to the setup record below, where each dependency is named without exposing credentials.

Why it matters

The photo is useful because antenna, supply, and host connections are separate evidence boundaries even when they share one small board.

A cellular modem module is the physical endpoint for the lab's AT-command bring-up. Pair it with a band-matched antenna and a supply sized for transmit current, not only MCU idle draw.
A cellular modem module is the physical endpoint for the lab's AT-command bring-up. Pair it with a band-matched antenna and a supply sized for transmit current, not only MCU idle draw.
iotclass.org

Major section

Power And Antenna Evidence

Cellular modems can fail during active network work even when the serial interface appears healthy.

  • The two ports support the intended MIMO/diversity arrangement only when both modem ports, cables, and antenna elements are correctly connected.
  • The lab does not need a large power-design calculation.
This LTE MIMO panel exposes two antenna connections; placement, cable loss, and nearby obstructions all affect the registration evidence.
This LTE MIMO panel exposes two antenna connections; placement, cable loss, and nearby obstructions all affect the registration evidence.
iotclass.org

Major section

Common Mistakes

starting with MQTT, HTTP, or cloud tests before proving registration.

  • treating one OK response as proof that the modem is ready for data.
  • assuming all vendors use the same data-session AT commands.
  • hiding command transcripts behind screenshots that cannot be searched.
  • leaving secrets, SIM identifiers, APNs, or credentials in shared lab records.
iotclass.org

Major section

A Cellular Modem Is an AT-Command Peripheral

This layered sequence connects AT-command success to actual application reachability.

  • Once registered, the module can open a data context and transmit; before that, application traffic simply fails.
  • Worked bring-up check.: A reviewer should be able to read the transcript and identify the exact layer that passed.

Why it matters

A lab that preserves that boundary is useful because another engineer can repeat the same layer check without inheriting a vague "cloud publish failed" report.

Bring-up evidence advances one layer at a time. Verify the physical modem boundary, serial parser, SIM or profile, RF context, registration, data context and application reachability without skipping a failed stage.
Bring-up evidence advances one layer at a time. Verify the physical modem boundary, serial parser, SIM or profile, RF context, registration, data context and application reachability without skipping a failed stage.
iotclass.org

Major section

A Cellular Modem Is an AT-Command Peripheral (continued)

AT+CPIN? Returning READY proves the SIM or profile is usable enough for registration.

  • AT+CESQ or the module's equivalent gives a signal observation tied to antenna and location.
  • If the sequence stops, record the stop as the result instead of skipping ahead.
  • A clean serial response plus +CPIN: READY and +CEREG: 0,2 is not a failed application; it is a registration-layer problem.
iotclass.org

Major section

The Bring-Up Sequence and Reading Signal

Worked example.: A device reports +CEREG: 0,2 — status 2 means “searching, not yet registered,” so any socket open will fail.

  • A modem that answers AT on bench power but disappears from serial during registration may be exposing a power rail, cable, or antenna problem.
  • If the reset disappears outdoors or with a known-good antenna, the lab has found a propagation or antenna path; if it disappears with a stronger supply, the lab has found a power-design path.
  • A compact lab table can prevent false conclusions.
iotclass.org

Major section

PSM and eDRX Power-Saving Timers

PSM (Power Saving Mode) lets the modem power down almost completely while staying registered.

  • During PSM the device is unreachable for downlink until it wakes to send or to run its periodic TAU.
  • A device that must occasionally receive a command instead uses eDRX so the network can page it within one cycle.
  • The choice is a reachability-versus-battery decision, set by these timers.

Why it matters

The lab should not claim battery behavior just because a command was accepted.

iotclass.org

Major section

PSM and eDRX Power-Saving Timers (continued)

A modem can accept a PSM request and receive a different timer from the network, or the network can reject the requested mode.

  • The transcript should capture the request, the modem's reported negotiated settings if the module exposes them, and the observed current or wake behavior at a coarse level.
  • If the device stays reachable for a short active window and then becomes unavailable until the next uplink or tracking-area update, the observed behavior matches the PSM claim.
  • A device that drops registration every cycle may spend more energy reattaching than it saves in sleep.
iotclass.org

Major section

Concept Relationships

Cellular spectrum explains why supported bands, operator service, and region matter before the lab starts.

  • Propagation design explains why antenna placement, enclosure, location, and coverage affect modem results.
  • Coverage planning labs extend modem observations into deployment mapping and acceptance records.
  • Wi-Fi spectrum labs use similar evidence discipline for a different radio environment.
iotclass.org

Deck summary

Key takeaways

Weather, walls, load, plan limits, and antenna placement can change the result.

  • The fault may sit in power, the SIM, the radio link, or the network.
  • The mathematical gist.: VSWR 2:1 means a reflection coefficient of 0.333, 11.1% reflected power, and 0.512 dB mismatch loss.
  • The board alone does not prove a usable radio path: it must be paired with a band-matched antenna, an active service profile, and a supply that survives transmit bursts.
  • Cellular modems can fail during active network work even when the serial interface appears healthy.
iotclass.org

Retrieval practice

Recall check 1 of 5

Radio Remi says: answer from memory, then check your reasoning.

Q1In a cellular modem bring-up lab, where should you start?

AProve modem layers before cloud publishing
BStart with cloud publishing and full application code
CStart by opening a TCP socket to the message broker
DStart by measuring long-term battery life over days
Show answer

Answer: A Cellular modem bring-up proves power, serial, SIM, signal, and registration before attempting data or cloud publishing.

iotclass.org

Retrieval practice

Recall check 2 of 5

Radio Remi says: answer from memory, then check your reasoning.

Q2A modem responds to AT and reports the SIM as ready, but the registration query still reports a searching state. What is the best lab decision?

APass the lab because serial and SIM checks are complete.
BKeep diagnosing registration before data tests.
CSkip directly to cloud publishing to test the application stack.
DReplace the microcontroller because UART must be broken.
Show answer

Answer: B A searching registration state means the modem is not yet ready for data; continue checking coverage, antenna, operator, supported band, and service configuration.

iotclass.org

Retrieval practice

Recall check 3 of 5

Radio Remi says: answer from memory, then check your reasoning.

Q3How is a typical cellular IoT module controlled by a host microcontroller?

ABy flashing new radio firmware for every message.
BBy connecting it as a USB display device.
CPurely over Wi-Fi with no wired interface.
DBy AT commands over a UART.
Show answer

Answer: D The module is an AT-driven serial peripheral; the host powers the radio, checks SIM/profile state, registers, configures data, and then sends traffic.

iotclass.org

Retrieval practice

Recall check 4 of 5

Radio Remi says: answer from memory, then check your reasoning.

Q4Which AT command gives the most useful signal reading for an LTE/NB-IoT link, and what does it report?

AAT+CESQ; it reports RSRQ and RSRP.
BAT+CGMR, which returns the firmware version.
CAT+CPIN?, which returns signal quality.
DAT+COPS=0, which measures RSRP.
Show answer

Answer: A +CESQ exposes LTE reference-signal quality and power indices; +CSQ only gives a coarse legacy RSSI value.

iotclass.org

Retrieval practice

Recall check 5 of 5

Radio Remi says: answer from memory, then check your reasoning.

Q5A cellular sensor only sends data and never needs to receive commands promptly. Which power feature fits, and what is the catch?

APSM, with delayed downlink reachability.
BeDRX with the shortest possible cycle, to save the most power.
CKeeping RRC connected at all times to be safe.
DDisabling registration entirely between messages.
Show answer

Answer: A PSM uses T3324/T3412-style timers to keep an uplink-only device registered while sleeping deeply; the trade is downlink latency until it wakes.

iotclass.org

Print reference

Answers 1 of 2

Answer key.

  1. A · Cellular modem bring-up proves power, serial, SIM, signal, and registration before attempting data or cloud publishing.
  2. B · A searching registration state means the modem is not yet ready for data; continue checking coverage, antenna, operator, supported band, and service configuration.
  3. D · The module is an AT-driven serial peripheral; the host powers the radio, checks SIM/profile state, registers, configures data, and then sends traffic.
iotclass.org

Print reference

Answers 2 of 2

Answer key.

  1. A · +CESQ exposes LTE reference-signal quality and power indices; +CSQ only gives a coarse legacy RSSI value.
  2. A · PSM uses T3324/T3412-style timers to keep an uplink-only device registered while sleeping deeply; the trade is downlink latency until it wakes.
iotclass.org