BC66 cant connect to APN

Hi, I’m new at MQTT and AT commands in a BC66.

Actually, I’m using a NB-IoT module of OLIMEX:

  • NB-IOT DEVELOPMENT BOARD WITH BC-66 MODULE AND PROGRAMMER

I already read a bit about all Manual AT commands in BC66 (v2.2) (here)

I think that I should configure first some AT configurations before create a MQTT connection client to a broker.
Since I don’t know which commands and their sequence I should send to the module, I found a guide (here) which explains how to “Attach to NB-IoT network”.

The parameters about SIM operator (Altice/MEO) are the following:

  • Codes MCC MNC = 268 06
  • APN = internetm2m
  • Username = (none)
  • Passowrd = (none)

In this guide, there is at the end of the page a full sequence of commands that I used.

THE PROBLEM that I had was after restart the module, I supposedly should receive a “+IP: xx.xx.xx.xx” from the network in less that 1 minute but I do not receive any information.

Can someone try to explain or help me I this process?

Attachment:

Here are the sequence of AT commands that I used.

Disable Sleep Mode:
AT+QSCLK=0

Enable echo to console
ATE1

Set mobile operation band
AT+QBAND=1,20

Swicht off radio functionality
AT+CFUN=0

Setup the default APN
AT+QCGDEFCONT=“IP”,“internetm2m”

Configure operator manually
AT+COPS=1,2,“26806”

Restart device
AT+QRST=1

Disable Sleep Mode:
AT+QSCLK=0

Enable echo to console
ATE1

Wait 45 sec for a +IP report that i did not receive!

So, I checked Extended Signal Quality (AT+CESQ) and the result was:

+CESQ: 2,0,255,255,20,23

These parameters with value “255” are about “Received signal code power” and “Ec/No” which means that they are “255 Not known or not detectable”

Could It means that my SIM card does not support NB-IoT?

Thanks a lot!

Hi Miguei
After you execute AT+CFUN=0, but do not execute AT+CFUN=1, the module does not turn on the radio to search the network, let alone register the network. So no IP address is returned.

1 Like

[SOLVED]

I was using a SIM card which were not allowed by the operator to NB-IoT communication.

To solve similar problems, contact the operator of your SIM card to require this type os communication.