Go to advanced search

by d-aro
Fri May 13, 2016 2:47 pm
Forum: Python
Topic: Obexpushd GET Request through python script
Replies: 1
Views: 577

Re: Obexpushd GET Request through python script

Got it working with Obexpushd creator's help. It's realy simple. I was just missing to send a Length Header before the data. # Send file to stdout. result = 'Some data to send to Client' lengthHeader = 'Length: ' + str(len(result)) sys.stdout.write(lengthHeader + '\n) sys.stdout.write('\n') # New Li...
by d-aro
Thu May 12, 2016 1:22 pm
Forum: Troubleshooting
Topic: Bluetooth not ready in init.d Script?
Replies: 4
Views: 1295

Re: Bluetooth not ready in init.d Script?

Current workaround I did is letting the script run after ALL others with Required-Start: $ALL
It does not seem to be the best way to do it. So any further help would be nice

Code: Select all

### BEGIN INIT INFO
# Provides:        myScript
# Required-Start: $ALL
by d-aro
Thu May 12, 2016 1:02 pm
Forum: Troubleshooting
Topic: Bluetooth not ready in init.d Script?
Replies: 4
Views: 1295

Re: Bluetooth not ready in init.d Script?

I'm still having some troubles... :( I'ts only while booting up. If i do a hcitool dev in the init.d script it shows no devices MAC in bootlog. but after a login via ssh and manually executing the command it shows the devices MAC address and everything is good. Anyone here that knows how to wait unt...
by d-aro
Wed May 11, 2016 2:08 pm
Forum: Troubleshooting
Topic: Bluetooth not ready in init.d Script?
Replies: 4
Views: 1295

Re: Bluetooth not ready in init.d Script?

After a lot of trying and trying... By just connectin the Bluetooth Adapter into any of the other USB Ports everything works fine. Connecting it Back to the first one and rebooting gives the same error again! But the port can't be damaged, because after login and restarting the script everything wor...
by d-aro
Wed May 11, 2016 1:27 pm
Forum: Troubleshooting
Topic: Bluetooth not ready in init.d Script?
Replies: 4
Views: 1295

Bluetooth not ready in init.d Script?

Well... I just installed the last raspian Wheezy 2016-05-05 (I did the same below last year with all the same steps and it worked) Updated everything and installed these Packages sudo apt-get install bluetooth bluez-utils blueman cups obexpushd In the init.d I made a script which includes following ...
by d-aro
Tue May 10, 2016 9:12 am
Forum: Python
Topic: Obexpushd GET Request through python script
Replies: 1
Views: 577

Obexpushd GET Request through python script

I'm having troubles using obexpushd with an attached python script through the -s switch. The script works fine with the 'put' argument. I can easily receive files on the Raspberry Pi. For 'get' the manpage says This requests a specific file to be sent to stdout. Just exit the script qith a non-zero...

Go to advanced search