Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: hanyelmehy on February 14, 2009, 04:34:36 PM

Title: MassSender
Post by: hanyelmehy on February 14, 2009, 04:34:36 PM
I am try to convert BT MassSender from (BT 5.2 to WCL .NET) , so can you please answer these question:

1-what is equivalent to (BFBluetoothMassSenderX_OnNeedFile) in WCL.NET , I try to use (GetFile Event in WCL) but there is no Device Data for this event so when this event is fired I didn't know Device corresponding to this event

2-what is different between (AccepDevice) and (DevicesAccepted)

3-what is Sleep events and property are using for

4-what is (using , default value ,values rang ) for these properties:
ConnectTimeOut,MaxConnection,Sleepinterval

5-if there are any equivalent to (SendVcardStart,...) in WCL

6-if these values is right:

Const WCL_ERROR_SUCCESS = 0
Const WCL_ERROR_CANCELLED_BY_USER = 32
Const WCL_ERROR_UNABLE_CONNECT = 45
Const WCL_ERROR_TIMEOUT = 43

if  WCL_ERROR_TIMEOUT is result when user not make any action with BT Message for Time Specify in ConnectTimeOut propertie
Title: Re: MassSender
Post by: Mike Petrichenko on February 15, 2009, 01:08:04 PM
1. OnGetFile. Device is not passed as parameter to this event. Will be fixed in next update.
2. AcceptDevice fires when it requires to accept/decline device. OnDevicesAccepted fires when all devices are processed and all the accepted devices are passed to it.
3. Sleep is interval between each discover/send procedure. Sleep event fires when sleep is started.
4. Leave it as it.
5. Build vCard and send it as a file.
6. Yes.