Skip to main content

SW3L-FB – NB-IoT/LTE-M Flow Sensor

sw3l-cb-reference.png

1. Introduction​

1.1 What is SW3L-FB NB-IoT/LTE-M Flow Sensor?​

The Dragino SW3L-FB is an NB-IoT/LTE-M flow sensor for monitoring water usage in buildings and other installations. It counts pulses from the connected flow probe, converts the accumulated count into liters, and sends the cumulative volume to an IoT server. Different probe sizes are available for different pipe diameters and flow ranges.

The device reports water usage at a configurable interval. It also monitors continuous flow and can send an alarm when water keeps running beyond the configured time, for example, when a toilet valve fails to close. Clock logging lets the device collect readings between uplinks and send multiple timestamped records together.

SW3L-FB is designed for indoor and outdoor installations with a weatherproof enclosure and an industrial 8500 mAh Li-SOCl₂ battery for long-term use. Battery life varies with reporting frequency, network conditions, and alarm activity.

SW3L-FB supports MQTT, MQTT over TLS, TCP, and UDP to connect to different IoT servers. Select a site with NB-IoT or LTE-M coverage. The GE version uses a user-supplied SIM and server settings. The 1T version includes a pre-installed SIM and is preconfigured for ThingsEye.

The device supports Bluetooth 5.1 configuration and HTTP OTA firmware updates. You can also configure the unit through the serial port or send configuration commands from the server. GNSS location fields are available in the uplink.

1.2 Features​

  • NB-IoT Bands: B1/B2/B3/B4/B5/B8/B12/B13/B17/B19/B20/B25/B26/B28/B65/B66/B85/B106
  • CAT-M1 / LTE-M Bands: B1/B2/B3/B4/B5/B8/B12/B13/B18/B19/B20/B25/B26/B28/B66/B85/B106
  • Ultra-low power consumption
  • Periodic uplinks and continuous-flow alarms
  • Cumulative water volume in liters and raw pulse count in the uplink
  • Configurable pulses-per-liter factor and selectable starting count
  • Clock logging and multiple records in one uplink
  • JSON uplinks over MQTT, MQTT over TLS, TCP or UDP
  • GNSS for location reporting
  • Bluetooth 5.1 for remote configuration
  • HTTP OTA firmware update
  • Downlink configuration
  • Nano SIM card slot
  • 8500 mAh Li-SOCl2 battery (SW3L-FB)
  • Solar panel + 3000 mAh rechargeable Li-ion battery (SW3L-FS)

1.3 Specification​

Common DC Characteristics:

  • Supply Voltage: 3.0v ~ 3.6v
  • Operating Temperature: -40 ~ 85°C

NB-IoT/LTE-M Spec:

  • Module: nRF9151-NGFF
  • Support Bands:
    • NB-IoT Bands:

      • B1 @H-FDD: 2100MHz
      • B2 @H-FDD: 1900MHz
      • B3 @H-FDD: 1800MHz
      • B4 @H-FDD: 2100MHz
      • B5 @H-FDD: 860MHz
      • B8 @H-FDD: 900MHz
      • B12 @H-FDD: 720MHz
      • B13 @H-FDD: 740MHz
      • B17 @H-FDD: 730MHz
      • B19 @H-FDD: 870MHz
      • B20 @H-FDD: 790MHz
      • B25 @H-FDD: 1900MHz
      • B26 @H-FDD: 876MHz
      • B28 @H-FDD: 750MHz
      • B65 @H-FDD: 2155MHz
      • B66 @H-FDD: 2000MHz
      • B85 @H-FDD: 700MHz
      • B106 @H-FDD: 900MHz
    • CAT-M1 / LTE-M Bands:

      • B1 @H-FDD: 2100MHz
      • B2 @H-FDD: 1900MHz
      • B3 @H-FDD: 1800MHz
      • B4 @H-FDD: 2100MHz
      • B5 @H-FDD: 860MHz
      • B8 @H-FDD: 900MHz
      • B12 @H-FDD: 720MHz
      • B13 @H-FDD: 740MHz
      • B18 @H-FDD: 870MHz
      • B19 @H-FDD: 870MHz
      • B20 @H-FDD: 790MHz
      • B25 @H-FDD: 1900MHz
      • B26 @H-FDD: 876MHz
      • B28 @H-FDD: 750MHz
      • B66 @H-FDD: 2000MHz
      • B85 @H-FDD: 700MHz
      • B106 @H-FDD: 900MHz

