Giter Club home page Giter Club logo

ublox's People

Contributors

krolken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ublox's Issues

Remove all references to operator names in the code

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.

Update radio statistics sometimes return more data on SARA R410

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.

Add info about roaming or home network on module class

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.

Better socket interface

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.