thomarmax / qtxbee Goto Github PK
View Code? Open in Web Editor NEWQt API Library for use with XBee WPAN (802.15.4) modems
License: GNU Lesser General Public License v2.1
Qt API Library for use with XBee WPAN (802.15.4) modems
License: GNU Lesser General Public License v2.1
Can run the QtXBee project. Receive following error: :LNK1104: cannot open file 'QtXBee.lib'
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)]
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'
^
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"
Currently, the frame id is set by the XBee class when the packet is being sent (a counter is incremented at each sending)
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')
1 - configuration serial port
2 - open serial port
3 - send packet ==> OK
4 - close
5 - send packet ==> Segfault !
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)]
Create an abstract XBee class (AsbtractXBee or something like this), in order to be able to create several types of XBee devices like:
with a common interface
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.
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.