Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started by: fabiorov on November 18, 2010, 08:42:31 PM
-
Hi, I'm evaluating WCL for .net.
Reading the demos I see that there is an event called "WclProximitySenderOnSendComplete" and it is ideal for insert rows in a SQLite database (to know the result codes for each phone), but I want to know if this event can de triggered many times simultaneous when multiples phones are receiving files. If it has this behavior it would be a problem because SQLite soesn't support simultaneous writing threads.
thanks in advance.
-
Hi
It reports in one thread for each found device. It does not report at the same time.
-
Ok, Thanks for your answer. Another issue... is it posible that a thread of "WclProximitySenderOnSendComplete" event to start while another thread is executing... let me explain:
- Event "OnsendComplete"... the thread starts and muy program begin to write in database
- While my program is writing in the database, can another thread of "OnsendComplete" start? or does it wait until the first thread finish?
Thanks
-
All the events are always called in main thread.