×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2006
    Posts
    19

    Carbide symbian 9.1 application problem

    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...
    Last edited by Magrip; 2006-09-04 at 13:07.

  2. #2
    Nokia Developer Expert
    Join Date
    Dec 2004
    Location
    Austin, TX
    Posts
    399

    Re: Carbide symbian 9.1 application problem

    I think the error 1 is that the file does not exist. You need to check the Problems view for the actual build error or Console for the command-line that is producing the errror and provide more info from that. Hard to tell exacly what's causing the acutal error without seeing the command-line and full error message.

    Thanks,
    Tim

Similar Threads

  1. Replies: 3
    Last Post: 2007-07-31, 13:08
  2. Replies: 3
    Last Post: 2006-08-11, 13:19
  3. Problem application UI!!!
    By rubicita in forum Mobile Java General
    Replies: 3
    Last Post: 2005-09-21, 19:12
  4. Replies: 0
    Last Post: 2005-09-08, 15:04
  5. Replies: 0
    Last Post: 2004-05-21, 11:16

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×