To communicate with multiple BLE devices using Windows 10 UWMP

0 votes
I'm running Windows 10 IoT on Raspberry pi 3 and I have like 10 Arduino based BLE devices with which I need to communicate with.

I need my program to iterate through all the 10 BLE devices, send a command and receive a response.

I have done it on Android, but I'm don't know how to do it on Windows 10. Any help would be great.

Thank you
Oct 8, 2018 in IoT (Internet of Things) by Annie97
• 2,160 points
1,773 views

1 answer to this question.

0 votes

Not fully sure if you are wanting to plug 10 Arduinos into a Raspberry Pi, or if you want to communicate to 10 BLE enabled Arduino wirelessly. If it's the latter, I can help. I'm assuming you have an understanding BLE fundamentals.

Overview: Basically you'll want to pair the Bluetooth Arduinos with Win IoT, connect to each one of them, send and receive data using GATT Characteristics, then disconnect when finished.

  1. Get an HCI BLE dongle to form the list of supported BLE dongles for Win IoT.
  2. You must then pair each BLE Arduino to Win IoT. This will allow the Pi to find the devices through your code.
  3. To send data and receive responses form the wireless BLE devices, a connection must first be established.
  4. I assume you'll have already programmed the Arduino to have a Characteristic (possibly named "command"), in their GATT database with write access and another (possibly named "response") with read access and notifications enabled. Characteristics are like sockets. Make sure your Arduinos have something similar to this setup.
  5. In your Win IoT code, you'll have to discover these GATT Characteristics while connected to the Arduino. After discovery, data can be written to the "command" Characteristic.
  6. Arduino can then respond by triggering the notification that data is waiting on the "response" characteristic. After the Pi has received this notification, it should then proceed to read the "response" Characteristic from the Arduino's GATT database.
  7. Finally, disconnect when finished and repeat on the next Arduino.
answered Oct 8, 2018 by Upasana
• 8,620 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Unable to communicate to device with .local domain using android, corova-zeroconf-plugin

Use IP address instead of http://iotdevice.local..Use htt ...READ MORE

answered Aug 2, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
1,763 views
+1 vote
1 answer

Configuring Raspberry Pi with Windows 10 IoT App using Rest API

You should use HttpClient instead of WebClient. Try ...READ MORE

answered Oct 10, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
963 views
0 votes
1 answer

KAA server : Is it possible to develop an application to communicate with routers using PHP

It's actually not possible to develop a ...READ MORE

answered Jan 10, 2019 in IoT (Internet of Things) by Shubham
• 13,490 points
746 views
0 votes
1 answer
0 votes
1 answer

Android Ble GATT_ERROR 133 getting often with samsung devices

I tried the following code #!/usr/bin/python import ibmiotf.device from time ...READ MORE

answered Jul 18, 2018 in IoT (Internet of Things) by anonymous2
• 4,240 points
2,488 views
0 votes
1 answer

Detecting BLE beacons that are not ibeacons on IOS

You'll have to understand that CoreLocation is ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
893 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to deploy Windows 10 IoT (Rasp Pi image) as a Virtual Machine

The easiest way I found is downloading ...READ MORE

answered Sep 10, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
3,195 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP