| Reply | « Previous Thread | Next Thread » |
|
Hi
I'm trying to write audio application between mobile phone and PC using SCO link. On PC I wrote in Python server appplication for accepting link. But developing application for mobile phone(Nokia N80-Symbian v9.1) I've got problem mainly i follow SDK(S60 3rd)...as environment I use Carbide C++ with GCCE release compiler... here's the part of the code: //declarations TInt sampleVal=8000; TInt channelNo=1; TInt phyconnErr,sockservErr,scoconnErr; //char *desbtaddr = "00:12:d1:08:89:1a"; RSocketServ sockserv; MBluetoothPhysicalLinksNotifier *physicalnoti; MBluetoothSynchronousLinkNotifier *sconoti; CBluetoothPhysicalLinks *phyLink; CBluetoothSynchronousLink *scoLink; //opening session on server socket sockserv=RSocketServ(); sockservErr=sockserv.Connect(); //establishing physical link phyLink=CBluetoothPhysicalLinks::NewL(*physicalnoti,sockserv); phyconnErr=phyLink.CBluetoothPhysicalLinks::CreateConnection("00:12:d1:08:89:1a"); //establishing sco link on the physical link scoLink=CBluetoothSynchronousLink::NewL(*sconoti,sockserv); scoconnErr=scoLink.CBluetoothSynchronousLink::SetupConnection("00:12:d1:08:89:1a"); I'm giving the bt address in wrong way I have tried many times...can someone help me and show me the correct way )later I will be trying to use MdaAudio(Input/Output)Stream.h for stream control.. and the last thing is that when I just want to include files I also got errors: MdaAudioInputStream.h in inclusion C://Program//Symbian//9.1//S60_3rd//epoc32//include/mmf\common\mmfstandardcustomcommands.h:9: [C://Program//Symbian//9.1//S60_3rd//epoc32//include/MdaAudioInputStream.h] in inclusion C://Program//Symbian//9.1//S60_3rd//epoc32//include/MdaAudioInputStream.h:15 libc\sys\socket.h error: `size_t' has not been declared [C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h] error: ISO C++ forbids declaration of `parameter' with no type [C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h] in inclusion C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h:68 in inclusion C://Program//Symbian//9.1//S60_3rd//epoc32//include/MdaAudioInputStream.h:15 _ansi.h: No such file or directory [C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h] error: `u_short' does not name a type [C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h] error: `size_t' has not been declared [C://Program//Symbian//9.1//S60_3rd//epoc32//include/libc\sys\socket.h] do You know if there are any problems with those files??...the code compiles but Carbide doesn't create sis file when I have got included socket.h file..because it got some problems...so what's wrong with socket.h file??? what's more thre Carbide doesn't create sis file ..when I do this: RSocketServ sockserv; only after I change it to pointer : RSocketServ *sockserv; sis is created.... but everyting should be ok when sockserv would be simply variable and not pointer...can any one know why it doesn't work like that??? Thanks for all the help Magrip
Last edited by Magrip : 2006-08-28 at 21:27.
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| connection establishment bluetooth problem | Magrip | Symbian Networking & Messaging | 0 | 2006-08-28 17:04 |
| A question about bluetooth devices communication! | DaphneH | Bluetooth Technology | 5 | 2006-06-19 10:12 |
| Problem with Bluetooth | fgmez | Bluetooth Technology | 0 | 2004-05-07 11:08 |
| Bluetooth Software + mRouter problem | skunkah | Bluetooth Technology | 0 | 2003-12-09 21:52 |
| 3650 bluetooth DBT-120 communication problem. | ashok_bangher | Bluetooth Technology | 3 | 2003-06-16 15:17 |