Hi,
i try to send a bluetooth mesage to a know device. I use this code:
but inside if application give me that is not valid.Code:#define KBT_serviceID 0x10ff TUid serviceUid; serviceUid.iUid = KBT_serviceID; TSendingCapabilities capa( 0, 1024, TSendingCapabilities::ESupportsAttachments ); //TSendingCapabilities capa; iSendUi->ServiceCapabilitiesL( serviceUid, capa ); //iSendUi->ShowQueryAndSendL( messageData ); //CreateAndSendMessageL( TUid aServiceUid, const CMessageData* aMessageData, TUid aBioTypeUid, TBool aLaunchEditorEmbedded ) if(iSendUi->ValidateServiceL(serviceUid,capa)) { iSendUi->CreateAndSendMessageL(serviceUid,messageData); } else { CEikonEnv::Static()->AlertWin(_L("not valid"), path); }
Where is the mistake?
What is the method of CSendUi to set the address to bluetooth device??
Many thanks
Silvia





