Main Site Documentation

I can't find gadgeteer bluetooth on my laptop


I try to connect bluetooth module to my laptop.I get the code from document section like that:

using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Presentation.Shapes;
using Microsoft.SPOT.Touch;

using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;

namespace Bluetooth_connection
public partial class Program
void ProgramStarted()

        bluetooth.BluetoothStateChanged += new Bluetooth.BluetoothStateChangedHandler(bluetooth_BluetoothStateChanged);
        bluetooth.DataReceived += new Bluetooth.DataReceivedHandler(bluetooth_DataReceived);

        Gadgeteer.Timer timer = new Gadgeteer.Timer(1000, Gadgeteer.Timer.BehaviorType.RunOnce);
        timer.Tick += new Gadgeteer.Timer.TickEventHandler(timer_Tick);

    void timer_Tick(Gadgeteer.Timer timer)
        if (!bluetooth.IsConnected)

    void bluetooth_BluetoothStateChanged(Bluetooth sender, Bluetooth.BluetoothState btState)

    void bluetooth_DataReceived(Bluetooth sender, string data)
        sender.ClientMode.SendLine(data); //echoes the data back to the device.


But once I was debugging code to fez spider I can’t find bluetooth on my laptop. And there weren’t any error at selection screen output. Are there missing parts in code? has someone have fully code? or can someone help me? I am beginner.

Thank you.


there were problems with the original driver of the bluetooth module.
There are two other driver in the Code Share section that can be used:

One of VBDaniel (I did not yet get the time to try it)

and my Code Share contribution:

perhaps you can get some useful information in these links:



@ RoSchmi - Thank you for answer.I’m going to try.


@ RoSchmi - Hi
I tried but there were problem about 'public GTI.Serial serialPort;'
Like picture:


That simply means you haven’t included references you need. Add Gadgeteer.Serial as a reference and you should eliminate those.


@ Brett - Thank you for answer.But where I have to add Gadgeteer.Serial.I am sorry i am new and struggle with this problems. I added it above like picture




@ RoSchmi - Thank you