i am developed gateway application which receive binary sms ( 8 bit
encoding ) and configure server according to that , it is worked fine
using J2ME but same i want to develop with windows mobile , any one can
help on how to send binary msg using windows mobile.

Re: binary sms by Laksa

Laksa
Wed Sep 20 12:00:22 CDT 2006


<surana.ajay@gmail.com> wrote in message
news:1158744450.658596.20910@k70g2000cwa.googlegroups.com...
> i am developed gateway application which receive binary sms ( 8 bit
> encoding ) and configure server according to that , it is worked fine
> using J2ME but same i want to develop with windows mobile , any one can
> help on how to send binary msg using windows mobile.
>

Hi, are you using the J2ME build-in library for sending SMS or your own the
J2ME SMS-PDU library ?

Do some search... on "Sending SMS on windows mobile" found one of the
results...
http://www.devx.com/wireless/Article/32305/0/page/3
in dot.net managed code. Not sure it use the binary of text format..., maybe
some parameters there help.

However, if your own J2ME library is on SMS-PDU and coded for binary PDU
format as well, (very easy for Text_PDU, but much harder for Binary_PDU) you
should not have much hard-time convert it to native C++ code using embedeed
VC++ (if you do not want to use dot.net). If using this method, make sure
you able to connect to the virtual comms-port for the GSM modules also....
(and is not being opened by other program).

Rgds





Re: binary sms by surana

surana
Fri Sep 22 03:29:13 CDT 2006


hi
thnks ..


I am using J2ME in built library, which send binary sms directly.
but in .NETCF we not have much option to do same , it only use text,
GSM7 ..
encoding ,

is their some other dll or way to do same


Thanks



Laksa wrote:

> <surana.ajay@gmail.com> wrote in message
> news:1158744450.658596.20910@k70g2000cwa.googlegroups.com...
> > i am developed gateway application which receive binary sms ( 8 bit
> > encoding ) and configure server according to that , it is worked fine
> > using J2ME but same i want to develop with windows mobile , any one can
> > help on how to send binary msg using windows mobile.
> >
>
> Hi, are you using the J2ME build-in library for sending SMS or your own the
> J2ME SMS-PDU library ?
>
> Do some search... on "Sending SMS on windows mobile" found one of the
> results...
> http://www.devx.com/wireless/Article/32305/0/page/3
> in dot.net managed code. Not sure it use the binary of text format..., maybe
> some parameters there help.
>
> However, if your own J2ME library is on SMS-PDU and coded for binary PDU
> format as well, (very easy for Text_PDU, but much harder for Binary_PDU) you
> should not have much hard-time convert it to native C++ code using embedeed
> VC++ (if you do not want to use dot.net). If using this method, make sure
> you able to connect to the virtual comms-port for the GSM modules also....
> (and is not being opened by other program).
>
> Rgds


Re: binary sms by Laksa

Laksa
Fri Sep 22 10:18:54 CDT 2006


Hi,

I not sure about the build-in API 8 bit support cause I do not, look for
"SMSMessage" class property might help.
http://www.microsoft.com/downloads/details.aspx?familyid=dc6c00cb-738a-4b97-8910-5cd29ab5f8d9&displaylang=en
but the requirement...: win2003 server, vs2005... wow....

If you afford the time to do it 'hard' way, search for keyword "SMS PDU"
will help... for eg,
http://www.gsm-modem.de/sms-pdu-mode.html

Depend on your experience in windows-ce, and C/C++, it can be easy or hard
or the midst ... approximately a month of research, code and test if you are
not new in windows32 in general, windowsCE API in particular.

One thing confused for many hard-core protocol coder new to SMS protocol is
that there confused with binary-hex and hex-string on the PDU spec, myself
previously spend a month follow the spec and build up the library, but it
just "not work" (return sms sending fail) and give up for some time, but
finally just discovery the code is in hex-string, but I thread them as
binary-stream... and rectify it and immediate work as expected...
ie, if you see something like "72 38 01 00 10 F5", it is actually consist of
12 ASCII code, instead of binary 0x72,0x38.... (6 bytes).

Secondly, there are some inconsistency on the implementation on different
GSM device manufacturer...

