Go to advanced search

by Douglas6
Tue Sep 26, 2017 2:19 am
Forum: Beginners
Topic: Wake up raspberry pi via script
Replies: 7
Views: 135

Re: Wake up raspberry pi via script

A lot of people are baked into the philosophy that electricity use is negligible, and has no impact on the environment (that is changing). Unfortunately, the Raspberry Pi has no low-power mode, and continues to draw a small but significant power usage while on.

Hard to adapt to new realities.
by Douglas6
Mon Sep 25, 2017 9:56 am
Forum: Troubleshooting
Topic: HC-08 module - Can't connect RFCOMM Socket : Host is down
Replies: 6
Views: 124

Re: HC-08 module - Can't connect RFCOMM Socket : Host is down

What I do is to Google the UUID. Some services, like battery level, are defined in the Bluetooth specification and you can read about them in the official documentation. Others are defined by manufacturers, and will be described in data sheets or other manufacturer specs.
by Douglas6
Mon Sep 25, 2017 12:04 am
Forum: General discussion
Topic: Trying to use fit band as BLE proximity sensor with pi Zero W
Replies: 1
Views: 111

Re: Trying to use fit band as BLE proximity sensor with pi Zero W

You could try the Python bluepy library, which includes a Scanner object, and ScanEntry objects that contain the RSSI of advertising devices. I'm not familiar with FitBits, and I don't know when they are advertising.
by Douglas6
Sun Sep 24, 2017 9:58 pm
Forum: Troubleshooting
Topic: HC-08 module - Can't connect RFCOMM Socket : Host is down
Replies: 6
Views: 124

Re: HC-08 module - Can't connect RFCOMM Socket : Host is down

Here's some Python code I used to successfully write to an Arduino with an HM-10 attached, once I got bluepy installed and built. import bluepy.btle as btle p = btle.Peripheral("AA:BB:CC:DD:EE:FF") s = p.getServiceByUUID("0000ffe0-0000-1000-8000-00805f9b34fb") c = s.getCharacteristics()[0] c.write(b...
by Douglas6
Sun Sep 24, 2017 1:38 pm
Forum: Troubleshooting
Topic: HC-08 module - Can't connect RFCOMM Socket : Host is down
Replies: 6
Views: 124

Re: HC-08 module - Can't connect RFCOMM Socket : Host is down

The HC-08 is a BLE device. Rfcomm is strictly for use with classic Bluetooth devices. To communicate with an HC-08, you'll need to either connect another HC-08 to the Pi, or do some BLE programming.
by Douglas6
Fri Sep 15, 2017 11:46 pm
Forum: Windows 10 for IoT
Topic: On/Off switch
Replies: 3
Views: 296

Re: On/Off switch

Pimoroni also have an inexpensive solution: https://shop.pimoroni.com/collections/r ... onoff-shim
by Douglas6
Thu Sep 14, 2017 1:47 am
Forum: General discussion
Topic: How to make blue tooth speaker to work?
Replies: 20
Views: 799

Re: How to make blue tooth speaker to work?

Douglas6 wrote:
Sun Sep 10, 2017 4:18 pm
Douglas6 wrote:
Sat Sep 09, 2017 7:17 pm
I don't believe Bluetooth audio will work if audio is routed to HDMI, sounds like you'll want to change that to the onboard audio system, with raspi-config.
by Douglas6
Tue Sep 12, 2017 3:00 pm
Forum: Advanced users
Topic: Bluetooth LE advertisement timing instability / transmission delays
Replies: 8
Views: 345

Re: Bluetooth LE advertisement timing instability / transmission delays

Totally irrelevant, but I used to work at an IT company that was experiencing inexplicable server crashes everyday around noon. Turned out the server room was next to the lunchroom, and people were crashing the server by using the microwave oven at lunchtime.
by Douglas6
Tue Sep 12, 2017 1:49 pm
Forum: General discussion
Topic: bluetooth
Replies: 3
Views: 184

Re: bluetooth

1. Yes the Pi can connect with RFCOMM (for serial data) and for file transfer. But it sounds like you want to connect it as a phone headset, which is more problematic. Supposedly BlueALSA is capable of providing the Headset Profile, but I've never heard of it being accomplished on a Pi.
by Douglas6
Mon Sep 11, 2017 11:04 pm
Forum: Advanced users
Topic: Bluetooth LE advertisement timing instability / transmission delays
Replies: 8
Views: 345

Re: Bluetooth LE advertisement timing instability / transmission delays

I agree it doesn't sound like typical OS multitasking. Could still be environmental factors. Or it could be problems in Linux or the Bluetooth stack or firmware. I guess you could try using a USB dongle, if you're not. No specific ideas here, sorry. Is there a reason you are turning on and off adver...
by Douglas6
Mon Sep 11, 2017 4:30 pm
Forum: Advanced users
Topic: Bluetooth LE advertisement timing instability / transmission delays
Replies: 8
Views: 345

