Error -9 by using RNotifier on Nokia 6600

Login to reply to this topic.
Mon, 2005-08-15 15:12
Joined: 2005-06-08
Forum posts: 53
I am using RNotifier to select BT devive.
But when I print "Select", I get the -9 error( KErrOverflow    -9   Overflow)

Code:
    RNotifier notifier;
    User::LeaveIfError( notifier.Connect() );
 
    TBTDeviceSelectionParamsPckg selectionFilter;
TBTDeviceResponseParamsPckg aResponse;
    TRequestStatus status;

selectionFilter().SetUUID(KSerialPortUUID);

    notifier.StartNotifierAndGetResponse(
        status,
        KDeviceSelectionNotifierUid,
        selectionFilter,
        aResponse
    );

    User::WaitForRequest( status );
    notifier.Close();

Can someone help me with the code?

Mon, 2005-08-15 15:15
Joined: 2005-06-08
Forum posts: 53
Re: Error -9 by using RNotifier on Nokia 6600
Should I use RNotifier in an active object as in the normal cbase??
Tue, 2005-08-16 12:22
Joined: 2005-06-08
Forum posts: 53
Re: Error -9 by using RNotifier on Nokia 6600
should work in CBase Object.


If i replace TBTDeviceResponseParamsPckg with TBuf8<800>. I don't get the Error -9. And the programm works continue.

But How can I convert TBuf8<> to TBTDeviceResponseParamsPckg back?

Thanks
Fri, 2005-09-02 12:49
Joined: 2005-06-08
Forum posts: 53
Re: Error -9 by using RNotifier on Nokia 6600
still want to use TBTDeviceResponseParamsPckg
  • Login to reply to this topic.