Battery:

  • Li/SOCI2 un-chargeable battery(SW3L-FB)
  • Capacity: 8500mAh
  • Self Discharge: <1% / Year @ 25°C
  • Max continuously current: 130mA
  • Max boost current: 2A, 1 second

Power Consumption:

  • STOP mode: 14 µA at 3.3 V
  • Maximum transmit current: 350 mA at 3.3 V

1.4 Flow Sensor Spec​

The following specifications are for the supplied flow probe family. Select a probe by pipe diameter and expected flow range, then set its pulses-per-liter factor as described in Section 3.5.

ModelSW3L-002-FESW3L-004SW3L-006SW3L-010SW3L-020
Probe #DW-002-FEDW-004DW-006DW-010DW-020
DiameterG1/4" / DN10G1/2" / DN15G3/4" / DN20G1" / DN25G2" / DN50
Working Range0.5–6 L/min1~30L/min1~60L/min2~100L/min10~300L/min
Measure1377 pulses = 1 L450 pulse = 1 L390 pulse = 1 L64 pulse = 1 L12 pulse = 1 L
Accuracy±5%±5%±5%±5%±5%
Power Consumption1uA, 3.6v (Sensor Only)1uA, 3.6v (Sensor Only)1uA, 3.6v (Sensor Only)1uA, 3.6v (Sensor Only)1uA, 3.6v (Sensor Only)
Max Pressure≤ 0.8 MPa≤ 1.75Mpa≤ 1.75Mpa≤ 1.75Mpa≤ 1.75Mpa
Temperature range<80°C<80°C<80°C<80°C<80°C
Humidity Range35%~90%RH (no frost)35%~90%RH (no frost)35%~90%RH (no frost)35%~90%RH (no frost)35%~90%RH (no frost)

Ordering note: The SW3L-002-FE for domestic orders only, with a minimum order quantity of 200 units.

1.5 Applications​

  • Water usage monitoring
  • Continuous-flow monitoring for toilets and plumbing
  • Water control and wastewater monitoring

1.6 Sleep mode and working mode​

Deep Sleep Mode: Sensor doesn't have any NB-IoT activate. This mode is used for storage and shipping to save battery life.

Working Mode: In this mode, Sensor will work as NB-IoT Sensor to Join NB-IoT network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.

1.7 Button & LEDs​

1675071855856-879-df7048146f1bde6c8aa0e45cd4961a18.png

Behavior on ACTFunctionAction
1749523503750-484.png 1~3sSend an uplink

If sensor has already attached to NB-IoT/CAT-M1 network, sensor will send an uplink packet, blue led will blink once.
Meanwhile, BLE module will be active and user can connect via BLE to configure device.

1749523505736-728.png >3sActive Device

Green led will fast blink 5 times. And then start to attach NB-IoT/CAT-M1 network.
Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device attach NB-IoT/CAT-M1 network or not.

1749523513440-828.png x5Deactivate DeviceRed led will solid on for 5 seconds. Means device is in Deep Sleep Mode.
1749523513440-828.png x1Toggle Serial Communication

Press the ACT button once to activate the serial communication function, and Ready will be displayed in the serial tool.
Press the ACT button once again to disable the serial communication function. The green led will turn on when the button is pressed, and then the red led will blink once to indicate that the serial communication has been disabled.

Note

When the device is executing a program, the buttons may become invalid. It is best to press the buttons after the device has completed the program execution.

1.8 BLE connection​

SW3L-FB supports remote configuration via BLE.

BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case:

  • Press button to send an uplink
  • Press button to active device.
  • Device Power on or reset.

