Home Forums Support Bluetooth tutorial/example code?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #4428
    Anonymous
    Inactive

    Hello i like your library! It works fine, now with this library my game is way better with multiplayer.
    But i want to send object through Bluetooth, how to do that?

    I found this code for server:

    BluetoothRadio myRadio = BluetoothRadio.PrimaryRadio;
    if (myRadio == null)
    {
         return;
    }
    RadioMode mode = myRadio.Mode;
    
    Console.WriteLine(myRadio.LocalAddress); //Print BT Address
    Connection.StartListening(ConnectionType.Bluetooth, new BluetoothEndPoint(myRadio.LocalAddress, new Guid(), -1));

    but how to create client application? Can you please add some example code / Bluetooth tutorial?

    • This topic was modified 7 years, 10 months ago by .
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.