Re: Bluetooth LE advertisement timing instability / transmission delays

My first guess would be expecting a General Purpose Operating System to do time-sensitive tasks like a Real-Time Operating System. Linux has a lot going on that requires time to perform and that must be shared by all processes. Linux may just be the wrong choice for the job. My next guess would be i...
by Douglas6
Sun Sep 10, 2017 6:46 pm
Forum: Troubleshooting
Topic: Logging in with bluetooth keyboard
Replies: 1
Views: 69

Re: Logging in with bluetooth keyboard

Not sure what you mean. Bluetooth is running before the login screen is displayed. If your keyboard is paired and has been connected, it should reconnect, perhaps after tapping a key or two.

If it has not been paired, you'll need a keyboard (or at least access) to do that.
by Douglas6
Sun Sep 10, 2017 4:18 pm
Forum: General discussion
Topic: How to make blue tooth speaker to work?
Replies: 20
Views: 799

Re: How to make blue tooth speaker to work?

Douglas6 wrote:
Sat Sep 09, 2017 7:17 pm
I don't believe Bluetooth audio will work if audio is routed to HDMI, sounds like you'll want to change that to the onboard audio system, with raspi-config.
by Douglas6
Sun Sep 10, 2017 2:06 pm
Forum: General discussion
Topic: How to make blue tooth speaker to work?
Replies: 20
Views: 799

Re: How to make blue tooth speaker to work?

You need pi-bluetooth. It comes installed on recent versions. Try reinstalling.
by Douglas6
Sat Sep 09, 2017 7:50 pm
Forum: Beginners
Topic: Sending file between pi and iphone 6 (via bluetooth or any other means)
Replies: 4
Views: 168

Re: Sending file between pi and iphone 6 (via bluetooth or any other means)

Does it have ObexFTP? I'm afraid I have no experience with iPhones.
by Douglas6
Sat Sep 09, 2017 7:28 pm
Forum: Raspbian
Topic: Bluetooth - RFCOMM channel 3 already in use
Replies: 2
Views: 120

Re: Bluetooth - RFCOMM channel 3 already in use

I've experienced blueman taking a channel (it was channel 9). Can't think what may be using channel 3, but on my relatively fresh install of Stretch, it's available.
by Douglas6
Sat Sep 09, 2017 7:17 pm
Forum: General discussion
Topic: How to make blue tooth speaker to work?
Replies: 20
Views: 799

Re: How to make blue tooth speaker to work?

If you are running the Stretch version of Raspbian, PulseAudio is not needed. I'm not sure if it interferes, but you might want to uninstall it. Blueman is never a good idea, I'd uninstall that as well. I don't believe Bluetooth audio will work if audio is routed to HDMI, sounds like you'll want to ...
by Douglas6
Thu Sep 07, 2017 12:54 am
Forum: Beginners
Topic: Sending file between pi and iphone 6 (via bluetooth or any other means)
Replies: 4
Views: 168

Re: Sending file between pi and iphone 6 (via bluetooth or any other means)

This post may help. viewtopic.php?p=675983#p675983 The pairing instructions are out of date, but the ussp-push bit should still be valid. I think you can omit the channel number, and ussp-push will figure it out.
by Douglas6
Wed Sep 06, 2017 8:32 pm
Forum: Beginners
Topic: How to change name of bluetooth device?
Replies: 4
Views: 154

Re: How to change name of bluetooth device?

If that's the case, I suspect they are not Bluetooth devices.
by Douglas6
Tue Sep 05, 2017 10:53 pm
Forum: Troubleshooting
Topic: STICKY: Bluetooth not working after update - need info
Replies: 131
Views: 35990

Re: STICKY: Bluetooth not working after update - need info

Not much more than typing 'help' into bluetoothctl, and messing around a bit with an HM-10. Is the BLE device advertising itself as connectable?
by Douglas6
Tue Sep 05, 2017 10:49 pm
Forum: Raspbian
Topic: SOLVED: “Denied access to client with invalid authentication data”
Replies: 7
Views: 315

Re: Pulseaudio:“Denied access to client with invalid authentication data”

I'm sorry. I didn't have to copy any files, I simply paired (and trusted) with my speaker and then connected, all in bluetoothctl. Then I replaced the contents of ~/.asoundrc with this: pcm.!default { type plug slave.pcm { type bluealsa device "08:EB:ED:42:17:2B" profile "a2dp" } } ctl.!default { ty...
by Douglas6
Tue Sep 05, 2017 9:28 pm
Forum: Troubleshooting
Topic: STICKY: Bluetooth not working after update - need info
Replies: 131
Views: 35990

Re: STICKY: Bluetooth not working after update - need info

Have you tried using bluetoothctl? I believe all of the gatttool functionality has been swept up into the new version of bluetoothctl.

Go to advanced search