If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode.

1.9 Pin Definitions, Switch & SIM Direction​

1777338705937-466.png

1.9.1 Jumper JP2​

Install JP2 to power on the device. Remove it to power off.

1.9.2 BOOT MODE / SW1​

The BOOT MODE / SW1 switch has no function on -FB products. Keep it in the FLASH position.

1.9.3 Reset Button​

Press to reboot the device.

1.9.4 SIM Card Direction​

See this link. How to insert SIM Card.

1.10 Probe Mechanical​

The drawings below are for the DW-series flow probes. For each probe, match the thread size and nominal pipe diameter in Section 1.4 before installation.

DW-004​

dw-004.png

DW-006​

dw-006.png

DW-010​

dw-010.png

DW-020​

dw-020.png

2. Use SW3L-FB to communicate with IoT Server​

2.1 Send data to IoT server via NB-IoT/LTE-M network​

SW3L-FB sends cumulative flow measurements to the IoT server over NB-IoT/LTE-M.

For first use, verify the calculation factor for the prewired probe, install or verify the SIM, configure the APN and server as needed, and activate the device with the ACT button. Check that the server receives the status packet and a flow uplink. Run water through the probe and verify that both the pulse count and the cumulative volume increase.

0f6808a1cd228693db45bc4c98945367.jpg

There are two version: -GE and -1T version of SW3L-FB.

GE Version: This version doesn't include SIM card or point to any IoT server. User needs to use AT Commands to configure below two steps to set SW3L-FB send data to IoT server.

Below shows result of different server as a glance.

ServersDash BoardComments
Node-Red1756781834994-542-765ba95139140baaa459999983459ad5.png
Tago.IO
General UDPRaw Payload. Need Developer to design Dash Board
General MQTTRaw Payload. Need Developer to design Dash Board
ThingsBoard1756781877990-241-70cc7a67afc27118620849f332bba075.png

2.2 Payload Types​

SW3L-FB supports JSON payloads only. Use AT+PRO to select the connection protocol with the corresponding parameters:

  • AT+PRO=2,0 // UDP connection with JSON payload
  • AT+PRO=3,0 // MQTT connection with JSON payload
  • AT+PRO=4,0 // TCP connection with JSON payload

2.2.1 Status Packet​

After each reactivation, the device sends a status packet once it joins the cellular network and connects to the server.

{
"IMEI": "123456789012345",
"Image Version": "v1.0.0",
"NB-IoT Stack": "NRF9151-001",
"Model": "SW3L-FB",
"MCC": "460",
"MNC": "0",
"Cell_id": "46134845",
"Cell_area": "7479",
"PSM_TAU": "36000",
"Active_time": "0"
}
FieldDescription
IMEIDevice International Mobile Equipment Identity.
Image VersionDevice application firmware version.
NB-IoT StackCellular modem stack identifier.
ModelDevice model reported by the firmware.
MCCMobile Country Code of the serving network.
MNCMobile Network Code of the serving network.
Cell_idServing cell identifier.
Cell_areaServing cell's network area code.
PSM_TAUPeriodic TAU timer (T3412) in seconds. Time the device stays in PSM deep sleep before waking up for a Tracking Area Update (e.g., "36000" = 10 hours).
Active_timePSM active timer (T3324) in seconds. How long the modem remains reachable in idle mode before entering deep sleep (e.g., "0" = immediate sleep).

2.2.2 General JSON Format (Type=0)​

The following uplink was captured with AT+CLOCKLOG=1,65535,1,8.

