UPDATE - DNS over NB-IOT is now working!
Please update to the latest 1.18.2 (stable):
or to the latest 1.20.0.rc7 (development):
Use the following to set your DNS Server to Google's DNS Servers ...
Then bring up your LTE Connection, and do:
>>> print(usocket.getaddrinfo("www.google.com", 80)[-1])
@Sudosu132 You will need the pull-up resistors. For testing with the provided 1m cable the soft-pullup's of the ESP32 may be sufficient. If there is a problem, you can lower the baud rate by increasing PULSE_SHORT and PULSE_LONG.
@ferfersan6 Good intentions pave the way to hell and I had every intention to reply to this. I know this is WAY too late to reply this but may useful for any experiencing the same issues.
If I remember correctly, I just held the pin high for as long as possible and went through the drudgery of reinstalling the proper firmware. Nothing sophisticated going on here! :)
@NickBoots boot.py and main.py share the same namespace. If you import pytrack in boot.py, you do not have to do that in main.py again. Actually that would be ignored.
So either way is fine, but in your case does not matter much anyhow. boot.py and main.py are executed one after the other, with just a few ms time in between. So it is more a matter of software design than a difference in energy consumption.
@NickBoots Everything IoT would be too broad... But I agree, expertise from Pycom forum, various sub-reddits, micropython.org forum. Having a single place to go to would be nirvana. Maybe that's the next evolution of social networks?