2

I continued my research and found an answer that works for me. There is a DiscoverableTimeout on /etc/bluetooth/main.conf which is, by default, set to 300s. I just add DiscoverableTimeout = 0 on this configuration files.


2

Unless you have fiddled with it, Bluetooth uses /dev/ttyAMA0 and the serial port /dev/ttyS0. These are different devices. You should use /dev/serial0 for serial rather than the physical port. See How do I make serial work on the Raspberry Pi3 , Pi3B+, PiZeroW


1

Simplest way to do this would be setting up a Bluetooth socket server in Python, adding a simple communication over it - then adding some security algorithm, such as basic password check or even data (or text, if you wish to make it command-oriented) encryption of traffic - Python is simple and quick way to perform these tasks with little to no difficulty. ...


1

I just tested it with a python script I wrote myself (not the one you used, but thread is thread I guess). So I used python programname.py >> test.txt & to fork the process of and send output to a textfile "test.txt" so it won't block our console (I'm assuming you are using the raspberry without a GUI, if not you can ignore the last command and ...


1

Adding core_freq=250 to /boot/config.txt solves the problem by downclocking the GPU core frequency. I don't understand why this affects Bluetooth yet, but PAN over MiniUART is stable now.


1

You need to create a file ~/.asoundrc with the following content: pcm.!default { type plug slave { pcm { type bluealsa device <MAC> profile "a2dp" } } hint { show on description "BEATS" ...


1

Taken from raspberryPi.org To pair type pair xx:xx:xx:xx:xx:xx where xx:xx:xx:xx:xx:xx is your BD address of the device you want to pair Next type trust xx:xx:xx:xx:xx:xx You should read the full thread from the link, this can help you. Basicly the idea is to pair bluetooth device without user gui. [The raspberry is much faster without a Desktop ...


Only top voted, non community-wiki answers of a minimum length are eligible