Unfortunately it is only ever explained here how printf is possible via UART. I wonder how printf is possible over BLE. I would like to send messages (strings) with numerical values to a logging app on the phone (and commands from the phone to the BLE device for execution, e.g. changing config data).
So how would I use printf to embed the numbers into strings and send them using the nus service? (without having to reinvent the wheel).