This is from some time ago now, but FWIW the approach that worked for me is as follows:
- Add
dtoverlay=pi3-miniuart-bt
to config.txt to set Bluetooth to use ttyS0 rather than ttyAMA0. -
Remove the
console=serial0,115200
bit from cmdline.txt. This frees up the port to be used as an RS232 port rather than used for the console.
Mostly derived from https://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3-4/ (and targeted at Raspbian, but should be more or less equivalent for Ubuntu Core).
Hope that helps!