Bluetooth 5 Unsupported for MOD Dwarf

Sorry being late on this.
Let’s just try to force it, we need to edit a few files and test.

ssh into the unit, and just do

mount / -o remount,rw
nano /sbin/net.bnep # or vi if you prefer

Change the workaround section to this:

# Workaround for new bluetooth devices for which `hciconfig` is unable to report version from
if [ -n "${BT_CURRENT}" ] && /usr/bin/echo ${BT_CURRENT} | /usr/bin/grep -q "^(0x.*)"; then
    # convert hexadecimal to decimal, while removing surrounding parenthesis
    BT_RAWVERSION=$(/usr/bin/printf "%d" $(echo "${BT_CURRENT}" | /usr/bin/sed -e "s/^(\(.*\)).*/\1/"))
    # if raw version is 6 or higher, it is supported
    if [ "${BT_RAWVERSION}" -ge 6 ]; then
        BT_CURRENT=${BT_REQUIRED}
    fi
fi

then (re)plug the bluetooth usb stick and check if it works via

# activate discovery for 2 minutes
mod-bluetooth discovery

# check if all went ok
mod-bluetooth status

Let me know how it works. If this ends up working for you I will put it in the next 1.11-RC3

1 Like