Go to advanced search

by Douglas6
Thu Aug 09, 2018 7:29 pm
Forum: Troubleshooting
Topic: Bluetooth incorrectly (?) fails to authenticate a valid passkey
Replies: 4
Views: 277

Re: Bluetooth incorrectly (?) fails to authenticate a valid passkey

olivdeso wrote:
Thu Aug 09, 2018 6:47 pm
Or buy an original HM-10, which is not always simple...
I'm not familiar with the MLT-BL05. Does it not use separate addresses for the classic and BLE interfaces?

I bought a couple of genuine HM-10s on Amazon for $8 apiece (in the US), but of course that varies by location.
by Douglas6
Thu Aug 09, 2018 6:13 pm
Forum: Troubleshooting
Topic: Somehow broke BLE on the physical bluetooth chip?
Replies: 2
Views: 72

Re: Somehow broke BLE on the physical bluetooth chip?

I doubt if you've done any harm to the Bluetooth hardware. Especially if you can still use classic Bluetooth, since BLE shares the same radio. You can't modify any firmware on the Pi, so your problem must reside on the SD card. A working program on one Pi won't necessarily work (without modification...
by Douglas6
Wed Aug 08, 2018 3:15 pm
Forum: Advanced users
Topic: How to sense my smartphone in a room
Replies: 5
Views: 180

Re: How to sense my smartphone in a room

If you choose a Bluetooth solution, you'll want to consider the downsides of leaving the phone's Bluetooth radio on at all times, in terms of security and battery use.

I'd recommend looking into a BLE locator tag (like a Tile) which is custom-suited to your purpose. Put it on your keychain.
by Douglas6
Tue Aug 07, 2018 2:02 pm
Forum: Troubleshooting
Topic: Bluetooth incorrectly (?) fails to authenticate a valid passkey
Replies: 4
Views: 277

Re: Bluetooth incorrectly (?) fails to authenticate a valid passkey

I believe bluetoothctl will only pair with classic Bluetooth devices. I've never had to 'pair' with my HM-10, I just connect and start talking (there is a pairing phase, but it happens automagically when the devices connect.) I've never had to change ControllerMode from the default 'dual', meaning b...
by Douglas6
Sun Jul 29, 2018 9:52 pm
Forum: Beginners
Topic: Using bluetoothctl commands doesnt work for me
Replies: 4
Views: 127

Re: Using bluetoothctl commands doesnt work for me

Looks to me like you've omitted the beginning '/' of the characteristic name.
by Douglas6
Sat Jul 28, 2018 11:33 pm
Forum: Beginners
Topic: Reading response from BLE device on rpi3
Replies: 26
Views: 671

Re: Reading response from BLE device on rpi3

Bluetoothctl can also be used to list services from a remote BLE device. They are listed (with UUIDs) when a device is connected, and can also be queried with the 'primary' command, I believe.
by Douglas6
Fri Jul 27, 2018 3:17 pm
Forum: Advanced users
Topic: BLE mesh using multiple Raspberry Pi 3B+
Replies: 3
Views: 159

Re: BLE mesh using multiple Raspberry Pi 3B+

I'm afraid I have no idea.
by Douglas6
Tue Jul 24, 2018 11:10 pm
Forum: Troubleshooting
Topic: Failed to connect Raspberry pi 3 to Bluetooth speaker (again)
Replies: 6
Views: 1259

Re: Failed to connect Raspberry pi 3 to Bluetooth speaker (again)

Well, Stretch doesn't preclude the GUI, but if you are using the lite version, or you're just a command-line kinda guy, you can manually edit the .asoundrc file. Do nano ~/.asoundrc and enter the following: defaults.bluealsa.interface "hci0" defaults.bluealsa.device "XX:XX:XX:XX:XX:XX" defaults.blue...
by Douglas6
Tue Jul 24, 2018 10:33 pm
Forum: Troubleshooting
Topic: Failed to connect Raspberry pi 3 to Bluetooth speaker (again)
Replies: 6
Views: 1259

Re: Failed to connect Raspberry pi 3 to Bluetooth speaker (again)

You can't usefully connect a Bluetooth speaker with bluetoothctl. Use the GUI. There are instructions on the Pi website; basically you can pair it from the Bluetooth menu, and connect to it by right clicking on the volume icon.
by Douglas6
Mon Jul 23, 2018 9:45 pm
Forum: Advanced users
Topic: BLE mesh using multiple Raspberry Pi 3B+
Replies: 3
Views: 159

Re: BLE mesh using multiple Raspberry Pi 3B+

BlueZ added some support for the recent BLE mesh specification in release 5.47, and have been adding fixes since then. There's very little information out there on using it, apart from the standard "read the source code" response. If you find more information, please post it here.
by Douglas6
Sun Jul 22, 2018 3:27 am
Forum: Advanced users
Topic: Connecting Multiple Bluetooth speakers through RPI3
Replies: 3
Views: 482

Re: Connecting Multiple Bluetooth speakers through RPI3

I haven't tried it. My understanding is that only a single A2DP link is possible. Maybe one per Bluetooth adapter. Even so, I would not expect decent performance/latency/synchronization. I've lately seen Bluetooth multi-room products available; if they are making money, an out-of-the-box solution is...
by Douglas6
Wed Jul 04, 2018 11:47 pm
Forum: Networking and servers
Topic: [Solved] Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3
Replies: 14
Views: 474