{
"IMEI": "123456789012345",
"IMSI": "123456789012345",
"Model": "SW3L-FB",
"fcnt": "10",
"signal": "21",
"bat": 3.66,
"alarm": "0",
"pulse": 1000,
"water_flow": 2.22,
"MCC": "460",
"MNC": "0",
"Cell_id": "46134845",
"Cell_area": "7479",
"time": "2026-12-03T07:06:33Z",
"latitude": 0,
"longitude": 0,
"gps_time": "00/00/00,00:00:00",
"1": ["2.22,2026-12-03T07:00:08Z"],
"2": ["2.22,2026-12-03T07:01:08Z"],
"3": ["2.22,2026-12-03T07:02:08Z"],
"4": ["2.22,2026-12-03T07:03:08Z"],
"5": ["2.22,2026-12-03T07:04:08Z"],
"6": ["2.22,2026-12-03T07:05:08Z"],
"7": ["2.22,2026-12-03T07:06:08Z"],
"8": ["2.22,2026-12-03T07:06:33Z"]
}
FieldDescription
IMEIDevice identifier.
IMSISubscriber identifier associated with the SIM.
ModelDevice model, "SW3L-FB"
fcntUplink frame counter.
signalCellular signal quality.
batBattery voltage in volts.
alarm"0" for a normal uplink; "1" for a continuous-flow alarm.
pulseCumulative pulse count.
water_flowCumulative volume in liters, calculated as pulse / CALCFLAG.
MCC, MNC, Cell_id, Cell_areaServing network and cell information.
timeUplink timestamp in UTC.
latitude, longitude, gps_timeGNSS coordinates and fix time. The example shows the reported values without a fix.
"1" … "8"Individual historical entries in the eight-record example. Each array contains one comma-separated string: volume_in_liters,UTC_timestamp.

Signal strength (signal):

ValueSignal strength
"0"−113 dBm or less
"1"−111 dBm
"2"–"30"−109 dBm to −53 dBm
"31"−51 dBm or greater
"99"Unknown or not detectable

3. Configure SW3L-FB​

3.1 Configure Methods​

SW3L-FB supports below configure method:

3.2 Serial Access Password​

note

Due to limitations of the NRF9151-NGFF module, the serial communication function remains active for only 5 minutes. If this time is exceeded, you must press the ACT button once to reactivate the chip’s serial communication function.

After the Bluetooth or UART connection is successful, use the Serial Access Password to enter the AT command window.

The label on the box of the node will print the initial password: AT PIN:xxxxxx, and directly use the six-digit password to access the AT instruction window.

1777275088933-272.png

If you need to change the password, use **AT+PWORD=**xxxxxx (6 characters).

1777274843104-300.png

Note

After entering the command, you need to add a line break, and you can also set automatic line breaks in the Bluetooth tool or UART connection tool.

1777274927711-300.png

3.3 AT Commands Set​

AT? // List available commands
AT+<CMD>? // Help on a command
AT+<CMD> // Run a command
AT+<CMD>=<value> // Set a value
AT+<CMD>=? // Query a value

General Commands

AT+MODEL : Get module information

AT+CFG : Print all settings

AT+TDC : Get or set the uplink interval in seconds

AT+RXDL : Get or Set the receiving time

AT+DEUI : Get or set the Device ID

AT+CFGMOD : Working mode selection

AT+SLEEP : Set the sleep mode

Flow Sensor

AT+CALCFLAG : Get or set the number of pulses per liter

AT+SETCNT : Get or set the cumulative pulse count

AT+PTRIG : Get or set the continuous-flow alarm parameters

AT+GETSENSORVALUE : Returns the current sensor measurement

AT+5VT : Get or Set extend the time of 5V power

Network and Server

AT+APN : Get or set the APN

AT+AUNAME : Get or set the APN username

AT+APWD : Get or set the APN password

AT+SERVADDR : Get or Set the Server address

AT+PRO : Select the connection protocol (2: UDP, 3: MQTT, 4: TCP)

AT+IOTMOD : Configure Network Category to be Searched for under LTE RAT

AT+QCOPS : Get or set operator code

AT+SFNT : Get or set the network search time

AT+UDPMOD : Get or set UDP working mode

AT+REDPT : Get or set retransmission of unconfirmed records

AT+FREB : Get or set the number of consecutive send failures before a restart

AT+DTLSID : Get or set the DTLS Connection ID

MQTT Management

AT+CLIENT : Get or Set the MQTT clientID

AT+UNAME : Get or Set the MQTT Username

