Hi,
Day after day i am hating Symbian more and moreWhy do they keep making things more difficult??!!
I have a Bluetooth Client/Server engine implemented for S60 3 FP1 and it worked fine. Now i am trying to use it on S60 5 but apparently Symbian has introduced a compatibility break to RSocket::Open(). Let me explain what i am doing:
When this code is executed, the prtcldesc family is set to 257 (after looking in the different sock headers i think this means KSolInetIcmp), and prtcldesc socktype is 1 (KProtocolInetIcmp). But the application gives an error when RSocket::Open is called with a message saying "Unable to execute file for security reasons".Code:// load RFCOMM protocol TProtocolDesc prtcldesc; User::LeaveIfError(iSocketServ.FindProtocol(KRfcomm(), prtcldesc)); // open a socket User::LeaveIfError(iListenSock.Open(iSocketServ, prtcldesc.iAddrFamily, prtcldesc.iSockType,KRFCOMM)); // then the BT socket code comes next but never reached because of the Leave...
According to RSocket::Open documentation in Symbian 9.4 SDK it seems that the use of KProtocolInetIcmp requires NetworkControl capability which requires open signing with publisher id!!!!! WHY SYMBIAN WHY???
Have i missed something here? Am i just mixing things up? Please give me any comments you may have...
regards
AF

Why do they keep making things more difficult??!!


