Fremantle Unsupported Bluetooth profiles

here are several Bluetooth profiles officially missing/unsupported in Fremantle that are however supported by the upstream BlueZ project or can be made to work with some simple hacks.

DUN server
There's a tool called pnatd (short for PhoNet AT Daemon) which can act as a proxy between the cellular modem PhoNet interface and a TTY device.

Example script
sdptool add --channel 1 DUN while true; do       rfcomm -S -- listen -1 1 /usr/bin/pnatd '{}' sleep 1 done

HID host
Fremantle comes with the bluetoothd input plugin installed but disabled through /etc/bluetooth/main.conf

PAN
Fremantle comes with the bluetoothd network plugin installed but disabled through /etc/bluetooth/main.conf