And the last, we have to resolve how to access our GSM module, via virtual
com port ? the driver automatic activated/deactivated the device when we
open/close the comport ? how to solve the GSM module sharing with default
app ?... etc.... In short, try to avoid doing this ourself whenever
possible. There are some company offer the library, for eg, "NowSMS"
(disclaimer: I'm not from, or have any relation with it !)

In year 2000, I did code the library for in-house project use cause no
choice as on that time, windows-mobile version is still not exist yet
(windowsce/pocketpc only), no API support, no dot.net class, nor third-party
library on the market. (when I leave that company, I still have not
succesfully develop the library yet, as the reason explained above - the
binary vs string-hex issue, but later found that , but no more use for me
anymore now, so just make it an application collection for my personal
home-page download
(http://wpng.nexus-control.com/download/windowsce/smsmessenger.cab - not so
reliable, do not use it on important sms msg !)

P/S: My apologize for slightly off-topic cause this is pocketpc.developer
group, not protocol group, So I will stop here, if anyone interested in SMS
PDU, please go to protocol group...

wp


<surana.ajay@gmail.com> wrote in message
news:1158913753.179036.292800@h48g2000cwc.googlegroups.com...
>
> hi
> thnks ..
>
>
> I am using J2ME in built library, which send binary sms directly.
> but in .NETCF we not have much option to do same , it only use text,
> GSM7 ..
> encoding ,
>
> is their some other dll or way to do same
>
>
> Thanks
>
>
>
> Laksa wrote:
>
> > <surana.ajay@gmail.com> wrote in message
> > news:1158744450.658596.20910@k70g2000cwa.googlegroups.com...
> > > i am developed gateway application which receive binary sms ( 8 bit
> > > encoding ) and configure server according to that , it is worked fine
> > > using J2ME but same i want to develop with windows mobile , any one
can
> > > help on how to send binary msg using windows mobile.
> > >
> >
> > Hi, are you using the J2ME build-in library for sending SMS or your own
the
> > J2ME SMS-PDU library ?
> >
> > Do some search... on "Sending SMS on windows mobile" found one of the
> > results...
> > http://www.devx.com/wireless/Article/32305/0/page/3
> > in dot.net managed code. Not sure it use the binary of text format...,
maybe
> > some parameters there help.
> >
> > However, if your own J2ME library is on SMS-PDU and coded for binary PDU
> > format as well, (very easy for Text_PDU, but much harder for Binary_PDU)
you
> > should not have much hard-time convert it to native C++ code using
embedeed
> > VC++ (if you do not want to use dot.net). If using this method, make
sure
> > you able to connect to the virtual comms-port for the GSM modules
also....
> > (and is not being opened by other program).
> >
> > Rgds
>



Re: binary sms by surana

surana
Sun Sep 24 23:52:57 CDT 2006

hi laksa

thanks for ur suggeation & information
if u found other information regarding .Net CF Messaging
send me a mail


thanks
AKS




Laksa wrote:

> Hi,
>
> I not sure about the build-in API 8 bit support cause I do not, look for
> "SMSMessage" class property might help.
> http://www.microsoft.com/downloads/details.aspx?familyid=dc6c00cb-738a-4b97-8910-5cd29ab5f8d9&displaylang=en
> but the requirement...: win2003 server, vs2005... wow....
>
> If you afford the time to do it 'hard' way, search for keyword "SMS PDU"
> will help... for eg,
> http://www.gsm-modem.de/sms-pdu-mode.html
>
> Depend on your experience in windows-ce, and C/C++, it can be easy or hard
> or the midst ... approximately a month of research, code and test if you are
> not new in windows32 in general, windowsCE API in particular.
>
> One thing confused for many hard-core protocol coder new to SMS protocol is
> that there confused with binary-hex and hex-string on the PDU spec, myself
> previously spend a month follow the spec and build up the library, but it
> just "not work" (return sms sending fail) and give up for some time, but
> finally just discovery the code is in hex-string, but I thread them as
> binary-stream... and rectify it and immediate work as expected...
> ie, if you see something like "72 38 01 00 10 F5", it is actually consist of
> 12 ASCII code, instead of binary 0x72,0x38.... (6 bytes).
>
> Secondly, there are some inconsistency on the implementation on different
> GSM device manufacturer...
>
> And the last, we have to resolve how to access our GSM module, via virtual
> com port ? the driver automatic activated/deactivated the device when we
> open/close the comport ? how to solve the GSM module sharing with default
> app ?... etc.... In short, try to avoid doing this ourself whenever
> possible. There are some company offer the library, for eg, "NowSMS"
> (disclaimer: I'm not from, or have any relation with it !)
>
> In year 2000, I did code the library for in-house project use cause no
> choice as on that time, windows-mobile version is still not exist yet
> (windowsce/pocketpc only), no API support, no dot.net class, nor third-party
> library on the market. (when I leave that company, I still have not
> succesfully develop the library yet, as the reason explained above - the
> binary vs string-hex issue, but later found that , but no more use for me
> anymore now, so just make it an application collection for my personal
> home-page download
> (http://wpng.nexus-control.com/download/windowsce/smsmessenger.cab - not so
> reliable, do not use it on important sms msg !)
>
> P/S: My apologize for slightly off-topic cause this is pocketpc.developer
> group, not protocol group, So I will stop here, if anyone interested in SMS
> PDU, please go to protocol group...
>
> wp
>
>
> <surana.ajay@gmail.com> wrote in message
> news:1158913753.179036.292800@h48g2000cwc.googlegroups.com...
> >
> > hi
> > thnks ..
> >
> >
> > I am using J2ME in built library, which send binary sms directly.
> > but in .NETCF we not have much option to do same , it only use text,
> > GSM7 ..
> > encoding ,
> >
> > is their some other dll or way to do same
> >
> >
> > Thanks
> >
> >
> >
> > Laksa wrote:
> >
> > > <surana.ajay@gmail.com> wrote in message
> > > news:1158744450.658596.20910@k70g2000cwa.googlegroups.com...
> > > > i am developed gateway application which receive binary sms ( 8 bit
> > > > encoding ) and configure server according to that , it is worked fine
> > > > using J2ME but same i want to develop with windows mobile , any one
> can
> > > > help on how to send binary msg using windows mobile.
> > > >
> > >
> > > Hi, are you using the J2ME build-in library for sending SMS or your own
> the
> > > J2ME SMS-PDU library ?
> > >
> > > Do some search... on "Sending SMS on windows mobile" found one of the
> > > results...
> > > http://www.devx.com/wireless/Article/32305/0/page/3
> > > in dot.net managed code. Not sure it use the binary of text format...,
> maybe
> > > some parameters there help.
> > >
> > > However, if your own J2ME library is on SMS-PDU and coded for binary PDU
> > > format as well, (very easy for Text_PDU, but much harder for Binary_PDU)
> you
> > > should not have much hard-time convert it to native C++ code using
> embedeed
> > > VC++ (if you do not want to use dot.net). If using this method, make
> sure
> > > you able to connect to the virtual comms-port for the GSM modules
> also....
> > > (and is not being opened by other program).
> > >
> > > Rgds
> >