Monogoto
Back to Monogoto website
  • Welcome
  • Getting Started
    • Quick Start
    • Device Configurations
      • IoT Modules
        • NORDIC nRF9160 DK
        • Quectel BG95-MX
        • Quectel BG96
        • Murata LBAD0XX1SC-DM
          • Satellite NTN Network
        • Sierra Wireless WP7607
        • Sierra Wireless WP7610
        • Sierra Wireless MC7700
        • SIMCom SIM7070G
          • Waveshare SIM7070G
        • SIMCom SIM7600G-H
          • Waveshare SIM7600G-H
        • Telit HE910
        • Thales Cinterion TX62
        • u-blox SARA R4
          • SODAQ SARA R41XM
        • Cellular Devices
          • Openwrt EG95
          • ProView 4GPro-W
          • Teltonika RUT240
          • Teltonika FMB920
          • InHand IR302
          • Provision-ISR PR-LTE01W
          • Sierra Wireless RV50 AirLink
          • Smart Cash Register Configuration to Use Cellular SIM as WiFi Backup
          • Nayax Nova 40
      • iPhone Device
      • Android Device
      • Raspberry Pi
    • Monogoto SIM
      • IoT SIM card
      • Embedded SIM
      • eSIM
      • iSIM
        • Murata LBAD0XX1SC
        • Quectel BG770A-SN
      • SGP.32
        • Kigen Pulse
      • Monogoto SIM Tool Kit (MTK)
    • Cellular Identities in Monogoto
    • Coverage Lists
      • Identity B Coverage
      • Identity C Coverage
      • Identity E Coverage
      • Identity F Coverage
      • Identity P Coverage
      • Identity U Coverage
      • NTN Satellite Coverage
      • LP-WAN Coverage
    • Features List
    • Community Forum
  • FAQ
  • Hub
    • Intro
      • Signup
      • Login
      • Logout
      • Users
        • Create a new user
        • Delete a user
        • Manage users
        • User password reset
      • General Elements
    • Dashboards
      • Active SIMs and Data Usage
        • Daily Active Things
        • Daily Data Usage
        • Top Consuming Things
        • Top Profiles in Use
        • Top Groups by Data Usage
        • Top Networks by Data Usage
        • Top Groups by Active Things
        • Top Networks by Active Things
      • Data Flows
        • Data Transfer
        • Top Destinations
        • Breakout
        • Services
        • Protocols
        • TCP Flags
        • Top Things (upload/download)
    • Things
      • Thing details
        • Understanding OPLMN and FPLMN on the Thing details page
      • Quality of Service
        • Thing QoS tests for public connectivity
        • Thing QoS monitoring for private connectivity
      • SMS
        • Incoming SMS
        • Outgoing SMS
        • SMS Monitoring
      • Location Service
      • NetFlow
    • Campaigns
      • Campaigns Table
      • Campaign Details
      • SMS Campaign
    • Private Networks
      • Backhaul
      • Edge
        • Edge Events
          • Time
          • Messages
          • msg-type
          • Node
          • Direction
          • Interface
          • Type
      • Radio
    • Inbox
    • Integrations
      • Slack
      • Zapier
      • Webhook
        • Webhook CDRs
          • Webhook SMS CDR
          • Webhook DATA CDR
      • Email
    • Captures
      • Basics on How to Read a Packet Capture File
    • Orders
      • Create a new order
    • Payments
  • Advanced Console
    • Intro
    • Security
    • Network
      • Create new Network
      • Edit Network Settings
      • Apply Network Settings
      • Delete Network
      • Add Network NAT
      • Edit Network NAT
      • Delete Network NAT
      • Add Network Route
      • Edit Network Route
      • Delete Network Route
      • Add Network VPN
      • Network VPN status
      • Edit Network VPN
      • Delete Network VPN
      • Download Network VPN configuration
      • Reconnect Network VPN
      • Ping Network VPN
      • How Devices in The Same Network Can Communicate with Each Other?
    • Things Groups
      • Create Things Group
      • Assign Things to Group
      • Edit Things Group
      • Delete Things Group
      • Override Roaming Policy
    • Things
      • Define Thing Status
      • Edit Things Details
      • Refresh Connection
    • Alerts
      • Alert Metrics (types)
      • Create New Alert
      • Disable/Enable Alert
      • Edit Alert
      • Delete Alert
    • Global Pools
    • Price Plans
    • Webhooks
      • Outgoing (MO) SMS Webhook
      • Incoming (MT) SMS Webhook
      • Outgoing (MO) Voice Webhook
      • Incoming (MT) Voice Webhook
      • Triggered Alert Webhook
  • Developer
    • API
      • Authentication
      • Things
        • Get Things List
        • Get Thing Information
        • Get Thing State
        • Update Thing State
        • Update Thing Name
        • Update Thing Description
        • Get Thing Data Session Status
        • Get Thing ICCID using IMSI
        • Get Thing Lifetime Data Usage
        • Get Thing Events Logs
        • Ping Thing IP Address
        • Lock Thing to IMEI
        • Download Thing PCAP File
        • Refresh Thing Network Connection
        • Get Things Services Usage Report
      • Things Groups
        • Get Things Group List
        • Move Thing to Different Things Group
        • Get Things Group Information
        • Lock Things Group to IMEI range (TAC)
      • eSIM
        • Get an eSIM
        • Cancel an eSIM
        • Download an eSIM
      • Alerts
        • Get Triggered Alerts
      • SMS
        • Check if MT SMS was Received
        • Send SMS to Thing
      • Pricing
        • Get Pricing Plan Information
      • Get Roaming Policy
    • Cloud Integrations
      • AWS IoT Core
      • Ubidots
  • Private Networks
    • Intro
      • Getting Started
      • Spectrum Allocation
    • Monogoto Edge
      • 4G Edge Components
      • 5G Edge Components
      • Edge NUC
      • Edge API
        • Authentication
        • Get Edge Configuration
        • Get Edge ID
        • Get Edge CID
        • Get MME S6A And AMF AUSF Status
        • Get Radio List
        • Get Subscriber Information
        • Get Subscription Status
        • Patch Subscription Status
        • Get IMSI IP Mapping
        • Patch IMSI IP Mapping
        • Delete IMSI IP Mapping
        • Get PLMN
        • Post PLMN
        • Get Network Operator Name
        • Patch Network Operator Name
        • Get APN
        • Get APN IP Pool Mapping
        • Get CDR Logs
        • Post PING
        • Get iperf
        • Patch iperf
        • Get Speed Test
        • Get Data Speed
        • Get Capture
        • Post Capture
    • eNodeB
      • Airspan AirVelocity 1500
      • Baicells Nova 227
      • Baicells Nova 442i
      • Baicells Neutrino 430
      • Baicells Nova 230i
      • BreezeCOMPACT 1000
      • Foxconn T99B226
      • Ubiik goRAN
      • Ubiik FreeRAN
      • T&W N02008
      • Mosolabs SCE4255W
      • Mosolabs SCO4255P
    • gNodeB
      • Mosolabs SCE5164
      • Baicells Stellar 227
    • CPE & UE
      • Airspan AirSpot 5410
      • Sierra Wireless EM7565
      • DG505G CBRS 5G USB Dongle
      • DG10 CBRS USB Dongle
      • D-Link DWP-1010W CPE
      • D-Link DWM-311-G 5G M2M
      • D-Link G530 Router
      • IPC SCB800 CBRS Camera
      • Telit LM960A9-P
      • Moxa 5G CCG-1510-US-T
      • InHand 5G ODU2000
      • Peplink MAX BR1 Mini 5G
      • T&W 5G Router
      • Telit LM960A18
      • Baicells EG7010C-M11 CPE
      • Baicells EG7035E-M11 CPE
      • Baicells EG8015G-M11 CPE
      • Telrad 9000 CPE
      • SRW620 CPE
      • Amit IDG500-0GT01
      • Jacs TD0231 Router
  • NTN Satellite Networks
    • NTN Satellite Coverage
    • NTN Billing
    • NB-IoT: Signaling NIDD vs IP Connectivity
    • VPNs in NTN
    • UDP Communication in NTN
    • How to Order NTN Developer Kit?
    • NTN Certified Devices
      • NTN Certified Modules
        • Murata LBAD0XX1SC-DM Satellite NTN Network
        • Quectel BG95-S5 Satellite NTN Network
        • Quectel BG770A-SN Satellite NTN Network
        • Quectel CC660D-LS Satellite NTN Network
        • SIMCom 7070G-HP-S Satellite NTN Network
        • Murata ALT1250 Satellite NTN Network
      • NTN Certified Chipsets
  • University
    • AT Commands
      • What AT Commands Should I Use to Debug a Connectivity Issue?
      • How to Send AT Commands to a Teltonika Router?
    • LTE bands
    • RAT Type (Radio Access Technology)
    • Low Power Modes: eDRX & PSM
    • What is MCC/MNC?
    • Glossary
