-
Notifications
You must be signed in to change notification settings - Fork 48
bluetooth.conf
The file lives at /data/etc/bluetooth.conf
. It can be provisioned using /boot/bluetooth.conf
and uses /etc/bluetooth.conf
as a default. The file is not present by default and should be created by the user, if the Bluetooth stack is needed.
Note that the bluez-utils 5.x
package required for Bluetooth to work is not enabled by default in thingOS. You'll need to enable it (as well as the deprecated CLI tools) in your configurations to have this functionality.
The file is used as configuration for the BlueZ 5
Bluetooth stack. In fact, the configuration file used by the bluetoothd
daemon is /etc/bluetooth/main.conf
, which, through some indirections, will have the content of the /data/etc/bluetooth.conf
.
An official example of a Bluetooth configuration file can be found here. Following is a simple example of a bluetooth.conf
file:
[General]
Name = myThingOS
Class = 0x240404
DiscoverableTimeout = 60
PairableTimeout = 60
NameResolving = false
[Policy]
AutoEnable = true
FastConnectable = true
In the absence of a Name
directive, the hostname of the system will be used.
- bluetooth.conf
- captive-portal.conf
- cpufreq.conf
- date.conf
- dnsmasq.conf
- docker-compose.yml
- dtoverlays
- dyndns-update.sh
- environment
- firewall.sh
- fstab.user
- hostapd.conf
- ifalias.conf
- localtime
- modprobe.conf
- modules
- mongodb.conf
- netwatch.conf
- ntp.conf
- os.conf
- proftpd.conf
- redis.conf
- smb.conf
- ssh/config
- ssh/sshd_config
- ssl/domain
- ssl/email
- static_ip.conf
- sysctl.conf
- toemmc.conf
- version
- watchdog.conf
- wpa_supplicant.conf