Home

Awesome

Bluetooth Sample Using 32feet.Net

Sample that show how to send data through Bluetooth in a WPF application using 32feet.Net (uses MVVM pattern).

Article

How to send data through Bluetooth in a WPF application using 32feet.Net

Running the WPF Application

For test the application we need two devices, where in the first device we will run as “Sender” and in the second device we will run as “Receiver”.

The “Receiver” can start listening

<MTMarkdownOptions output='html4'> <img src="http://i1.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda6.png?w=584"> </MTMarkdownOptions>

The “Sender” is searching for available devices

<MTMarkdownOptions output='html4'> <img src="http://i0.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda7.png?w=584"> </MTMarkdownOptions>

The “Receiver” is starting for listening

<MTMarkdownOptions output='html4'> <img src="http://i0.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda7.png?w=584"> </MTMarkdownOptions>

The “Sender” can select a device for send the message

<MTMarkdownOptions output='html4'> <img src="http://i2.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda8.png?w=584"> </MTMarkdownOptions>

The “Sender” will send a message for the selected device

<MTMarkdownOptions output='html4'> <img src="http://i1.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda9.png?w=584"> </MTMarkdownOptions>

The “Receiver” received data sent by “Sender”

<MTMarkdownOptions output='html4'> <img src="http://i1.wp.com/www.saramgsilva.com/wp-content/uploads/2014/10/100714_1225_Howtosendda10.png?w=584"> </MTMarkdownOptions>

Nuget

In Nuget is available the nuget package with the classes created in this sample:

32feet.Net - MVVM Services for Bluetooth communication

Installing the 32feet.Net - MVVM Services for Bluetooth communication

<MTMarkdownOptions output='html4'> <img src="http://s9.postimg.org/69najt5m7/nuget.png"> </MTMarkdownOptions>

Follow me

My blog: typeof(saramgsilva)

My twitter @saramgsilva