Search found 11 matches

Go to advanced search

by vnikitin
Thu Apr 06, 2006 11:03 pm
Forum: BlueTools
Topic: Bond, DeviceLost and DiscoverDevices
Replies: 0
Views: 1725

Bond, DeviceLost and DiscoverDevices

I try to use the FindAndConnect sample and modify it as little as possible and understand how to get things to work. So I have some questions. 1. For some bluetoth modules (Baracoda for example) device.DiscoverServices(ServiceType.SerialPort) requires remoteDevice.bond(pin) method first You told me:...
by vnikitin
Thu Mar 30, 2006 11:32 pm
Forum: BlueTools
Topic: RemoteDevice.Bond impossible with Widcomm stack?
Replies: 9
Views: 4618

RE: RemoteDevice.Bond impossible with Widcomm stack?

That is the question...
I don't know. But it happens. sorry[:I]
by vnikitin
Thu Mar 30, 2006 9:52 pm
Forum: BlueTools
Topic: RemoteDevice.Bond impossible with Widcomm stack?
Replies: 9
Views: 4618

RE: RemoteDevice.Bond impossible with Widcomm stack?

I am get tired with the same problem. I use VC2005 and bluetools.200/200.CF I try that for PocketPC (Windows Mobile 2003) and for Notebook (Win XP sp2) as well. Notebook has Widcomm Stack 5.0.1.801 and internal blutooth device by CSR. PocketPC is iPaq 2410 and has widcomm 1.5.0.2901. This is code pr...
by vnikitin
Thu Feb 02, 2006 10:18 pm
Forum: BlueTools
Topic: SerialPort Profile not visible?
Replies: 10
Views: 5248

RE: SerialPort Profile not visible?

I have the same with connection to bluetooth module. Try device.DiscoverServices(ServiceType.SerialPort) instead of device.DiscoverServices(ServiceType.RFCOMM).
by vnikitin
Fri Dec 23, 2005 7:10 pm
Forum: BlueTools
Topic: Problem discovering services on Qtek S100
Replies: 0
Views: 1962

Problem discovering services on Qtek S100

{Franson.BlueTools.ErrorEventArgs} base {Franson.BlueTools.BlueToolsEventArgs}: {Franson.BlueTools.ErrorEventArgs} description: "Failed to lookup the next service" ErrorCode: 10022 errorCode: 10022 Exception: {[10022] Franson.BlueTools.BlueToolsException: Failed to lookup the next service} Message: ...
by vnikitin
Fri Dec 23, 2005 6:24 pm
Forum: BlueTools
Topic: Problem Discovering with garmin IQue M5
Replies: 12
Views: 6019

RE: Problem Discovering with garmin IQue M5

Sorry, new version gives the same error: {Franson.BlueTools.ErrorEventArgs} base {Franson.BlueTools.BlueToolsEventArgs}: {Franson.BlueTools.ErrorEventArgs} description: "Failed to lookup the next service" ErrorCode: 10022 errorCode: 10022 Exception: {[10022] Franson.BlueTools.BlueToolsException: Fai...
by vnikitin
Thu Dec 22, 2005 8:14 pm
Forum: BlueTools
Topic: Problem Discovering with garmin IQue M5
Replies: 12
Views: 6019

RE: Problem Discovering with garmin IQue M5

I have the same Exception on Qtek-S100 with Microsoft Stack when I try discover the services on remote device equiped by GL2BMU01 bluetooth module. This is report on command lunched in immediate window: ?device.DiscoverServices(ServiceType.RFCOMM) A first chance exception of type 'System.Application...
by vnikitin
Wed Dec 21, 2005 7:18 pm
Forum: BlueTools
Topic: Stream.ReadTimeout and Stream.WriteTimeout
Replies: 7
Views: 6989

RE: Stream.ReadTimeout and Stream.WriteTimeout

And what about EndWrite? It has no return code. [;)] When remote device switches off the command currentStream.BeginWrite(Buf, 0, Buf.Length, new AsyncCallback(writeCallback), currentStream); passes with no exception. Moreover writeCallback occurs. private void writeCallback(IAsyncResult result) { S...
by vnikitin
Wed Dec 21, 2005 6:24 pm
Forum: BlueTools
Topic: Stream.ReadTimeout and Stream.WriteTimeout
Replies: 7
Views: 6989

RE: Stream.ReadTimeout and Stream.WriteTimeout

Ok.
DeviceDiscoveryCompleted enevt occured.
NetworkDiscoveryPending = false
AutoDiscovery = false
Connection is established.
Some data sent and received.
And boom... Remote device switched off.
How can I recognize the connection is lost?
What kind of Event or Property may I use?
by vnikitin
Wed Dec 21, 2005 5:39 pm
Forum: BlueTools
Topic: Stream.ReadTimeout and Stream.WriteTimeout
Replies: 7
Views: 6989

Stream.ReadTimeout and Stream.WriteTimeout

Just I tried to modify FindAndConnect sample for Netcf, and have some questions. Sorry Stream.ReadTimeout and Stream.WriteTimeout properties not available. If possible give me suggestion what can do if CallBack not occurs after lunching asincronous Read or Write. CallBack not occurs if connection is...
by vnikitin
Wed Dec 21, 2005 5:35 pm
Forum: BlueTools
Topic: Stream.ReadByte() works incorrectly
Replies: 2
Views: 2793

Stream.ReadByte() works incorrectly

It expands 8-th bit of input data byte to all master bits of result. So if input data byte bigger then Ox7F ReadByte() returns negative value. No problem, this code could correct that int I = stream.ReadByte(); if (I < 0) { I = 0x100 + I; }; B = (byte)I; But if input data is OxFF, ReadByte returns -...

Go to advanced search