|
Question : WDP SMS port issue on winCE for Smartphone
|
|
I want to first write a test program, like that used in the example, WDP_SMS.
>// Number to send/receive data >// REPLACE WITH THE SMS NUMBER OF THE DEVICE RUNNING >THE SAMPLE >const TCHAR c_szAddress[] = TEXT("+8613812345678");
What number and format should I put here? What is the common format here?
Also, in the Main(),
> DWORD dwSenderPort = 1234; > DWORD dwReceiverPort = 1235;
What port number? Are they SMS ports or cellphone ports? These are not the right ports. I cannot connect to the network, and s/r data. I'm using WDP (wireless datagram protocol) to send/recive data on a SMS number (phone number).
Thank you for your help.
|
Answer : WDP SMS port issue on winCE for Smartphone
|
|
Easy bit
"What number and format should I put here? What is the common format here?"
The best is in international format. +number>. You can use national numbers which then start with zero and local numbers (sometimes). But the international format MUST be supported by ALL telcos, so I'd use that.
Ports.
I'll think about that one!
|
|
|
|