Ich habe so eben die 1.1er von Bluvert releast. Anstatt obexftp wird nun ussp-push zum Senden der Dateien benutzt. Das hat den Vorteil, dass keine Bluetooth-PIN-Authentifizierung stattfinden muss. Das neue Release gibt es unter http://sourceforge.net/project/showfiles.php?group_id=244601&package_id=298224&release_id=646945

I am asking you for a donation.

You liked the content or this article has helped and reduced the amount of time you have struggled with this issue? Please donate a few bucks so I can keep going with solving challenges.


16 Comments

Alex · March 1, 2009 at 7:43 am

hey dude, i am very intrested ur bluevert 1.1 project….i alrd downloaded but i dunno how to setting it up to make it function… hope to hear from u soon… i am using windows since i know computer, hence izzit bluevert is run under linux?

Schakko · March 2, 2009 at 12:19 pm

As I wrote in the email, Bluvert is designed for Linux.
You need Bluetooth command line utilities for scanning the Blueooth neighbourhood and sending USSP messsages.
If this command utilities would exist for Windows you could easily set up Bluvert on a Windows (XP/Vista…) machine.

Alex · March 3, 2009 at 11:35 am

thanx very much now i alrd setup all the setting… but when im trying to add message, terminal show :
importerror: no module named pyslite2
and i just realise tat no pyslite2.py inside bluvert-1.1… is that pyslite2.py require or i miss some step? thanxx …

Alex · March 3, 2009 at 6:59 pm

hey thanx buddy… i can send broadcast my msg now… i am using Redhat Linux mint 5… i no need download all the require file, is all build in… really thanx to ur source code… i will introduce ur project to all my friends… really thanx…

Schakko · March 5, 2009 at 3:15 pm

Nice to hear you like it.
Spread Bluvert all around the world Alex 😉

alex · April 2, 2009 at 12:15 pm

hello Schakko… sorry for disturbing… alex here, last time i had succesfully run bluvert, but i am send to specific mac address… but now i wan go do it using continue looping every 5 mins… so in terminal i type contab -e and start writing the commad… the command is like this:

*/5 * * * * /install_dir/scripts/set-active-bluetooth-devices.sh /install_dir/data/bt-devices.csv

*/5 * * * * /install_dir/execute-server.py

this command should be no problem… the 1st commadn finding active bluetooth is running successfully .. but the second commad got error… the erro was:

ERROR: No Sectio: ‘sql’
Exception exceptions.AttributeError: “‘Outgoing’ object has no attribute ‘conn'”
in<bound method Outgoing._del_of > ignored

why will this error? any solution? plz… Thanx in advance…

alex · April 2, 2009 at 12:18 pm

one more thing, is that if i run from terminal is okie… i can broadcast to all the active bluetooth devices… only cannot recurrent from crontab … and i also try gnome-schedule result is also same… failed…

Schakko · April 2, 2009 at 9:00 pm

Hi Alex,
I assume crontab does not execute the execute-server.py in the /install_dir which means, that the configuration file could not be found. Please copy the following code into wrapper.sh:

— snip —
#!/bin/bash
cd /install_dir
/install_dir/execute-server.py
— snap —

And in crontab replace …/install_dir/execute-server.py with /install_dir/wrapper.sh.

Best regards,
Schakko

Alex · April 3, 2009 at 2:25 am

erm… can i have add u in msn? so i can direct chat with u? so when problem occur i can ask u directly… my msn add is same as the email add i enter above… thanks very much…

Alex · April 3, 2009 at 6:32 am

hey Schakko, i just come back from my class, and already try the solution… its work fine… thanx u schakko ~^^~… but what is exactly happened here? izzit because crontab job cannot start from the root or?

Schakko · April 3, 2009 at 2:46 pm

#9: I don’t have MSN, and I don’t use ICQ anymore
#10: The reason is crontab executes the execute-server.py by absolute path (/…/install_dir/execute-server.py) but the working directory of execute-server.py is /bin (or any other directory). execute-server.py tries to locate the config.ini in the current working directory (e.g. /bin) and does not find the file.

Alex · April 3, 2009 at 5:08 pm

hehe… its okie la… thanx for ur help anyway… i like ur blog, but i can’t understand your language… especially linux section… i am thinking to learn linux+ python on my own… python is very powerful… wow i like it very much…

Andreas W. · November 3, 2009 at 3:12 pm

Hallo,

ich hatte Dir schonmal zu bluvert 1.0 zeite geschrieben. Arbeitest Du weiter an bluvert?
Da bei manchen Geräten sich das script aufhängt (z.B. iPhones). Ich habe mir überlegt die verbunden Geräte in eine DB zu schreiben und je nach Rückmeldung diese beim erneuten versenden auszulassen. Ebenso wäre es von Vorteil wenn man einzelne ‘worker’ für das versenden erstellen würde, also eigene prozesse die sich dann auch gerne aufhängen könnten ohne dass das ganze script gefährdet wäre.
Gibt es hierzu auch Ansätze von Dir?

Schakko · November 3, 2009 at 3:21 pm

Hallo Andreas,
Ich arbeite momentan nicht weiter an Bluvert, da ich momentane andere Projekte am Laufen habe.
Grundsätzlich ist das mit den verbundenen Geräten ja bereits realisiert (wenn auch nicht in einer Datenbank 😉 ).
Mit den einzelnen Worker-Threads gebe ich dir vollkommen recht – das stand zur damligen Zeit auch auf meiner Todo-Liste – leider passt es mir zeitlich nicht.

Wenn du gewillt bist, am Projekt mitzuarbeiten bzw. es weiterzuführen, kannst du mich gerne kontaktieren – dann nehme ich dich bei sourceforge.net in das Entwickler-Team mit auf.

Grüße,
Schakko

Andreas W. · November 3, 2009 at 3:26 pm

Danke für de schnelle Rückinfo…
Leider ist python nicht so mein Fachgebiet 🙂
Da ich mich nie groß mit Programmiersprachen, ausser php – selbst das ist für manche keine programmiersprache 🙂 – beschäftigt hab…

Wenn ich mich allerdings mal eingearbeitet hab und
dein Script halbwegs überblicke, melde ich mich einfach nochmal!

Grüße

Schakko · December 30, 2009 at 4:32 pm

Habe einige Änderungen gemacht: http://wap.ecw.de/archives/1268

Leave a Reply