Powered by GitBook
On this page
  • Prerequisites
  • Quick Navigation
  • Set up UMTS & LTE EVB Kit (if applicable)
  • Connect the BG95 to Monogoto
  • Query device information
  • Network Configuration
  • Network Activation
  • Test the connection by sending a PING
  • Test the connection by sending a UDP payload
  • Troubleshooting
  • Useful Links

Was this helpful?

  1. Getting Started
  2. Device Configurations
  3. IoT Modules

Quectel BG95-MX

Set up the Quectel BG95 cellular modem

PreviousNORDIC nRF9160 DKNextQuectel BG96

Last updated 10 months ago

Was this helpful?

The Quectel BG95-M series support LTE Cat M1 technology. The M3 and M5 also come with GSM/EDGE support. This tutorial highlights the Quectel BG95-M3 which supports LTE Cat M1, NB-IoT2 and EGPRS and is compliant with 3GPP release 14.

Prerequisites

  • Monogoto SIM

  • BG95-M3

  • UMTS & LTE EVB Kit

Quick Navigation

Set up UMTS & LTE EVB Kit (if applicable)

Set up the EVB Kit

  • Connect the Quectel BG95-M3 modem to the EVB kit.

  • Connect the LTE antenna and (optionally) GPS antenna

  • Insert the Monogoto SIM

