You can take a look at this very recent implementation: https://github.com/insighio/microCoAPy
No need for special firmware.
Hope it would be helpful for you!
Have a look at https://docs.pycom.io/datasheets/oem/universal_reference/ they include the Altium project so you may find an Altium to KiCAD import then extract the footprint.
@iosman123 please edit your post and add ``` alone on a line both before or after your code, or use the code feature in the toolbar, so that it gets properly formatted. Indenting is essential in python and it’s impossible to know what your code does exactly without proper formatting.
Also, do you properly receive uplinks, and what logs do you get (both in the gateway and on the LoPy)?
I dont know if it will help but i work with some different embedded board and it's look like the following.
The main power as not enougth output to provide peak current when modem try to attache the network, with gsm/gprs it's a burst peak current over 1A, with NbIoT it's above 600mA.
Change your battery, wait for it to be fully charged and after that try again.
Once attached the peak current is lower with NbIoT and the trouble is gone.
hi @ferfersan6, maybe the port is already taken by another instance of VSC. Try restarting VSC (all windows).
Also check in Device Manager is COM really pops on/off when USB is connected/disconnected.
In the last case, we've seen things sorted out fine after a Windows restart.
@svonbentzel That is strange. What do you get with the sequence:
from network import LTE
lte=LTE()
lte.send_at_cmd("AT+CFUN=1")
lte.send_at_cmd("AT+CSQ")
If the command returns 99,99, repeat it after a while.
99,99 means: no signal.
@tanrcans Please tell us the firmware version that you are using. And can you connect a PC to the UART0 and log the output. Every error message is essential.
@DonovanBlackLab If I'm not mistaken, you're starting to use the MQTT client before you connect LTE...
Make sure LTE is up and running before you start MQTT and that should solve things.
@logictechs said in Pycom GPY V1.0 CAT M1 connect with Hologram sim to AT&T network not working:
@rskoniec Should I try the FiPy firmware???
Definitely not.
@pvstejeswar Only four reasons are there which are mentioned below. py.get_wake_reason() will not give any reason specifically. As py.setup_sleep(60) is written . So it gives as 4 whatever you do.
WAKE_REASON_ACCELEROMETER = 1
WAKE_REASON_PUSH_BUTTON = 2
WAKE_REASON_TIMER = 4
WAKE_REASON_INT_PIN = 8