Orange Belgium Gpy
-
So today I managed to get a connection with the NB-1 firmware version 35351, haven't managed with version 37781 though. Here's what I used:
lte = LTE() def send_at_cmd_pretty(cmd): response = lte.send_at_cmd(cmd).split('\r\n') for line in response: print(line) send_at_cmd_pretty('AT+CFUN=0') send_at_cmd_pretty('AT!="clearscanconfig"') send_at_cmd_pretty('AT!="addscanfreq band=20 dl-earfcn=6400"') send_at_cmd_pretty('AT!="zsp0:npc 1"') send_at_cmd_pretty('AT+CGDCONT=1,"IP","nbiot.iot"') send_at_cmd_pretty('AT+CFUN=1') while not lte.isattached(): pass lte.connect() while not lte.isconnected(): passDNS doesn't work, but I managed to send some data through MQTT to Adafruit IO using the IP address for io.adafruit.com (as opposed to using the hostname).
-
It somehow started working with version 37781 too, managed to reduce the code to:
lte = LTE() lte.send_at_cmd('AT+CGDCONT=1,"IP","nbiot.iot"') lte.attach(band=20) while not lte.isattached(): machine.idle() lte.connect() while not lte.isconnected(): machine.idle()DNS is still not working (maybe related to https://forum.pycom.io/topic/2934/lte-nb-iot-dns/4).
-
-
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 https://docs.allthingstalk.com/networks/use-orangebe-nbiot/ ):
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.iotAny hints ?
Thanks,
Filip.
@peterv said in Orange Belgium Gpy:
6400
-
This post is deleted! -
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.
Cheers,
Filip.
-
@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..
-
@lonefish said in Orange Belgium Gpy:
40343
I will test once i success in flash the nb firmware.
By the way, I heard that LTE catM is being deployed on Orange -
@mp Here in Poland Orange also deploying pilots with Cat-M1.
-
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
-
@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?
-
@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.
-
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. -
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 ? -
Does anyone can help to figure out what going on ?
It start to be frustrating .... -
Still works for me on 1.20.0.rc4/NB-IOT firmware 40343:
>>> import sqnsupgrade >>> sqnsupgrade.info() <<< 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: UE6.0.0.0 LR6.0.0.0-40343and
>>> from network import LTE >>> lte = LTE() >>> lte.send_at_cmd('AT+CGDCONT=1,"IP","nbiot.iot"') '\r\nOK\r\n' >>> lte.attach(band=20) >>> lte.isattached() False >>> lte.isattached() True >>> lte.connect() >>> lte.isconnected() TrueStill no DNS:
>>> socket.getaddrinfo('www.pycom.io', 80) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: -202 -
@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?
-
@mp I have my Gpy connecting to Orange NB-IoT. I’m using latest dev firmware and modem firmware. See https://github.com/jbrichau/TrackingPrototype/blob/b3c5ec0cd3a7cd434fb6cec64c85c206d8d3277e/Device/main.py#L75 for my code.
What is the firmware you are using?
-
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 https://pycom.io/product/lte-m-antenna-kit/ but another nbiot antena (https://shop.sodaq.com/sodaq-sara-ubee-n211.html)
I will retry this SundayThank you for you help
-
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 https://www.ebay.com/itm/5V-3-3V-FTDI-FT232RL-USB-to-TTL-Serial-Converter-Adapter-Module-Arduino-Mini-Hot/182736917146
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! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login