pwitab / ublox Goto Github PK
View Code? Open in Web Editor NEWPython library for U-blox cellular modules
Home Page: https://ublox.readthedocs.io
License: MIT License
Python library for U-blox cellular modules
Home Page: https://ublox.readthedocs.io
License: MIT License
The library should not have info about operators, just the MNO ID. Now we use a small dict so that we can use connect(operator='telia')
it would be better to have the library just handle mno_id (24001 for telia) and have the program using the library provide shortcuts to mno_id if needed.
As of now it is hardcoded to use socket 0 when sending data via UDP. But create socket will create a new socket if the old one is not closed. And max sockets are 7 on R410 so it might return an error.
Better would be to have a socket like class that is returned on create_socket() and also stored on the module for later reuse.
ex:;
sock = module.create_socket(type=UDP, port=24567)
the socket object should implement some of the methods of a normal python socket so that the api looks the same.
ex:
sock.send('data')
sock.recv()
sock.close()
etc.
The socket should also have it's own buffer where it is possible to put data from URC:s
As of now we have hard-coded the value for connection to certain operators. For example Telia uses roaming SIM and an the code of 5 and Tre is using home network and code 1.
Remove this hard-coding and add an arg on the module of it is roaming or not.
When calling update radio statistics on a SARA R410 we issue AT+UCGED?
This command sometimes return values for two cell towers. When this happens program raises and exception on unpacking the data.
We need to be able to handle this case and when several tower statistics we should just use the first one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.