AT+PWD : Get or Set the MQTT password

AT+PUBTOPIC : Get or set MQTT publishing topic

AT+SUBTOPIC : Get or set MQTT subscription topic

AT+MQOS : Set the QoS level of MQTT

AT+TLSMOD : Get or Set the TLS mode

GPS

AT+GTIME : Extend the time to turn on GNSS

AT+QGPS : Turn off and on GPS

AT+QGTDC : Get or set GPS positioning interval in units of h

Data Logging

AT+CLOCKLOG : Get or set clock logging

AT+LDATA : Get the last upload data

AT+PLDTA : Print the last few sets of data

AT+PDTA : Print the sector data from start page to stop page

AT+CLRDTA : Clear the storage, record position back to 1st

AT+GETLOG : Print serial port logs

Device Management

AT+PWORD : Get or set the System password

AT+FDR : Reset Parameters to Factory Default

ATZ : Trig a reset of the MCU

AT+DEBUG : Get or Set the debug mode

AT+UPGRADE : OTA upgrade.

By default, Sensor will send uplinks every 2 hours.

User can use below commands to change the uplink interval.

AT Command: AT+TDC

Example: AT+TDC=7200 // Set Update Interval to 7200 seconds

Downlink Commands: 0x01

Format: Command Code (0x01) followed by 3 bytes.

Example: 12 hours= 43200 seconds 43200(D)=0xA8C0(H)

Downlink Payload: 01 00 A8 C0 // AT+TDC=43200, Set Update Interval to 12 hours.

Note: User can also push the button for more than 1 second to activate an uplink.

3.5 Set the Calculation Factor​

AT Command: AT+CALCFLAG

Set the number of pulses that represent one liter for the connected probe.

ProbeAT commandPulses per liter
DW-004AT+CALCFLAG=450450
DW-006AT+CALCFLAG=390390
DW-010AT+CALCFLAG=6464
DW-020AT+CALCFLAG=1212

With AT+CALCFLAG=450, 4500 pulses correspond to 10 L. Changing the factor recalculates the reported volume from the current cumulative count.

Downlink command: 0xA5

Format: Command Code (0xA5) followed by 2 bytes.

Example:

Downlink payload: A501C2 // AT+CALCFLAG=450

3.6 Set or Clear the Pulse Count​

AT Command: AT+SETCNT

CommandFunction
AT+SETCNT=?Read the current pulse count.
AT+SETCNT=0Clear the pulse count.
AT+SETCNT=1000Set the count to 1000 pulses.

Downlink command: 0xA6

Format: Command Code (0xA6) followed by 4 bytes.

Example:

  • Downlink payload: A600000000 // Clears the count, equivalent to AT+SETCNT=0.
  • Downlink payload: A6000003E8 // Sets the count to 1000, equivalent to AT+SETCNT=1000.

3.7 Alarm for Continuous Water Flow​

AT Command: AT+PTRIG

Use AT+PTRIG=a,b to configure two timers.

  • a is the stop duration in seconds. A gap of this length without pulses ends the current flow event.
  • b is the alarm timer in minutes. When a flow event reaches this duration, the device sends an uplink with alarm: "1" and repeats the alarm every b minutes while flow continues.

Downlink command: 0xAA

Format: AA aa bb bb. After the command code, encode a in 1 byte and b in 2 bytes (most significant byte first). Send the Hex payload without spaces.

AT commandHex downlinkBehavior
AT+PTRIG=0,0AA000000Disable the alarm (default).
AT+PTRIG=5,1AA050001Test the alarm. One minute of continuous flow triggers an alarm. A 5-second gap ends the event and resets the timer.
AT+PTRIG=15,10AA0F000AMonitor a running toilet. A short refill that ends before 10 minutes produces no alarm. A refill that runs for 10 minutes triggers an alarm.

3.8 Set the QoS level​

This command is used to set the QoS level of MQTT.

AT command:

  • AT+MQOS=xx // 0~2

Downlink command: 0x07

Format: Command Code (0x07) followed by 1 byte.

