Giter VIP home page Giter VIP logo

libconnman-qt's Introduction

libconnman-qt's People

Contributors

aaronkennedy avatar bachp avatar chgans avatar drf avatar ekuo avatar foolab avatar lbt avatar lpotter avatar lu-zero avatar martinjones avatar martyone avatar matthewvogt avatar mikkoharju avatar monich avatar mtdcr avatar net147 avatar plfiorini avatar pvuorela avatar rburchell avatar rojkov avatar saukko avatar sledges avatar swex avatar thp avatar tigeli avatar tripzero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

libconnman-qt's Issues

empty service in networkmanager defaultRouteChanged signal

I use libconnman-qt with actual revisions of connman and ofono. When I've got cellular service as default route I've got signal with empty service from networkmanager.
I think it caused by https://github.com/nemomobile/libconnman-qt/blob/master/libconnman-qt/networkmanager.cpp#L337
this code does not meet expected flags (0003) in my case /proc/net/route looks like:
ppp0 8AA6B40A 00000000 0005 0 0 0 FFFFFFFF 0 0 0
ppp0 010057D5 00000000 0005 0 0 0 FFFFFFFF 0 0 0
ppp0 010157D5 00000000 0005 0 0 0 FFFFFFFF 0 0 0
ppp0 00000000 00000000 0001 0 0 0 00000000 0 0 0
I think in case of only one destionation is 00000000 it must consider as default route only with RTF_UP flag
flag & 0x1 // RTF_UP 0x0001

connman-qt4.pc is installed in lib folder

The file connman-qt4.pc is installed in 'lib' and 'lib/pkgconfig' folders. The file installed in 'lib' folder should be removed.

./usr/local/lib/connman-qt4.pc <------ TO BE Removed
./usr/local/lib/libconnman-qt4.so.1
./usr/local/lib/libconnman-qt4.prl
./usr/local/lib/libconnman-qt4.so.1.0
./usr/local/lib/libconnman-qt4.so.1.0.39
./usr/local/lib/pkgconfig
./usr/local/lib/pkgconfig/connman-qt4.pc
./usr/local/lib/libconnman-qt4.so

Propose: more organization

Guys,

I'm happy to see a nice amount of work in this plugin. It shows that's useful to a lot of people. I can surely say for the company I work for.

Anyway, what I want to discuss is the various changes that we have in this plugin. Some of them changes a lot of the way end-users (usually qml applications) would you the plugin.

I really think we need to define our goals, use cases that the plugin should support, clean and nice API, milestones to reach those goals then tagging the version, and so on.

I think we are a little bit disorganized. This may be a reason why there is another guy working in another connman library by him self instead of contributing here https://bitbucket.org/devonit/qconnman. (BTW he has some code from us)

What do you guys think? I hope can all discuss here and come up with a consensus.

Race condition creating NetworkService object

When a NetworkService object is constructed, there is a race condition where property changes may be missed and the NetworkService property cache will not have the proper values.

Sequence:

  1. NetworkManager creates a NetworkService object, passing in the initial properties to be used in the NetworkService property cache
  2. The NetworkService object constructor connects to the D-Bus object corresponding to it and sets up a connection from PropertyChanged signal on the D-Bus object to the updateProperty slot

Between steps 1 and 2, several properties may have been changed in the underlying service.

Get rid of Qt keywords

We'd better have more consistent coding style: don't use mix of keywords and Q_-macros, use macros only.

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.