Questions tagged [32feet]

32feet.NET is a shared-source project to make personal area networking technologies such as Bluetooth, Infrared (IrDA) and more, easily accessible from .NET code.

32feet.NET is a shared-source project to make personal area networking technologies such as Bluetooth, Infrared (IrDA) and more, easily accessible from .NET code.

See http://32feet.codeplex.com/

149 questions
1
vote
0 answers

Sending a concatenated SMS in pdu format over Bluetooth using #feet32 library

I have written a Windows app in C# that is supposed to send SMSes using AT commands. I am connecting to the phone over Bluetooth using #32feet library. I obviously use AT+CMGS command for sending an SMS. Everything works fine as long as I send a…
Adam
  • 11
  • 2
1
vote
1 answer

inTheHand Blutooth_Client.DiscoverDevices() reports "System.NullReferenceException: 'Object reference not set to an instance of an object.'"

I attempted to write the Server code and Client code using inTheHand.Net.Bluetooth to promote communication between android watch and Windows. However, the line "client.DiscoverDevices();" keeps recording the following error. Is it possible for…
universe123
  • 103
  • 5
1
vote
2 answers

Unable to Discover Bluetooth Devices in UWP application but works in WPF application

I am trying scan the Bluetooth devices using 32feet.NET library using the following code. private void Button_Click(object sender, RoutedEventArgs e) { BluetoothClient client = new BluetoothClient(); foreach (BluetoothDeviceInfo bdi in…
Kumar M
  • 994
  • 6
  • 21
1
vote
0 answers

Connect Bluetooth device via 32feet.Net library

I have a project to connect bluetooth between C# application and my phone, and use AT command through Stream to dial number on my app. I have seen https://github.com/sidiandi/Sidi.HandsFree but I cannot understand this code. I try scan and pair, it…
SABO
  • 11
  • 3
1
vote
1 answer

Unable to set SDP Record for Rfcomm Service Provider (InTheHand, uwp)

I want to create a two-way Bluetooth Rfcomm connection. The server side is implemented in UWP. Using InTheHand.Devices.Bluetooth (NuGet v4.0.1803.22-preview) I find no way to attach an SDP record to the service provider. This results in an error…
ChrisM
  • 45
  • 7
1
vote
0 answers

Strange behavior in bluetooth device discovery with 32feet library

i'm trying to discover bluetooth devices with the 32feet library for c#. I wrote a little test application to discover and later pair devices. And I recognised a strange behavior. This is how I start the discovery: BluetoothComponent bc = new…
Stephan
  • 42
  • 5
1
vote
0 answers

How to reliably disconnect a bluetooth connection

I've inherited an application that must connect and disconnect from a device via bluetooth. The application more or less works, but as I've added more functionality I've realized that reconnecting to the device after the first connection is…
Mike G
  • 11
  • 1
1
vote
0 answers

C# - Force windows around 20s delay to realize bluetooth not connected

I'm currently using the 32feet library for bluetooth in my application. I'm trying to check whether the device is still alive before it takes windows the 20s to change the status from "Connected" --> "Paired". "True" --> "False" I'm forcing a device…
1
vote
1 answer

Not to display Pairing pop up mssage during Bluetooth pairing With 32feetnet in Windows 10

I tried two different approaches to connect to Bluetooth device in windows 10. 1)Developed an application with 32feetnet and tried to connect to Bluetooth device, it is prompting with whether pin is matched or not message box. 2. Created a sample…
1
vote
1 answer

Send message directly after AcceptBluetoothClient with 32feet

I would like to send a message directly after a device has connected to me. So I start listening to incoming connections: public static void StartListen(BluetoothDeviceInfo foundDevice) { try { _listener = new…
Mark
  • 7,507
  • 12
  • 52
  • 88
1
vote
3 answers

Bluetooth Serial Port (SPP) incoming port creation

I have a bespoke bluetooth device that I can pair with and connect to using windows 10 and it creates 2 com ports - one is listed as incoming and one is listed at outgoing. When I connect using the 32Feet C# bluetooth libraries I am able to discover…
Paul Coldrey
  • 1,389
  • 11
  • 20
1
vote
1 answer

How to pair and search Bluetooth Low Energy services on phone in windows desktop application?

We got phone app that hosts GATT server with service and characteristic. From the desktop application we trying to search it with UWP API using DeviceWatcher. var deviceWatcher = DeviceInformation.CreateWatcher( …
1
vote
2 answers

tranfer file via bluetooth to iphone using 32feet

I am trying to transfer a file to my iphone using 32feet bluetooth, but cannot seem to get past the ObexWebResponse. I have read many post on this but none of the solutions seem to work for me. The Error i get is // Connect failed // The requested…
Mike
  • 623
  • 6
  • 26
1
vote
1 answer

Read contacts using bluetooth

I'm trying to read contacts from my mobile device using 32feet library and i'm having a bad request error when I try. The device is paired with my app. This is my code: var item = (BluetoothDeviceInfo)listBox.SelectedItem; Task.Run(() => { …
1
vote
1 answer

Bluetooth serial with C# and Mono on Raspbian?

I've been trying to create a C# Windows Forms Bluetooth serial application and then run it via Mono on my Raspberry Pi 3. I tried the following: String SelectedDevice = AvailableDevicesComboBox.SelectedItem.ToString(); BSerialPort = new…
Martin
  • 33
  • 1
  • 4