I am attaching errors that I receive. For connecting to the network I am using a regular SIM card and used this guide to get the connection: https://github.com/noorkhokhar99/Sim700 ... /README.md
For getting GPS data I just use a simple Python script.
Regarding your provided article, I noticed that it talks about NBIoT sim cards required, as I have just a regular card, I might not be able to set it up, but I will still definitely try it out.
Here is the output of ifconfig for my mobile connection:Here is an error when running my script for getting GPS data:
For getting GPS data I just use a simple Python script.
Regarding your provided article, I noticed that it talks about NBIoT sim cards required, as I have just a regular card, I might not be able to set it up, but I will still definitely try it out.
Here is the output of ifconfig for my mobile connection:
Code:
ppp0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 100.83.220.65 netmask 255.255.255.255 destination 10.64.64.64 ppp txqueuelen 3 (Point-to-Point Protocol) RX packets 4 bytes 52 (52.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 7 bytes 100 (100.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Code:
Traceback (most recent call last): File "/home/pi/.local/lib/python3.9/site-packages/serial/serialposix.py", line 322, in open self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)OSError: [Errno 16] Device or resource busy: '/dev/ttyS0'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/pi/test/test.py", line 5, in <module> ser = serial.Serial('/dev/ttyS0', 115200, timeout=0) File "/home/pi/.local/lib/python3.9/site-packages/serial/serialutil.py", line 244, in __init__ self.open() File "/home/pi/.local/lib/python3.9/site-packages/serial/serialposix.py", line 325, in open raise SerialException(msg.errno, "could not open port {}: {}".format(self._port, msg))serial.serialutil.SerialException: [Errno 16] could not open port /dev/ttyS0: [Errno 16] Device or resource busy: '/dev/ttyS0'
Statistics: Posted by nJoy. — Wed Mar 27, 2024 7:13 pm