Hi all,
I'd like to transfer data over CSD and for that I open a comms channel with RComm. First question: why does RComm::Open not work with ECommExclusive only with ECommShared? It always returns -21 (KErrAccessDenied) when call this method with this parameter.
Anyway, I try to set the buffer size with RComm::SetReceiveBufferLength to a value and when I immediately query the new buffer length it's always 8192 regardless of what I specified previously. Even more, when I do NOT set it to anything (i.e. do not call this function) it remains 8192 regardless of what is written in SDK help: generous default is 1024. Any idea why I am not allowed to change this value?
It's as if there was another owner of the comm port in question (hence the failure for opening it in exclusive mode) that does not allow me to do anything (like setting the buffer size). This is also suggested by the name of the function with which I open the comm port: LoanDataPort. Any comments on this, can anyone confirm it?
Or any other idea?
Thanks,
Tote




