Thank you for contacting us. This topic has been discussed before in the community. You can find the answer to this question here: https://communities.intel.com/thread/76582 .
Additionally, there are other helpful resources I’d like to recommend. Take a look at: https://www.intel.com/content/www/us/en/support/boards-and-kits/000005743.html
Let us know if this answers your question.
I've read this document: https://www.intel.com/content/dam/support/us/en/documents/edison/sb/edisonbluetooth_331704007.pdf but I did not find an answer. Is it possible to send data from and to Edison through Bluetooth using for example SPP profile? There is described only how to send data to Edison, not from Edison. I don't know how to modify SPP-loopback.py to make the script able to communicate to and from the Edison.
Yes, you can send data from the Edison to the Android device using RFCOMM. To test SPP using RFCOMM between an Android device and an Intel Edison device, take a look at https://www.intel.com/content/www/us/en/support/boards-and-kits/intel-edison-boards/000008676.html for more information.
Let us know if this is what you were looking for.