Ex1: Downlink payload: 0700 // AT+MQOS=0

Ex2: Downlink payload: 0701 // AT+MQOS=1

3.9 Set the TLS Mode​

Refer to this link (General MQTT over TLS Connection) to use the TLS mode.

AT Command: AT+TLSMOD

Example 1:

  • AT+TLSMOD=0,0 // Disable TLS Mode.

Example 2:

  • AT+TLSMOD=1,0 // No authentication
  • AT+TLSMOD=1,1 // Perform server authentication
  • AT+TLSMOD=1,2 // Perform server and client authentication if requested by the remote server

Downlink command: 0x09

Format: Command Code (0x09) followed by 2 bytes.

Example1: Downlink Payload: 090000 // AT+TLSMOD=0,0

Example2: Downlink Payload: 090102 // AT+TLSMOD=1,2

3.10 Configure the LTE Network Category​

AT command: AT+IOTMOD=a,b,c

  • a enables LTE-M (eMTC) when set to 1 and disables it when set to 0.
  • b enables NB-IoT when set to 1 and disables it when set to 0.
  • c selects the priority when both network categories are enabled.

Example: AT+IOTMOD=1,1,2 enables LTE-M and NB-IoT and gives priority to NB-IoT.

3.11 Set the Network Search Time​

AT Command: AT+SFNT

Example: AT+SFNT=60 // Set the network search time to 60 seconds.

Downlink command: 0x13

Format: Command Code (0x13) followed by 1 byte.

Example: Downlink Payload: 130A// AT+SFNT=10

3.12 Clock logging​

Clock logging records cumulative water volume on a schedule and includes multiple timestamped records in one uplink.

AT command: AT+CLOCKLOG=a,b,c,d

a: 0: Disable Clock logging. 1: Enable Clock Logging

b: Specify First sampling start second: range (0 ~ 3599, 65535) // Note: If parameter b is set to 65535, the log period starts after the node accesses the network and sends packets.

c: Specify the sampling interval: range (0 ~ 255 minutes)

d: How many entries should be uplink on every TDC (max 20)

Note

To disable clock recording, set the following parameters: AT+CLOCKLOG=1,65535,0,0

clocklog_example-47df85d5954b0ea8fef9245801364c45.png

Example:

AT+CLOCKLOG=1,65535,1,8

After the node sends the first packet, data is recorded to memory at intervals of 1 minute. For each subsequent TDC uplink, the payload includes the full real-time device data as well as the last 8 memory records, each containing cumulative volume in liters and a UTC timestamp.

84e06ded9882e80efaf5d0561ae64199.png

Note: Users need to synchronize the server time before configuring this command. If the server time is not synchronized before this command is configured, the command takes effect only after the node is reset.

JSON Downlink Example:

{"Config":"[AT+CLOCKLOG=1,65535,1,8]"}

Downlink command: 0x16

Format: Command Code (0x16) followed by 5 bytes.

  • Example 1: Downlink Payload: 1601FFFF0F08 //Equal to AT+CLOCKLOG=1,65535,15,8

  • Example 2: Downlink Payload: 160104B00F08 //Equal to AT+CLOCKLOG=1,1200,15,8

Note

When entering the downlink payload, there must be no Spaces between bytes.

3.13 Print last few data entries​

Feature: Print the last few stored records.

AT Command: AT+PLDTA

Use the local serial console. AT+PLDTA=5 prints the last five stored records.

AT+PLDTA=5
0001 2026/12/3 08:36:07 3641 water_flow=35.71 alarm:false
0002 2026/12/3 08:37:07 3645 water_flow=35.71 alarm:false
0003 2026/12/3 08:38:07 3645 water_flow=35.71 alarm:false
0004 2026/12/3 08:39:07 3649 water_flow=35.71 alarm:false
0005 2026/12/3 08:40:07 3645 water_flow=35.71 alarm:false

OK

3.14 Print data entries by page​

Feature: Print stored Flash records from the start page to the end page.

AT Command: AT+PDTA

