cancel
Showing results for 
Search instead for 
Did you mean: 

Sharing Text file

Professor_Berlin
Associate II

Hello everyone,

Recently I have been learning to create and write data to a text file in a flash drive that is connected to the STM32F407G Discovery board via USB_OTG_FS. 

Now I want to share the text file in the Flash drive to a mobile device via bluetooth.

How Can I do it ?

1 ACCEPTED SOLUTION

Accepted Solutions

@Professor_Berlin wrote:

I want to share the text file in the Flash drive to a mobile device via bluetooth.

How Can I do it ?


  1. read the text from the file;
  2. send the text over Bluetooth.

 

Or, if it's a large file:

  1. open the file
  2. read some text from the file
  3. send the text over Bluetooth
  4. repeat from (2) until done

View solution in original post

3 REPLIES 3

@Professor_Berlin wrote:

I want to share the text file in the Flash drive to a mobile device via bluetooth.

How Can I do it ?


  1. read the text from the file;
  2. send the text over Bluetooth.

 

Or, if it's a large file:

  1. open the file
  2. read some text from the file
  3. send the text over Bluetooth
  4. repeat from (2) until done

Hello Andrew,

Isn't there a way to directly share the text file like we do in our mobile devices ?

 

That is what your mobile device does when you "share" a file!