GithubHelp home page GithubHelp logo

thomarmax / qtxbee Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 2.0 3.69 MB

Qt API Library for use with XBee WPAN (802.15.4) modems

License: GNU Lesser General Public License v2.1

QMake 2.25% C++ 79.38% QML 1.62% JavaScript 16.75%
802-15-4 802154 digi qt qt5 xbee xbee-devices xbee-radio zigbee zigbee-gateway

qtxbee's People

Contributors

cm0x4d avatar thomarmax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cm0x4d sj0111

qtxbee's Issues

Compile Error on OS X with Q_DECL_OVERRIDE

I get the following error when compiling on OSX..

Removing the macros allowed it to progress further..

./../../QtXBee-develop-3/src/qtxb/atcommandresponse.cpp:44:1: error: expected function body after function declarator
Q_DECL_OVERRIDE
^
/Users/xxxxx/Qt/5.7/clang_64/lib/QtCore.framework/Headers/qcompilerdetection.h:1092:26: note: expanded from macro 'Q_DECL_OVERRIDE'

define Q_DECL_OVERRIDE override

                     ^

1 error generated.
make[2]: *** [atcommandresponse.o] Error 1
make[1]: *** [sub-qtxb-make_first-ordered] Error 2
make: *** [sub-src-make_first-ordered] Error 2
11:40:41: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QtXBee (kit: Desktop Qt 5.7.0 clang 64bit)
When executing step "Make"

Invalid AT command does not lead to an InvalidCommand status

FAIL! : XbeeCommandsSendTest::testATCommandSet() 'rep->commandStatus() == ATCommandResponse::InvalidCommand' returned FALSE. (Bad command status (expected 2, got 0)
Loc: [../../../../QtXBee/src/tests/test_xbee_commands_send/tst_xbeecommandssendtest.cpp(114)]

Linker error on OS X due to non standard library version number

The following error is thrown when compiling on OSX.

ld: malformed 64-bit a.b.c.d.e version number: 0.1.alpha
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [../../usr/lib/QtXBee/libQtXBee.0.1.alpha.dylib] Error 1
make[1]: *** [sub-qtxb-make_first-ordered] Error 2
make: *** [sub-src-make_first-ordered] Error 2
11:46:35: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project QtXBee (kit: Desktop Qt 5.7.0 clang 64bit)
When executing step "Make"

I changed the VERSION string in the ./src/qtxb/qtxb.pro file
from
VERSION = 0.1.alpha
to
VERSION = 0.1.0.0

It compiles successfully now.

Bad signal connection in XBee Chat Example

QObject::connect: No such signal QtXBee::XBee::receivedTransmitStatus(Wpan::TxStatusResponse*) in ../../../../QtXBee/src/examples/xbee_chat/mainwindow.cpp:48 QObject::connect: (receiver name: 'MainWindow') QObject::connect: No such signal QtXBee::XBee::receivedRxResponse16(Wpan::RxResponse16*) in ../../../../QtXBee/src/examples/xbee_chat/mainwindow.cpp:52 QObject::connect: (receiver name: 'MainWindow') QObject::connect: No such signal QtXBee::XBee::receivedRxResponse64(Wpan::RxResponse64*) in ../../../../QtXBee/src/examples/xbee_chat/mainwindow.cpp:56 QObject::connect: (receiver name: 'MainWindow')

Mismatching frame Id after 127 iterations

FAIL! : XbeeCommandsSendTest::testFrameId() 'at.frameId() == rep->frameId()' returned FALSE. (Mistmatching frame id for iteration 127 (expected 128, got 4294967168)
Loc: [../../../../QtXBee/src/tests/test_xbee_commands_send/tst_xbeecommandssendtest.cpp(70)]

Create an abstract XBee class

Create an abstract XBee class (AsbtractXBee or something like this), in order to be able to create several types of XBee devices like:

  • XBee (the local XBee module)
  • RemoteXBee (a remote XBee module)
  • EndDeviceXBee (maybe)
  • CoordinatorXBee (maybe)

with a common interface

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.