🙋
barde / wsnserver Goto Github PK
View Code? Open in Web Editor NEWshim layer, middleware and gateway between x86 host machines and device independent wireless sensor nodes
shim layer, middleware and gateway between x86 host machines and device independent wireless sensor nodes
🙋
UPDATE from 04.10.2011:
DONE:
:/
debar@wsnserver:/usr/local/ubi/wsnserver$ python SerialReader.py -v -c "HELP"
Initial Command: HELP
Port: /dev/ttyUSB0
rx:148ANID
rx:ERROR:
tx:HELPrx:received Message: HELP+WPANID
rx:Byte values: 72 69 76 80 43 87 80 65 78 73 68 13
rx:148
^C
Koss fragen, keine Ahnung warum es nicht klappt.
Todo: Byte-Values auf ASCII umsetzen
Wie kommt das Zeug von der Datenbank? Ohne oder mit CR?
Wer handelt die Konvertierung?
WSN erwartet .
debar@wsnserver:/usr/local/ubi/wsnserver$ python SerialReader.py -b 115200 -v
Port: /dev/ttyUSB0
^C
debar@wsnserver:/usr/local/ubi/wsnserver$ python SerialReader.py -b 38400 -v
Port: /dev/ttyUSB0
rx:ERROR:
rx:received Message: �x��xxxxx�x��x
Traceback (most recent call last):
File "SerialReader.py", line 314, in
s.servant()
File "SerialReader.py", line 173, in servant
self.controller.saveDataAction(self.controllerId, outdata)
File "/usr/local/ubi/wsnserver/Controller.py", line 27, in saveDataAction
self.dataRepository.saveData(id, value)
File "/usr/local/ubi/wsnserver/DataRepository.py", line 98, in saveData
cursor.execute(sql, values)
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
Vielleicht auch für Fedora? Oder gleich ein "./configure && make install"? Oder vielleicht Python-Modul distribution? Kann ewig weiter gehen.
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.