Search found 46 matches

Go to advanced search

by hajoko
Thu Jan 29, 2009 4:14 pm
Forum: BlueTools
Topic: sream - servicestream
Replies: 2
Views: 2579

RE: sream - servicestream

this might be easier for you than for me, for I'm not a professional:-)

inherits means, it is only an instance of the original, so in the end it does'nt care, how to use it?

regards

hajoko
by hajoko
Thu Jan 29, 2009 1:32 pm
Forum: BlueTools
Topic: sream - servicestream
Replies: 2
Views: 2579

sream - servicestream

hi Jonas, when I define streams, I am not shure, what is the difference between franson.servicestream and io.stream. In your sample, you cast them , but I dont understand the reason. events and properties seem to be identical. So, to keep sourcecode more transparent, is it possible, to prefere one o...
by hajoko
Tue Jan 20, 2009 1:35 am
Forum: BlueTools
Topic: buffer definition
Replies: 6
Views: 3613

RE: buffer definition

I suppose, BT has a checksum control onto a deeper layer and will repeat transfers in case of errors itself, so errors on layer of buffer content are of bare possibility and I dont need to build an own control?!

regards

hajoko
by hajoko
Sat Jan 17, 2009 8:10 pm
Forum: BlueTools
Topic: buffer definition
Replies: 6
Views: 3613

RE: buffer definition

Wrong topic, but does BT make an intern checksum control or is it necessary to build it myself?

regards

hajoko
by hajoko
Sat Jan 17, 2009 7:43 pm
Forum: BlueTools
Topic: buffer definition
Replies: 6
Views: 3613

RE: buffer definition

oh yes, I think, you are right. So the blueresults.buffer is always upto the beginread buffer and only eliminates empty bytes. Is there a limit for the beginreadbuffer that should not be trespassed? 1000 bytes for instance?

regards

hajoko
by hajoko
Sat Jan 17, 2009 2:36 pm
Forum: BlueTools
Topic: buffer definition
Replies: 6
Views: 3613

buffer definition

Hi Jonas, the buffer, I refere at stream.beginreading, is it just a dummy, or does it reserve memory? It seems not to be identical with the buffer, I find in the blueAsyncResult of the readcallback. so, does the refered buffer need to be bigger than the incoming read or is it nonsense, or is it anyt...
by hajoko
Tue Jan 13, 2009 9:42 pm
Forum: BlueTools
Topic: network events
Replies: 6
Views: 3650

RE: network events

Hi Jonas,
I found the error - maybe of interest.

Reading 'service.comment' of any remoteservice makes a programm breakdown at the device, if I send an obexpush to this device later on.

Took pretty much time, to find it out:-)

regards

hajoko
by hajoko
Tue Jan 13, 2009 5:24 pm
Forum: BlueTools
Topic: network events
Replies: 6
Views: 3650

RE: network events

should i deadvertise services too?

regards

hajoko
by hajoko
Tue Jan 13, 2009 5:01 pm
Forum: BlueTools
Topic: network events
Replies: 6
Views: 3650

RE: network events

is DeviceDiscovery then possible all the time, or should processes be closed before? I ask in spite of sometimes hanging DeviceDiscovery

regards

hajoko
by hajoko
Mon Jan 12, 2009 10:56 pm
Forum: BlueTools
Topic: network events
Replies: 6
Views: 3650

network events

Hi again,

the network.devicelost event - when ist it started? Does network check devices automatically or does it need a corrupted stream?

hajoko
by hajoko
Mon Jan 05, 2009 3:38 pm
Forum: BlueTools
Topic: LocalName
Replies: 7
Views: 3476

RE: LocalName

so it's only inside the header of bt package format, and that's not open?! What a pity :-( Would be much easyer to work with that.

regards

hajoko
by hajoko
Mon Jan 05, 2009 2:01 pm
Forum: BlueTools
Topic: LocalName
Replies: 7
Views: 3476

RE: LocalName

.. but if I write to the stream then, it exactly meets the sender. So - where is the information about that?

regards

hajoko
by hajoko
Mon Jan 05, 2009 12:25 pm
Forum: BlueTools
Topic: LocalName
Replies: 7
Views: 3476

RE: LocalName

some problems in this direction:-) if I have an asynchronous callback in simple service, how can I detect the sender from stream or from result, if there are several services? I improve it by an artificial header, but shoud be possible,to find the original header information of the read. regards haj...
by hajoko
Mon Jan 05, 2009 2:49 am
Forum: BlueTools
Topic: LocalName
Replies: 7
Views: 3476

LocalName

Hi

how can I find LocalName of device in runtimemode, when manager.network.name = "unknown"?

only reading registry?

would be

reg,\\HKCU\Software\Microsoft\Bleutooth\Settings\Localname


[HKEY_LOCAL_MACHINE\SOFTWARE\WIDCOMM\BTConfig\General\Localname



regards

hajoko

Go to advanced search