DevLoop
Posts: 6
Joined: Sat May 09, 2015 7:09 pm

WinIoT Bluetooth GATT Server role

Mon Sep 14, 2015 9:51 pm

Hi Guys

How do I implements GATT server role in win 10 IoT?!
I found GATT client and advertisement publisher and watcher only, no more!
I need Rasberry in central mode to accept all mobile phone requests

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: WinIoT Bluetooth GATT Server role

Mon Sep 14, 2015 10:06 pm

ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

DevLoop
Posts: 6
Joined: Sat May 09, 2015 7:09 pm

Re: WinIoT Bluetooth GATT Server role

Mon Sep 14, 2015 10:20 pm

Yes it is a sample to connect with external BT device, raspberry is client mode and lookup the TI device (server role!)
I need develop a service to enable to raspberry discoverable by device look for the uuid service

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: WinIoT Bluetooth GATT Server role

Mon Sep 14, 2015 11:03 pm

This may help

http://blog.falafel.com/bluetooth-rfcom ... re-device/

It shows the basics of what you are trying to do I think. Code for both client and server.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: WinIoT Bluetooth GATT Server role

Mon Sep 14, 2015 11:05 pm

but....

"This works great for me with my Surface Pro 3 as a server and the Raspberry Pi 2 as a client. At the time of this post, I was unable to get the Raspberry Pi 2 to work as the server. I’m not sure if this was because of a network setting or a hardware issue, but I will continue to investigate it."
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: WinIoT Bluetooth GATT Server role

Tue Sep 15, 2015 8:22 am

ricl wrote:but....

"This works great for me with my Surface Pro 3 as a server and the Raspberry Pi 2 as a client. At the time of this post, I was unable to get the Raspberry Pi 2 to work as the server. I’m not sure if this was because of a network setting or a hardware issue, but I will continue to investigate it."
Maybe I have Windows 10 IoT Core wrong but thought it was developed as a ""Client"" Device ?
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: WinIoT Bluetooth GATT Server role

Tue Sep 15, 2015 10:24 am

fruitoftheloom wrote:
Maybe I have Windows 10 IoT Core wrong but thought it was developed as a Client Device ?

Windows 10 IoT Core is being Marketed as a client device.

It contains a full NT kernel which can easily do server side roles, you just have the program them.

P.S. It has active http and ftp servers built in as standard.
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

Return to “Windows 10 for IoT”