Connect you PC to the EVB Kit

Use the USB to UART converter cable to connect your computer to the COM1 MAIN port of the EVB Kit

When using Windows, install the driver using the disk or USB stick provided by Quectel.

Connect to the EVB kit using a terminal program. You can use PuTTY for Windows, or screen, minicom or miniterm for Mac or Linux.

Power the EVB Kit using the USB to micro USB cable and switch the POWER button to ON. The POWER LED will turn on RED.

Press and hold the PWRKEY button for 1 second, the STATUS light will light up on GREEN, the NET_STA LED will start blinking BLUE.

Once the modem has started, it will report:

RDY
APP RDY

Enter AT, if the connection with the BG95 modem has been established, the board will answer with OK.

Connect the BG95 to Monogoto

Keep the AT Commands manual next to you for more details about the commands. Click here to download the latest version.

Reset the modem to its default configuration:

Reset non-volatile memory:

AT+QPRTPARA=1 

Restore factory settings:

AT+QPRTPARA=3

Reboot module:

AT+CFUN=1,1

Set the error reporting to verbose, resulting in more descriptive error messages (optional):

AT+CMEE=2

Check the status of the SIM card. The correct response should be: +CPIN: READY

AT+CPIN?

If you receive an error, the SIM may not be inserted properly or the SIM is protected with a PIN. By default, Monogoto SIMs are not PIN protected.

Query device information

Request the product type, hardware and firmware version:

ATI

Request the IMSI (International Mobile Subscriber Identity):

AT+CIMI

Request the ICCID (Integrated Circuit Card ID), which is the identification number of the SIM card

AT+CCID

Network Configuration

It is possible to let the modem select the network automatically, or to manually define a network to connect with.

Option 1: Automatic Network Selection

To set the modem to automatic network selection enter the command:

AT+COPS=0

Check the network and cellular technology the modem is currently using:

AT+COPS? 

Expected response: +COPS: 0,0,"<name of operator>",X. The last digit indicates the cellular technology: 0 indicates GSM 8 indicates LTE Cat-M1 (also referred to as eMTC) 9 indicates NB-IoT

Option 2: Manual Network Selection

Start with searching for available networks:

AT+COPS=?

It may take several minutes before the modem responds.

The modem responds with the names and the MCCMNC codes of the available networks. It also shows the cellular technologies the networks support:

+COPS: (1,"vodafone NL","voda NL","20404",8),(1,"NL KPN","NL KPN","20408",0),(1,"vodafone NL","voda NL","20404",9),(1,"T-Mobile NL","TMO NL","20416",0),(1,"NL KPN","NL KPN","20408",8),(1,"vodafone NL","voda NL","20404",0),(1,"T-Mobile NL","TMO NL","20416",8),(1,"T-Mobile NL","TMO NL","20416",9),,(0,1,2,3,4),(0,1,2)

OK

To find which of the networks Monogoto has roaming agreements with, review the Coverage lists.

Check the network and cellular technology the modem is currently using:

AT+COPS? 

Expected response: +COPS: 0,0,"<name of operator>",X. The last digit indicates the cellular technology.

Manually set the network and the cellular technology:

AT+COPS=1,2,"XXXXX",8

Replace XXXXX with the MCCMNC code of your operator, for example"20404" for Vodafone NL. Use 8 for LTE Cat-M1.

Check the radio signal strength and signal quality:

AT+CSQ

+CSQ returns 2 values separated by a comma. The first value represents the signal strength and provides a value between 0 and 31; higher numbers indicate better signal strength. The second value represents the signal quality indicated by a value between 0 and 7. If AT+CSQ returns 99,99, the signal is undetectable or unknown.

Define the cellular band(s) (optional)

