thijse / Arduino-CmdMessenger

CmdMessenger Communication library for Arduino & .NET
Other
208 stars 87 forks source link

Question - Bluetooth Listener/Server in c# #51

Open ramiss opened 4 years ago

ramiss commented 4 years ago

Hi There,

I think CmdMessenger is great and have it working just fine with serial between my Pi and arduino. Now I want to add a bluetooth connection between a mobile app and my Pi, with the app initiating the connection (ie Pi listening/server).

I'm pretty sure I can follow the example to initiate from the app. What I have no clue about is how to set the Pi (in c#) to listen for a bluetooth connection.

This guy has already done it to some extent, but to be honest I don't trust his code. The client side stuff he wrote is nowhere near as robust as your examples. So I'm hesitant if you have a better way. https://www.codeproject.com/Articles/842951/CmdMessenger

Any clues are most welcome!

Sincerely,

Richard