Transfer files wirelessly over the Bluetooth Low Energy protocol Using BleuIO

July 2, 2021

This tutorial will show how to transfer files wirelessly over the Bluetooth Low Energy protocol. We will use two BleuIO dongles for this project—one for sending and another one for receiving. The sender dongle will be in central mode, while the receiver dongle will be in peripheral mode. 

We have already created two python scripts for sending and receiving. You can get the source code from

You can try this project on two different computers.

A video tutorial will show you how to do it on one computer and send files between two BleuIO dongles.

Requirements :


  1. First, connect two BleuIO dongles to your computer. 
  2. Note down the COM port for each dongle. You can find the port using device manager.
  3. Try to find receiver dongle MAC id. To do that, start advertising your receiver dongle and note down the MAC id.  Follow the video if you need more details on how to do it.
  4. Open and files. Update COM port and MAC id where necessary.
  5. Set the file type that you are expecting to receive. For example, if you are expecting a jpg file, change file_name on to result.jpg, and for a text file, you can rename it to result.txt
  6. Keep the file in the same directory with and change the file name accordingly.
  7. Now run the script using a terminal. It will start advertising and will be ready to receive.
  8. Now run the script. 
  9. Once both the dongles are connected, you will be asked to send the file from the file transfer script. 
  10. The receiver dongle will give you a confirmation once received, and you will find the file stored in the same folder with the receiver script.
  11. Finally, you can check if you received the file correctly by running a checksum. 

Please follow the video if you have difficulty in understanding. 

Share this post on :