Bird
Raised Fist0
IOT Protocolsdevops~10 mins

Device classes (A, B, C) in IOT Protocols - Step-by-Step Execution

Choose your learning style10 modes available
Process Flow - Device classes (A, B, C)
Device wakes up to send data
↓
Class A: Transmit uplink
↓
Wait for 2 short receive windows
↓
Class B: Scheduled receive slots
↓
Class C: Continuous receive mode
↓
Device sleeps or waits for next event
This flow shows how devices in classes A, B, and C handle sending and receiving data differently based on their class.
Execution Sample
IOT Protocols
Class A device:
- Send uplink
- Open 2 receive windows
- Sleep

Class B device:
- Sync beacon
- Scheduled receive slots

Class C device:
- Continuous listening
- Respond anytime
This sample shows the main behavior steps for each device class in LoRaWAN communication.
Process Table
StepDevice ClassActionResultNext State
1Class ASend uplink messageMessage sent to gatewayOpen 2 receive windows
2Class AOpen RX1 windowListen for downlinkOpen RX2 window
3Class AOpen RX2 windowListen for downlinkSleep until next uplink
4Class BSync with beaconTime synchronizedOpen scheduled receive slots
5Class BOpen scheduled receive slotListen for downlinkWait for next slot or uplink
6Class CContinuous listeningAlways ready for downlinkRespond immediately when message arrives
7Class CSend uplink messageMessage sent anytimeContinue listening
8---End of cycle or wait for next event
💡 Devices stop actions when they finish their receive windows or continue listening based on class.
Status Tracker
VariableStartAfter Step 1After Step 2After Step 3After Step 4After Step 5After Step 6After Step 7Final
Device State (Class A)IdleUplink sentRX1 openSleepSleepSleepSleepSleepSleep
Device State (Class B)IdleIdleIdleIdleBeacon syncedReceive slot openWaitingWaitingWaiting
Device State (Class C)IdleIdleIdleIdleIdleListeningListeningUplink sentListening
Key Moments - 3 Insights
Why does Class A device open exactly two receive windows after sending uplink?
Class A devices open two short receive windows (RX1 and RX2) immediately after uplink to listen for downlink messages. This is shown in execution_table rows 2 and 3 where the device listens twice before sleeping.
How does Class B device know when to open receive slots?
Class B devices synchronize with a beacon from the gateway (row 4) to open scheduled receive slots (row 5). This synchronization allows them to listen at specific times.
Why does Class C device keep listening continuously?
Class C devices keep their receiver on all the time (row 6) so they can receive downlink messages anytime, which is different from Class A and B that have limited receive windows.
Visual Quiz - 3 Questions
Test your understanding
Look at the execution table, what is the device state of Class A after step 3?
ARX2 open
BSleep
CUplink sent
DRX1 open
💡 Hint
Check the 'Next State' column for Class A at step 3 in the execution_table.
At which step does Class B device synchronize with the beacon?
AStep 2
BStep 5
CStep 4
DStep 6
💡 Hint
Look for 'Sync with beacon' action in the execution_table.
If Class C device stops continuous listening, which step would it skip?
AStep 6
BStep 7
CStep 3
DStep 1
💡 Hint
Continuous listening is shown at step 6 in the execution_table for Class C.
Concept Snapshot
Device Classes in IoT:
Class A: Sends uplink, then opens 2 short receive windows, then sleeps.
Class B: Syncs with beacon, opens scheduled receive slots.
Class C: Listens continuously, ready to receive anytime.
Each class balances power use and downlink availability differently.
Full Transcript
This lesson shows how IoT devices in classes A, B, and C communicate. Class A devices send data then listen briefly twice before sleeping. Class B devices sync with a beacon to open scheduled receive slots. Class C devices keep listening all the time to receive messages anytime. The execution table traces each step for each class, showing device states and actions. Key moments clarify why Class A has two receive windows, how Class B uses beacons, and why Class C listens continuously. The quiz tests understanding of device states and timing. This helps beginners see how device classes manage sending and receiving data differently.

Practice

