Set Cellular Access Point Name (APN)
-
@michaelhobo I hope everything is OK with your board, because using LoRa/Sigfox/LTE without connecting the antenna is not recommended.
-
@brotherdust Hello, I'm a beginner with Fipy and new in this forum...
Could you please explain how you enable the debug mode in the 3GPP stack and where are stored the libraries on my PC (W10) for me to modify the code as you explained ?
Thanks. -
@bbel91 You'll need to set up a development environment. See https://github.com/pycom/pycom-micropython-sigfox#the-esp32-version for instructions. Follow them carefully! When are you able to compile and flash the firmware from the unmodified source, you'll be ready for modifying the code to enable GSM_DEBUG and LTE roaming features (if that's what you want to do). I STRONGLY suggest getting comfortable with Git before you start modifying the source code. I personally use a combination of Tower and Git CLI commands.
It's possible to directly access the Sequans modem over UART if you have the expansion board; once you have that setup, you can type AT commands directly to the modem and see what works. See https://forum.pycom.io/topic/2496/gpy-readiness/20 for more info (and a great face-palm moment by yours truly when he forgets to swap the UART pins).
-
@rskoniec said in Set Cellular Access Point Name (APN):
@michaelhobo I hope everything is OK with your board, because using LoRa/Sigfox/LTE without connecting the antenna is not recommended.
My understanding is that, with no antenna attached, it could fry the LNA on the modem. It's expecting a particular impedance on the ANT connector. I really hope you didn't fry it. That would be sad and irritating. =( I've fried a REALLY expensive GPS chip this way (ublox LEA-6T); now it's just a paperweight.
-
@brotherdust Thanks a lot for your help.
As I am on Windows10, I looked for a corresponding environment (msys2).
I could then follow your procedure but it blocks at "cd mpy-cross ..." because the directory does not exist. Do you have an idea of what it can be? -
@bbel91 said in Set Cellular Access Point Name (APN):
mpy-cross
you have it in the
pycom-micropython-sigfox/mpy-crossrepo
https://github.com/pycom/pycom-micropython-sigfox/tree/master/mpy-cross -
@livius Thanks for your answer.
Yes, of course, I've forgot the essential...
Now that all seems ok and all the repository installed I get this issue when I "make" in mpy-cros :LINK mpy-cross
build/py/modbuiltins.o:modbuiltins.c:(.rdata$mp_module_builtins_globals_table+0x294): référence indéfinie vers « mp_type_TimeoutError »
collect2: erreur: ld a retourné 1 code d'état d'exécution
make: *** [../py/mkrules.mk:133: mpy-cross] Error 1Do you know where it can come from ?
-
@brotherdust I would suspect this also.
@michaelhobo There is a note (below) on the Fipy product description
-
@rskoniec @brotherdust I got my LTE antenna and it's working! At least, I get an IP - I haven't looked at LTE performance, so it's still possible I may have damaged something. I'll make sure to use my backup GPy for any RF-critical benchmarking. Thanks @brotherdust for helping me get started!
-
@michaelhobo you’re welcome and good luck! I fried my FiPy a couple of days ago, so I won’t be much help for now. I’m actually considering going with a different ESP32 board. I’m getting pretty tired of Pycom’s intransigence around releasing actual schematics. If they would, I might have enough info to fix the board, but as it stands, not gonna happen. sigh
-
@benstr said in Set Cellular Access Point Name (APN):
if either have NB
Hi Ben, Trying to connect to Telstra's CAT-M1 and NB networks. No luck with that. Could you help? I am in a lab environment in band 28.
-
@jmarcelino Is there an update on this functionality being added? Thanks!
-
@camdenkrupala
You can already set an APN manually by doinglte.send_at_cmd('AT+CEREG=2') time.sleep(2) lte.send_at_cmd('AT+CFUN=1') time.sleep(1) lte.send_at_cmd('AT+CGDCONT=1,"IP","YOUR_APN_HERE"') time.sleep(2) while lte.isattached() == False: time.sleep(1) lte.connect() while not lte.isconnected(): time.sleep(1) print("connected")
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