| Reply | « Previous Thread | Next Thread » |
|
Hello all,
I am new to bluetooth programming and am quite confused with the codes...I need to transfer a .wav file from my mobile to PC(process .wav file to text) and return back a text file to the Mobile. I need to do device discovery 4 both sides that is client and server??!! i have managed to do the device discovery part that is my mobile is able to detect the bluetooth-enabled PC and vice versa... I am making use of the Bluecove package...Can anyone please advice me how i can send the .wav file to the server using OBEX?? I think there's an example but it's using avetana package...with bluecove how to do it?? Thank you all in advance.. |
|
Hi,
Best way to take a look in S60_Platform_Bluetooth_OBEX_Example found in forum Nokia. Steps: 1. Make a BT connection 2. Create an instance of CObexFileObject 3. Set the name of file to this object. 4. Call Put methods (other side should be in listening mode) Here code snippet from the example: iCurrObject = CObexFileObject::NewL(aName); TParsePtr parsePtr (aName); TPtrC ptr = parsePtr.NameAndExt(); iCurrObject->SetNameL( ptr ); iClient->Put( *iCurrObject, iStatus ); SetActive(); -Mahbub |
| mahbub_s60 |
| View Public Profile |
| Find all posts by mahbub_s60 |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| OBEX - File sending problem. | vinsofts | Symbian Networking & Messaging | 3 | 2008-02-10 09:18 |
| iPod vs. Mobile phone. Do operators have chance in the mobile entertainment battle? | wpf | General Discussion | 0 | 2007-07-16 00:06 |
| DRM for sending jar file via Bluetooth | yogesh.bhople | Digital Rights Management & Content Downloading | 0 | 2007-03-21 10:11 |
| DRM for sending jar file via Bluetooth | yogesh.bhople | Installation, Certification and Security | 0 | 2007-03-15 13:14 |
| sending of jar file from webserver to mobile phone? | jinda007 | Mobile Java Networking & Messaging & Security | 13 | 2006-11-09 12:55 |