Page 1 of 1

WinIoT Bluetooth GATT Server role

Posted: Mon Sep 14, 2015 9:51 pm
by DevLoop
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

Re: WinIoT Bluetooth GATT Server role

Posted: Mon Sep 14, 2015 10:06 pm
by ricl

Re: WinIoT Bluetooth GATT Server role

Posted: Mon Sep 14, 2015 10:20 pm
by DevLoop
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

Re: WinIoT Bluetooth GATT Server role

Posted: Mon Sep 14, 2015 11:03 pm
by ricl
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.

Re: WinIoT Bluetooth GATT Server role

Posted: Mon Sep 14, 2015 11:05 pm
by ricl
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."

Re: WinIoT Bluetooth GATT Server role

Posted: Tue Sep 15, 2015 8:22 am
by fruitoftheloom
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 ?

Re: WinIoT Bluetooth GATT Server role

Posted: Tue Sep 15, 2015 10:24 am
by ricl
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.