Search found 10 matches

Go to advanced search

by elhafid
Wed Dec 03, 2008 7:55 pm
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

RE: Pass the whole RemoteDevice object to the BeginRea

Hi Jonas After reading many classes, for my need i have to : - have a remotedevice list of all discovered remote device - have a remoteservice list for each remote device discovered - For each current remote service of the remoteservice list call m_stream.beginread method whith call the readcallback...
by elhafid
Wed Dec 03, 2008 2:09 am
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

RE: Pass the whole RemoteDevice object to the BeginRea

Thanks... So in callback sub, it seems to be as simple as : ?? Dim blueAsyncResult As BlueToolsAsyncResult = result Dim device = blueAsyncResult.AsyncState buffer = blueAsyncResult.buffer Try len = m_stream.EndRead(result) m_stream.BeginRead(m_buffer, 0, m_buffer.Length, New AsyncCallback(AddressOf ...
by elhafid
Wed Dec 03, 2008 12:18 am
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

RE: Pass the whole RemoteDevice object to the BeginRea

Thanks again...

Yes i understand this, but after, in callback sub, how to access to the data that this device send...??

it is that was not clear for me...
by elhafid
Tue Dec 02, 2008 11:50 pm
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

RE: Pass the whole RemoteDevice object to the BeginRea

Hi Jonas...

You said me that i could pass the whole RemoteDevice object to the BeginRead.

How the link is made between stream en device ??

There is somethink that is not clear for me.

Thank you.
by elhafid
Tue Dec 02, 2008 9:40 pm
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

RE: Pass the whole RemoteDevice object to the BeginRea

Thank you...

I'm going to try....

Regard.
by elhafid
Tue Dec 02, 2008 8:31 pm
Forum: BlueTools
Topic: Pass the whole RemoteDevice object to the BeginRea
Replies: 8
Views: 4666

Pass the whole RemoteDevice object to the BeginRea

Hello

Sorry about the email.

Please i need the application to store which device belongs to which Stream.

How is it possible to pass the whole RemoteDevice object to the BeginRead.

Where can i find example...
Could you give me an example of code making this please.

Thank you again and sorry.
by elhafid
Sat Nov 29, 2008 1:18 am
Forum: BlueTools
Topic: Add blue DLL to visual studio (VB) 2008...
Replies: 7
Views: 4596

RE: Add blue DLL to visual studio (VB) 2008...

Hello Jonas Thank you again... I just start and test this tools...seems to be a very good work. My purpose is to create a simple windows which work like this : - when the soft run, it wait automaticaly for receiving a contact - when a mobile create a contact and send it by bluethouth - the pc soft r...
by elhafid
Thu Nov 27, 2008 7:29 pm
Forum: BlueTools
Topic: Add blue DLL to visual studio (VB) 2008...
Replies: 7
Views: 4596

RE: Add blue DLL to visual studio (VB) 2008...

Thank you...

What do you advice about using samples and visual studio :
2005 under xp or
2008 under vista ?

Most part of samples seems to work better with visual studio 2005 Doesn't it ?

Thank you again.
by elhafid
Thu Nov 27, 2008 3:36 pm
Forum: BlueTools
Topic: Add blue DLL to visual studio (VB) 2008...
Replies: 7
Views: 4596

RE: Add blue DLL to visual studio (VB) 2008...

Thank you Jonas I only try to use an sample provided with bluetools : findandconnect sample. When executed, devices are found but a device is selected, there is an error like : "[10108] Franson.Bluetools.BluetoolsExeption : Remote device cannot be found....line272" Is this error known ? what is the ...
by elhafid
Thu Nov 27, 2008 2:11 pm
Forum: BlueTools
Topic: Add blue DLL to visual studio (VB) 2008...
Replies: 7
Views: 4596

Add blue DLL to visual studio (VB) 2008...

Hello

Please, help

When i ty to add blue dll to VB (visual studio 2008), using project/add references...i have an error like "can' be added, verify that are assembly ou com..."

What is the problem...

Thank you for your help...

El Hafid

Go to advanced search