Use the local serial console. AT+PDTA=1,1 prints the records on page 1.

AT+PDTA=1,1
E8000 2026/11/24 03:05:10 3614 water_flow=34661.80 alarm:false
E8010 2026/11/24 03:20:10 3629 water_flow=34661.80 alarm:false
E8020 2026/11/24 03:21:10 3629 water_flow=34661.80 alarm:false
E8030 2026/11/24 03:22:10 3629 water_flow=34661.80 alarm:false
E8040 2026/11/24 03:23:10 3629 water_flow=34661.80 alarm:false
E8050 2026/11/24 03:24:10 3626 water_flow=34661.80 alarm:false
E8060 2026/11/24 03:25:10 3629 water_flow=34661.80 alarm:false
E8070 2026/11/24 03:26:10 3629 water_flow=34661.80 alarm:false

OK

Each record includes the sampling timestamp, battery voltage in millivolts, cumulative water volume in liters (water_flow), and alarm state (alarm).

3.15 Clear Flash Record​

Feature: Clear the records stored in Flash and reset the record position.

AT Command: AT+CLRDTA

Use the local serial console to run AT+CLRDTA.

AT Command: AT+REDPT

Use AT+REDPT=1 to enable retransmission. When the device receives an ACK for a new uplink, it retransmits previously unconfirmed records.

  • MQTT. The MQTT server sends the acknowledgement.
  • UDP. Configure your server to reply to the device with Confirm:200 when it receives an uplink. The device treats this reply as the ACK.

Each numbered value in the retransmission payload is a string in battery_voltage,volume_in_liters,UTC_timestamp format. The excerpt below shows two entries from a test.

{
"1": "3.65,35.71,2026-12-03T08:48:45Z",
"2": "3.63,35.71,2026-12-03T08:49:07Z"
}

3.17 Failed Send Attempts Before Automatic Restart​

Feature: Get or set the number of consecutive failed send attempts that triggers an automatic restart.

AT Command: AT+FREB

Command ExampleFunction
AT+FREB=?Show the current failed send attempt threshold.
AT+FREB=0Disable automatic restart after consecutive failed send attempts.
AT+FREB=15Set the node to restart automatically after 15 consecutive failed send attempts.

Downlink Command: 0x33

  • Example: 3302 // Same as AT+FREB=2
  • Example: 330A // Same as AT+FREB=10

3.18 Set the GNSS Positioning Time​

Extend the time to turn on GNSS. The automatic GPS location time is extended when the node is activated.

AT Command: AT+GTIME

Example: AT+GTIME=30 // Set the GPS positioning time to 30 seconds

Downlink command: 0x10

Format: Command Code (0x10) followed by 2 bytes.

Example: Downlink Payload: 10001E // AT+GTIME=30

3.19 Turn GPS On or Off​

AT Command: AT+QGPS

  • Ex1: AT+QGPS=0 // Turn off GPS
  • Ex2: AT+QGPS=1 // Turn on GPS

Downlink command: 0x11

Format: Command Code (0x11) followed by 1 byte.

Example: Downlink Payload: 1101 // AT+QGPS=1

3.20 Set the GPS Positioning Interval​

Feature: Set GPS positioning interval (unit: hour).

When GPS is enabled, the device attempts positioning at the interval set by AT+QGTDC.

AT Command: AT+QGTDC

Example: AT+QGTDC=24 // Set the GPS positioning interval to 24h.

Downlink command: 0x12

Format: Command Code (0x12) followed by 3 bytes.

Example: 24 hours: 24(D)=0x18(H)

Downlink Payload: 12000018 // AT+QGTDC=24

3.21 Set 5 V Output Duration​

AT Command: AT+5VT

Use AT+5VT=? to check the configured duration. The setting is in milliseconds. For example, AT+5VT=1000 sets the 5 V output duration to 1000 ms. Use this setting with a compatible accessory that needs the switched 5 V output.

3.22 Debug Mode​

Feature: Since the serial communication feature of the NRF9151 module requires activation, this command is intended for users who need to use the serial port for extended periods of time.