It is possible to lock the modem to one or more specific bands. This may result in a faster boot cycle as the modem does not need to scan for available bands at startup.

Supported LTE-M bands for the BG95-M1, -M2, -M3, -M5 and -MF are: 1 2 3 4 5 8 12 13 18 19 20 25 26 27 28 66 85

The BG95-M4 supports in addition to the bands mentioned above: 31 72 73

Although the modem may support many different bands, your local network operator may not. Have a look at the LTE Cat-M1 overview to find the available band(s) in your region.

To lock the modem to a specific band, a hexadecimal value representing the band needs to be sent to the modem. To lock the modem to LTE-M band 20, send:

AT+QCFG="band",0,0x80000,0

For information about setting specific LTE bands, see QCFG AT Commands Manual, chapter 3.1.1.4.

To test if the band(s) is properly set, enter the command:

AT+QCFG="band"

Example response: +QCFG: "band",0xf,0x80000,0x10004200000000090e189f The first hex number represents the GSM bands, followed by the LTE-M bands and NB-IoT bands.

Query Network information

To information about the technology used, the network provider and cellular band, enter:

AT+QNWINFO

Example response: +QNWINFO: "eMTC","20408","LTE BAND 20",6400.

Configure Radio Access Technology (RAT)

Configure the modem to only use LTE Cat-M1, not NB-IoT:

AT+QCFG="iotopmode",0,1

The last variable: 1, instructs the modem to process the command immediately. When using: 0, the takes effect after a reboot.

Specify the modem search sequence starting with LTE Cat-M1 (indicated with 02) followed by GSM (indicated with 01) and NB-IoT (03):

AT+QCFG="nwscanseq",020103,1

Network Activation

Set the APN to data.mono:

AT+CGDCONT=1,"IP","data.mono"

Validate if the APN is set correctly:

AT+CGDCONT?

Expected response: +CGDCONT: 1,"IP","data.mono","0.0.0.0",0,0,0,0,0,0

Activate the PDP (packet data protocol) context:

AT+CGACT=1,1

Test if the PDP context is activated:

AT+CGACT?

Expected response: +CGACT: 1,1

Validate if your device received an IP address:

AT+CGPADDR

Expected response: +CGPADDR: 1,XX.XXX.XX.XXX

Do you see an IP address? Congratulations! You’ve successfully connected the Quectel modem to Monogoto 🎉

Test the connection by sending a PING

A PING test can be performed to test if the modem has an active data connection with a mobile network.

When cellular modems are idle for a long period of time, cell towers might drop the data connection to save resources. Sending regular PINGs is a good method for testing the data connection, as well as for keeping the connection alive because the operator registers your device as being actively used.

Send 5 PINGs to IP address 8.8.8.8:

AT+QPING=1,"8.8.8.8",5

Example response:

+QPING: 0,"8.8.8.8",32,543,255
+QPING: 0,"8.8.8.8",32,396,255
+QPING: 0,"8.8.8.8",32,262,255
+QPING: 0,"8.8.8.8",32,299,255
+QPING: 0,4,4,0,262,543,375

Test the connection by sending a UDP payload

A UDP payload test when the modem has an active data connection.

Send UDP Payload to the IP address 220.180.239.212:

AT+QIOPEN=1,0,"TCP","220.180.239.212",8305,0,0

response:

OK
+QIOPEN: 0,0

Send UDP Socket

  AT+QISEND=0,8        //Send 8 bytes
> 01234567            //8 Bytes of Data

response:

SEND OK
+QIURC: "recv",0

Close UDP Socket

AT+QICLOSE=0

response:

OK
+QIURC: "pdpdeact",1

Great work on connecting the Quectel BG95 to Monogoto! Have a look at the Things logs in the Monogoto Console to find more details about the established connection.

Troubleshooting

Network reactivation

When cellular modems are idle for a long period of time, cell towers might drop the data connection to save resources.

To test if the modes still have an active session, the command AT+CSQ can be sent. If no value or the value 99 is returned, the device lost its session with the cell tower and the modem needs to be re-initialized. This can be done by rebooting the modem using the command AT+CFUN=1,1

Useful Links

  • Quectel BG95-M3 product page

  • BG95 AT Commands Manual

  • BG95 AT Commands Manual (Quectel specific commands)

  • BG95-M3 specifications

  • UMTS & LTE EVB User Guide

To find the profile of your SIM, visit the Monogoto Console, open the page Things and select a specific Thing. Scroll down to Mobile Identities to find your profile in the column Network Provider Name.

Set up UMTS & LTE EVB Kit (if applicable)
Connect BG95 to Monogoto
Sending a PING
Useful Links
Quectel EVB kit with BG95-M3 modem