Re: Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3

I'm a little confused. You seem to be running the 'server code' on the Pi, but your 'server error' is clearly a Windows error.

Can't help much with Windows code. One guess is that you've installed a Linux-compiled Python library on the Windows PC. And why not use the standard PyBluez fork?
by Douglas6
Tue Jul 03, 2018 7:11 pm
Forum: Networking and servers
Topic: [Solved] Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3
Replies: 14
Views: 474

Re: Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3

Yes and yes. On my Pi3, both the Bluetooth device address and WiFi MAC address begin with B8:27:EB, which an online lookup tells me is registered to the Raspberry Pi Foundation. To be honest, the difference between Bluetooth device addresses (BD_ADDR or bdaddr) and MAC addresses may be just conventi...
by Douglas6
Tue Jul 03, 2018 4:11 pm
Forum: Networking and servers
Topic: [Solved] Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3
Replies: 14
Views: 474

Re: Send/Receive a byte frame with Bluetooth between PC and Raspberry PI 3

Good call on the 'MAC' address! Strictly speaking, it's not a MAC address either, it's a 'Bluetooth device address', but that is raising pedantry to an unnecessary level.
by Douglas6
Tue Jul 03, 2018 4:02 pm
Forum: Troubleshooting
Topic: Raspberry PI3 Bluetooth COM Port (rfcomm.conf file does not exist)
Replies: 5
Views: 204

Re: Raspberry PI3 Bluetooth COM Port (rfcomm.conf file does not exist)

I am not sure if the rfcomm.conf is used anymore. Whether it exists has no effect on whether SPP is running or not. What does sudo

Code: Select all

sdptool browse local 
tell you?
What device are you trying to connect to, and how are you trying to connect? Of course, the devices must be paired and trusted first.
by Douglas6
Mon Jul 02, 2018 4:36 pm
Forum: General discussion
Topic: How to connect Bluetooth
Replies: 1
Views: 69

Re: How to connect Bluetooth

Most importantly, probably, is a much more detailed explanation of "does not go well". Are you getting error messages? What are you expecting, and what are you receiving? After having added the SPP, what is the result of

Code: Select all

sudo sdptool browse local 
Try removing and re-pairing the device.
by Douglas6
Mon Jun 25, 2018 4:44 pm
Forum: Français
Topic: Problème bluetooth
Replies: 3
Views: 166

Re: Problème bluetooth

With the most recent version of Stretch Raspbian, PulseAudio is no longer used for Bluetooth audio streaming. From what I've read on this forum, installing PulseAudio on Stretch WILL break things.
by Douglas6
Mon Jun 25, 2018 4:13 pm
Forum: Beginners
Topic: Reading response from BLE device on rpi3
Replies: 26
Views: 671

Re: Reading response from BLE device on rpi3

I am not familiar with the BLE device in question, so please take my comments as, well, comments. Some BLE devices (in particular HM-10 style serial devices) communicate not by responding to characteristic read requests, but by sending notifications (if you are unfamiliar with these BLE concepts, pl...
by Douglas6
Tue May 22, 2018 11:52 pm
Forum: Beginners
Topic: Install Phyton?
Replies: 4
Views: 238

Re: Install Phyton?

Phyton is the Suel god of Nature, Beauty, and Farming.
Well, I guess that would explain it. A specialized agricultural protocol. I didn't realize so many people were interested in cultivation.
by Douglas6
Tue May 22, 2018 11:17 pm
Forum: Beginners
Topic: Install Phyton?
Replies: 4
Views: 238

Install Phyton?

I have often seen Phyton mentioned on this forum as a potentially brand new and well-established programming alternative. Can somebody explain to me, how to install Phyton?
by Douglas6
Tue May 22, 2018 8:10 pm
Forum: Troubleshooting
Topic: Bluetooth on newly installed Pi 3 (Raspbian Stretch) not working
Replies: 1
Views: 111

Re: Bluetooth on newly installed Pi 3 (Raspbian Stretch) not working

Did you right-click on the audio icon, and select your Bluetooth speaker?
by Douglas6
Mon May 21, 2018 11:44 am
Forum: Beginners
Topic: Bluetooth: messaging between android/iphone and raspberry pi 3 model b
Replies: 2
Views: 116

Re: Bluetooth: messaging between android/iphone and raspberry pi 3 model b

It sounds like what you want to do is possible, although your description is sketchy. You can install the BlueZ tools utilities, and modify simple-agent to act as a pairing agent. You can make the Pi permanently discoverable by any device, although that is, of course, not recommended. You can then t...
by Douglas6
Mon May 21, 2018 12:15 am
Forum: Troubleshooting
Topic: Unable to connect to BLE device
Replies: 10
Views: 761

Re: Unable to connect to BLE device

Well, I would try removing the "random" bit, just to be sure. I would also double-check the primary services of the board, to see if the same service (UUID) is also available on the new board.
by Douglas6
Sun May 20, 2018 6:16 pm
Forum: Troubleshooting
Topic: Unable to connect to BLE device
Replies: 10
Views: 761

Re: Unable to connect to BLE device

You had mentioned previously that you were able to write to the relay board's characteristic. What has changed since then? The board appears to have two interfaces; a BLE one (0B) and a classic (BR/EDR) one (0E). You would use totally different techniques on each to communicate. Since you are having...

Go to advanced search