AT command: AT+DEBUG

Command ExampleFunction
AT+DEBUG=1Enter debug mode.
AT+DEBUG=0Exit debug mode and disable serial access.
Tip
  1. This feature remains active for only 5 minutes; it will automatically turn off after 5 minutes.
  2. Keeping the serial port open continuously increases power consumption in sleep mode; the continuous current is 900 μA.

Send Hex commands as contiguous text without spaces or a 0x prefix. For JSON configuration, wrap the AT command in square brackets inside the Config string.

The device can reply with {"IMEI":"355025936334455","Downklink_Ack":"success"}.

See FB Downlink Command Format for JSON and Hex configuration.

4. Battery & Power Consumption​

See Battery Information and Power Consumption for battery handling and replacement. External sensor current, sensor power-on time, network conditions and uplink frequency affect battery life.

5. Firmware Update​

Start at the Dragino Cellular Firmware Repository. Open the folder for your product, review the changelog, and select the firmware version for your device. For HTTP OTA, copy the direct URL of the selected .bin file. For UART TTL, download the .bin file to your computer.

5.1 Over-the-Air (OTA) Firmware Update via HTTP​

  1. Open your product folder in the Dragino Cellular Firmware Repository and copy the full HTTP URL of the .bin file for the version you want to install.
  2. Send the upgrade command using one of the following methods.

Serial port or BLE

Connect to the device and unlock AT command access with the serial access password. Send AT+UPGRADE with the copied URL in double quotes.

AT+UPGRADE="http://repo.dragino.com/release/cellular/SW3L-FB/SW3L-FB_v1.1.0.bin"

Server downlink

Send the following downlink payload. The Config value wraps the AT command in square brackets.

{"Config":"[AT+UPGRADE="http://repo.dragino.com/release/cellular/SW3L-FB/SW3L-FB_v1.1.0.bin"]"}

SW3L-FB v1.0.0 is an example. The device installs the version specified by the URL. To install another version, copy that version's .bin URL from the repository and use it in the command.

For further details, see OTA Upgrade for NB-IoT / LTE-M End Nodes.

5.2 Firmware Update through UART TTL​

  1. Open your product folder in the Dragino Cellular Firmware Repository. Review the changelog and download the latest compatible .bin file for your device, or the specific version you intend to install.
  2. Follow UART Upgrade for -FB/-FS/-FE Models to install the downloaded file through the UART TTL interface.

6. FAQ​

6.1 Why is the reported volume incorrect?​

If the pulse count stays unchanged during flow, verify that water is flowing through the probe and send a test uplink. If the count still does not increase, contact support. If the count increases but the reported volume is wrong, check AT+CALCFLAG against the probe rating.

6.2 Can I use a third-party flow sensor?​

Contact Dragino Support to confirm compatibility before replacing the factory-connected probe with a third-party flow sensor.

6.3 Where can I find general NB-IoT/LTE-M configuration instructions?​

See -FB & -FS Models (NB-IoT, LTE-M).

6.4 Does SW3L-FB support GPS positioning?​

Yes. See Add Location Data on Uplink Packet for configuration and usage.

7. Order Info​

Select the connectivity version and flow probe when ordering.

  • GE: General version with no SIM card included.
  • 1T: Includes a pre-installed 1NCE SIM card and is preconfigured for ThingsEye.
Probe optionProbeThread and nominal diameterPulses per liter
004DW-004G1/2" / DN15450
006DW-006G3/4" / DN20390
010DW-010G1" / DN2564
020DW-020G2" / DN5012

See Section 1.4 for the DW-002-FE probe specifications and the 200-unit minimum order for SW3L-002-FE.

8. Packing Info​

Package Includes

  • SW3L-FB NB-IoT/LTE-M flow sensor unit × 1
  • Selected flow probe × 1

Confirm the probe option and SIM configuration on the order. Contact the supplier for the shipping dimensions and weight of the selected assembly.

9. Support​

  • Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.

  • Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to Support@dragino.cc.