Orange Belgium Gpy

  • Re: NB-IoT support

    Good afternoon to all,

    I am currently doing an internship in belgium, working on nb-iot. First, i had to program an arduino board so that it could send specific data using Orange Belgium network. It took me a while but since the arduino board had been developed by Orange, most of the AT commands necessary in order to connect to the network had already been programmed by Orange engineers.

    Following that first step, i was asked to program the same thing using a Pycom Gpy. However, i do not know for sure if Orange Belgium is one of pycom's partners.
    If yes, could anyone tell me the band and cid number required? If not, do you know if by using AT commands, i could successfully connect myself to their network?

    Thank you to anyone who might have an answer.

  • Hello all,

    Finally I manage to make it works.

    The problem wasn't in the software, but hardware.

    I don't use a expansion board, I use a ttl converter like this one
    With this converter 3.3V is not enough to power on stably the board, so, I used it in 5V mode, but it seem that 5v for serial communication is ok for the python REPL, but have problem when flashing the modem or use the LTE modem. Finally, I changed my design by using another 5v power source, and use the ttl converter un 3v3 mode with common ground. And then it just works fine ;)

    Thank you for you support

  • Hello all,
    I use 40343, but it was painful to flash the firmware, is it possible that the firmware is corrupted? If upgrade success the firmware have to be ok?

    Yes i let it connected many minutes, and the antenna is connected. I dont use this anthena but another nbiot antena (
    I will retry this Sunday

    Thank you for you help

  • @mp I have my Gpy connecting to Orange NB-IoT. I’m using latest dev firmware and modem firmware. See for my code.

    What is the firmware you are using?

  • @mp My solution was making sure the SIM cards are still activated. That was it, the code just works. I suspect you have the antenna connected?

    I have to say tho, the first time it seems to take a while to connect (like a few minutes even) but after that it just 'flies' through. Have you let it sit for a while? Like during lunch?

    EDIT: Have you updated the firmware to the latest version?

  • Still works for me on 1.20.0.rc4/NB-IOT firmware 40343:

    >>> import sqnsupgrade
    <<< Welcome to the SQN3330 firmware updater [1.2.1] >>>
    >>> FiPy with firmware version 1.20.0.rc4
    Your modem is in application mode. Here is the current version:


    >>> from network import LTE
    >>> lte = LTE()
    >>> lte.send_at_cmd('AT+CGDCONT=1,"IP","nbiot.iot"')
    >>> lte.attach(band=20)
    >>> lte.isattached()
    >>> lte.isattached()
    >>> lte.connect()
    >>> lte.isconnected()

    Still no DNS:

    >>> socket.getaddrinfo('', 80)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    OSError: -202

  • Does anyone can help to figure out what going on ?
    It start to be frustrating ....

  • Hey,
    I still have trouble to connect to nbiot :s
    Always stuck in lte.isattached loop.

    I checked my sim card with the allthinktalks modem and the card is still activated.
    I've tried the solution of peterv, annoguy, and in the official doc.
    @Lonefish which solution did you tried ?

  • The current state (22 Januari) of the Orange LTE-CAT M1 is this according to Orange B2B:
    Only in Antwerp and around 20 sites it's available. The network is ready, but still waiting to activate it because of a few reasons apparently.

  • @mp Apparently the SIM cards were deactivated, they deactivated the SIM cards after 3 months, and we didn't know. They are activated again and now it works again (firmware 40343)

    I also heard the news that CAT M1 should be deployed, will test that out later this week.

  • @Lonefish Do you find a solution?

    Anyone else have some track to debug when the code is stuck in the isattached loop?

    Or have the 35351 firmware?

  • My flash succeed!

    In the first test device attache and connect quite quickly ( with csq = 16), but now with the same code it didn't work again (csq = 99,99). Strange, will test again later

  • @mp Here in Poland Orange also deploying pilots with Cat-M1.

  • @lonefish said in Orange Belgium Gpy:


    I will test once i success in flash the nb firmware.
    By the way, I heard that LTE catM is being deployed on Orange

  • @peterv Do you have any news on newer firmware? With your code it started to work at some point on firmware 40343 without any changes that I know of. 2 days later, not changing anything, it stopped working..

  • OK, it does work for Orange Belgium using the instructions @peterv provided (thx for posting them), but ONLY using NB-IOT firmware NB1-37781, not using the more recent NB1-38729.



  • This post is deleted!

  • Any update on this one ?
    Tried all the above using my GPY and an Orange Maker SIM Card, but no luck : can't get the LTE attached.

    Apparently different APN's in use (cfr ):
    You purchased an Orange NB-IoT Rapid Development Kit and SIM card: starter.att.iot
    You purchased an Orange NB-IoT SIM card:
    Maker: att.iot
    Light: nbiot.iot
    Plus : nbiot.iot

    Any hints ?



    @peterv said in Orange Belgium Gpy:


  • Hi @peterv,

    That's great that you got it working! There's an open issue for DNS on GitHub, as you can see there we are looking into the issue.

  • It somehow started working with version 37781 too, managed to reduce the code to:

    lte = LTE()
    while not lte.isattached():
    while not lte.isconnected():

    DNS is still not working (maybe related to

Log in to reply

Pycom on Twitter