(1/5)
1. Which device class in IoT protocols listens only right after it sends data to save battery?
easy
A. Class D
B. Class B
C. Class C
D. Class A

Solution

  1. Step 1: Understand device class listening behavior

    Class A devices listen only after sending data to save battery life.
  2. Step 2: Compare with other classes

    Class B listens at scheduled times, Class C listens almost always, and Class D is not defined.
  3. Final Answer:

    Class A -> Option D
  4. Quick Check:

    Listening only after sending = Class A [OK]
Hint: Class A listens only after sending data to save battery [OK]
Common Mistakes:
  • Confusing Class A with Class B's scheduled listening
  • Thinking Class C saves battery by listening less
  • Assuming Class D exists in standard classes
2. Which of the following is the correct description of Class B devices in IoT?
easy
A. Listen almost all the time for quick reactions
B. Listen only after sending data
C. Listen at scheduled times to balance battery and responsiveness
D. Do not listen at all

Solution

  1. Step 1: Recall Class B listening pattern

    Class B devices listen at scheduled times to balance battery use and responsiveness.
  2. Step 2: Eliminate incorrect options

    Class A listens only after sending, Class C listens almost always, and Class D is invalid.
  3. Final Answer:

    Listen at scheduled times to balance battery and responsiveness -> Option C
  4. Quick Check:

    Scheduled listening = Class B [OK]
Hint: Class B listens on schedule, balancing battery and response [OK]
Common Mistakes:
  • Mixing Class B with Class A's listening behavior
  • Assuming Class B listens all the time like Class C
  • Choosing invalid Class D option
3. Given a device that must react instantly to commands but can afford higher battery use, which class is it likely to be?
medium
A. Class C
B. Class A
C. Class B
D. Class A or B

Solution

  1. Step 1: Identify device needs

    The device needs instant reaction and can use more battery.
  2. Step 2: Match device class

    Class C listens almost all the time, allowing quick reactions but uses more battery.
  3. Final Answer:

    Class C -> Option A
  4. Quick Check:

    Instant reaction + high battery = Class C [OK]
Hint: Instant reaction means Class C listens almost always [OK]
Common Mistakes:
  • Choosing Class A which saves battery but delays listening
  • Confusing Class B's scheduled listening with instant
  • Selecting multiple classes when only one fits
4. A developer configures a device to listen continuously but notices battery drains too fast. Which class did they likely configure incorrectly?
medium
A. Class B
B. Class C
C. Class A
D. Class D

Solution

  1. Step 1: Analyze battery drain cause

    Continuous listening causes high battery use.
  2. Step 2: Identify device class

    Class C listens almost all the time, causing battery drain if not expected.
  3. Final Answer:

    Class C -> Option B
  4. Quick Check:

    Continuous listening = Class C [OK]
Hint: Continuous listening drains battery: Class C [OK]
Common Mistakes:
  • Assuming Class A listens continuously
  • Confusing Class B's scheduled listening with continuous
  • Selecting non-existent Class D
5. You need to design an IoT device that must save battery but still receive commands within a predictable time window. Which device class should you choose and why?
hard
A. Class B, because it listens at scheduled times balancing battery and responsiveness
B. Class C, because it listens almost all the time for instant commands
C. Class A, because it listens only after sending data
D. Class A or C, depending on network conditions

Solution

  1. Step 1: Understand design requirements

    The device must save battery but receive commands predictably.
  2. Step 2: Match device class to requirements

    Class B listens at scheduled times, balancing battery use and predictable command reception.
  3. Step 3: Eliminate other options

    Class A listens only after sending, so commands may be delayed unpredictably; Class C uses too much battery; Class D is invalid.
  4. Final Answer:

    Class B, because it listens at scheduled times balancing battery and responsiveness -> Option A
  5. Quick Check:

    Battery saving + predictable listening = Class B [OK]
Hint: Scheduled listening balances battery and command timing: Class B [OK]
Common Mistakes:
  • Choosing Class A which may miss commands unpredictably
  • Selecting Class C which wastes battery
  • Confusing multiple classes as correct
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard