We have developed our own board using STM32L496RET6 and and RN4871-V/RM118 for Bluetooth.
Everything works fine, we can stream data from our board using Transparent UART (setting SS,40 on the RN4871 in command mode) and we can see data reception when using phone bluetooth terminals. Our problem is that we are trying to make a mobile phone application which receives this data and manipulates it. We plan on using Flutter to develop our application. We are slowly starting to realise that we might not be able to do this using the transparent UART and we might need to switch to a GATT Server.
The problem with that is that all the MBed examples we find using Gatt Server are written for specific development boards which already have a BLE module connected. How do we go about connecting an external BLE to our board? It currently uses RX/TX pins connected to our processor TX/RX. Is it just a matter of reassigning the pins of the MBed example to match our pins? If so, how do we overwrite the existing pin assignment?