Nokia Connectivity Framework - how to send SMS to emulator?
| Sun, 2006-05-14 00:19 | |
|
I've installed the Nokia Connectivity Framework (NCF) 1.2 and tried to send an SMS to my emulator. What I did is:
1. Dragged the emulator into the workspace. 2. Pressed "run" to make it run. 3. Dragged an SMS message from the messages part on the product icon. The last step added the SMS message's name beneath the emulator icon. Nonetheless I couldn't find the message in the messages' inbox of the emulator. I also tried opening another emulator and tried sending an SMS message from one to another (using their phone numbers marked after the "MS:" label beneath their emulator icon). Still IU couldn't see the message in the inbox. I must mention I appear to have enabled SMS messages in the eulators since an "SMS: 55512350" label appeared beneath the phone emulator icon. Could you tell me what am I doing wrong? |
|






Forum posts: 58
You should use SMSC( message center - which has a number as ordinary message center number also) which is there in the NCF . You can add this also from NCF it self and run it along with emulators. And in the place of message center number on emulator message settings you should add the number shown under the SMSC.
Hope this may solve yoyur problem.
Regards.
Forum posts: 23
Thanks for your help but still I don't seem to be able to receive the message in the emulator.
Maybe I'm missing something - how exactly do you send a message so that the EPOC emulator would receive it? I simply opened two emulators and send an SMS message (after I've configured the SMS center as Peter advised in BOTH emulators) from one to another. Is there anything wrong with this way? Is there another way I should try?
By the way, is there a way to open two instances of the same kind of emulator (because now I need to open two different versions of the EPOC emulator)? This may help me since one of the emulator seems to be able to send the message (outbox gets cleared and sent folder holds the sent SMS) while the other has trouble (outbox gets filled with old suspended SMS-s and the last try always gets retried after failing and the sent folder is always empty) - so maybe two instances of the first emulator (that seems to be able to send SMS-s) may work ok.
Another way to help me might be if someone could send me an environment file that works on your computer using an EPOC emulator (Series 60 SDK 1.2 preferred) and tell me exactly what I should do there.
Thanks in advance!
Forum posts: 58
Did you add SMSC?. If not add it and try agin.
In you NCF Menu, Under technology you have BT , SMS, MMS...Right?.
Then is there any server like thing under SMS along with the device listing.
If not right click on the SMS . Then you will get a menu as "addProduct integration" click on that. You will get a list of products..Then check the check box for SMSC and then complete that integration. Now you will get SMSC along with the sdk listing on NCF under SMS. While you starting the emulators you should also need to tart SMSC also ..
By the way, is there a way to open two instances of the same kind of emulator (because now I need to open two different versions of the EPOC emulator)? This may help me since one of the emulator seems to be able to send the message (outbox gets cleared and sent folder holds the sent SMS) while the other has trouble (outbox gets filled with old suspended SMS-s and the last try always gets retried after failing and the sent folder is always empty) - so maybe two instances of the first emulator (that seems to be able to send SMS-s) may work ok.
I did'nt tried yet with two instances of the same SDK.
Regards,
Peter.
Forum posts: 23
Sorry if I wasn't clear.
I DID add the SMSC and configured everything as you offered - but still couldn't receive a message.
Could you help me with this question:
If I drag an SMS message (from the "messages") onto the emulator icon (ad thus the SMS name appears beneath the emulator icon) - shouldn't this appear as a message in my emulator inbox? If not - what does this mean?
Another question: if you go to the specific emulator right click and choose "product properties" and then choose the technology tab - what "communication technology" and "content type" should I choose?
Forum posts: 62
regards
Badshah
Forum posts: 23
Thanks for your file. But...
It appears that I don't have the FP2 emulator. Moreover, the FP3 emulator gets stuck even before fully loading.
So...
I attached my failing environment file so that you could browse through it and tell me what I am doing wrong.
Keep in mind, that each time you load this file you need to configure the SMS center numbers to the new number the environment has assigned to the SMSC (as shown beneath the SMSC icon in the NCF workspace). This is what I do every time since I haven't found a way to automate it so that it would readjust to the different phone numbers the NCF gives all components each time it loads an environment (can these phone numbers be set as constants???).
By the way - as I mentioned before it maybe that there's something wrong only with one of the emulators (the one that doesn't appear to be able to send...) - so I would appreciate if someone could tell me how could I run two instances of the same emulator at once since this might do the trick for me as well.
Thanks in advance for everyone trying to help!