Knowledgebase
emscom > emscom Help Desk > Knowledgebase

Search help:


Bluetooth CLI commands

Solution

Issue

Attempting to join bluetooth device to moode audio causes moode web server to crash.

The issue appears to be down to the RPI Zero running out of runtime.

To resolve add and pair the bluetooth device from the command line.

 

bluetoothctl, enters the interactive mode where commands can be typed

>help # for help

#scan nearby devices

>l scan on #dicover nearby devices.  This can take some time before device names are resolved to MAC addresses

devices  #list known devices

pair <bt device mac> #enter pairing mode

#after issuing pair click connect on the BT device

Both the BT device and the pi cli will prompt for a PIN.  The same pin needs to be entered.  The problem here is the terminal or BT device may time out before the PINs have been entered.

Attempt to force the PIN prompt from the RPI shell

rfcomm connect hci <bt device mac>

 

 
Was this article helpful? yes / no
Related articles OSX Wireless keyboard fails to pair
Firefox SSL fallback
Messages forwarding SMS
Brother ADS scan to network
USBIP Remote usb device sharing
Article details
Article ID: 246
Category: RPI
Date added: 15-02-2025 19:33:15
Views: 4
Rating (Votes): Article not rated yet (0)

 
« Go back

 
Powered by Help Desk Software HESK, in partnership with SysAid Technologies