Hi when I write my application for Bluetooth audio communication I've got ERROR compile problem concenring BCS.sym file (BCS is the name of my project) I'm testing my app on the Nokia N80 phone and not on the simulator.
the error is:
BCS.sym Error 1 does somebody knows it means this ERROR 1??
there is also problem with this line in pkg file
"$(EPOCROOT)\Epoc32\release\$(PLATFORM)\$(TARGET)\BCS.exe" -"!:\sys\bin\BCS.exe" Error 1
but when I hash this line out of the pkg file the code compiles and only sym file error remains...
When I want to install the app on the phone the installation almost succeedes -I mean I acknowledge everything and when I see that installation proccess is almost over (the horizontal installation line has ended) it stops and the "Unable to install" communicate shows up and that the end...
Probably this installation proccess is connected to this Error 1...???
1. So can somebody write me what this Error 1 means..
2. And maybe because of what such pop up ->"Unable to install" shows up
3. Those files BCS.exe and BCS.sym..what for are those files??
Thanks for help
This is the part of the code which causes that:
include files:
bt_sock.h
es_sock.h
MdaAudioInputStream.h
MdaAudioOutputStream.h
Mda\Common\Audio.h
declarations:
TInt phyconnErr,sockservErr,scoconnErr,addrErr;
TDes8 *inBuf;
MBluetoothPhysicalLinksNotifier *physicalnoti;
MBluetoothSynchronousLinkNotifier *sconoti;
TBTDevAddr dA;
RSocketServ *sockserv;
TMdaPackage *aSetti;
CBluetoothPhysicalLinks *phyLink;
CBluetoothSynchronousLink *scoLink;
MMdaAudioInputStreamCallback *callbacknotifier;
CMdaAudioOutputStream *outputstream;
CMdaAudioInputStream *inputstream;
code:
//open socket server
sockserv=new ( ELeave ) RSocketServ();
sockservErr=sockserv->RSocketServ::Connect();
//bt address to which connect to translated into dev. address
dA.TBTDevAddr::SetReadable(_L("0012d108891a"));
//establishing physical link
phyLink=CBluetoothPhysicalLinks::NewL((*physicalnoti),(*sockserv));
phyconnErr=phyLink->CBluetoothPhysicalLinks::CreateConnection(dA);
//establishing SCO link
scoLink=CBluetoothSynchronousLink::NewL((*sconoti),(*sockserv));
scoconnErr=scoLink->CBluetoothSynchronousLink::SetupConnection(dA);
//sending data from microphone through SCO link
inputstream=CMdaAudioInputStream::NewL(*callbacknotifier,EMdaPriorityMax,EMdaPriorityPreferenceTimeAndQuality);
inputstream->CMdaAudioInputStream::SetAudioPropertiesL(8000,1);
inputstream->CMdaAudioInputStream::Open(aSetti);
inputstream->CMdaAudioInputStream::ReadL(*inBuf);
scoLink->CBluetoothSynchronousLink::Send(*inBuf); ---without a loop for now, just to do it even once - I mean connect SCO and so on...



