The ports Jeff told you can be set the the setDstPort() method of the
outbound message.

On Feb 16, 9:10 am, chandru <[email protected]> wrote:
>         I am using Nokia 6610 mobile as a modem, in smslib there is no
> specification for sending binary sms with that port number
> u specified above.
>
>      When i send binary sms in hexa decimal format to any lower end
> nokia mobile, it is receivig as alphabets and symbols. But i
> send to any higher end nokia model the mobile was hanged. In samsung
> it is receiving as a empty flash message. How can i overcome
> this problem
>
>        Tell me which format i want to send binary sms and what are all
> i want to focus fro sending binary sms.
>
> On Feb 13, 5:41 pm, Jeff <[email protected]> wrote:
>
> > This is taken from theSony EricssonJ2ME documentation
>
> > Port number         Description
> > 0                         Internal system use
> > 650                     General obex
> > 2948-2949           WAP
> > 5505                   PM ringtone (NokiaSmart Messaging)
> > 5506                   PM Logo (NokiaSmart Messaging)
> > 5507                   PM Icon (Nokia Smart Messaging)
> > 5514                   Picture message (Nokia Smart Messaging)
> > 9200-9207           WAP
> > 16733                 Calendar
> > 16987                 Email notification
> > 16988                 Email account setting
> > 49996-49997       WAP provisioning
> > 49999                 WAP provisioning
>
> > On Feb 13, 8:30 pm, Jeff <[email protected]> wrote:
>
> > > You need to set the port numbers to the values required by picture
> > > messages.
>
> > > On Feb 12, 8:04 pm, chandru <[email protected]> wrote:
>
> > > > Hi,
>
> > > >        I need to send a picture message, is it possible to send
> > > > through binary sms.
>
> > > >     I have tried in this way, i am not clear in that
>
> > > >                          byte[] byt = {0x004a, 0x003c, 0x006d, 0x003f,
> > > > 0x005e};
> > > >                         obmsg = new 
> > > > OutboundBinaryMessage("+91xxxxxxxx", byt);
> > > >                         srv.sendMessage(obmsg);
>
> > > >    Message have been sent, i got the result like this
>
> > > >                        Gateway Id: modem.com4
> > > >  Encoding: 8-bit
> > > >  Date: Thu Feb 12 17:11:49 IST 2009
> > > >  SMSC Ref No: 67
> > > >  Recipient: +919xxxxxxxxx
> > > >  Dispatch Date: Thu Feb 12 17:11:57 IST 2009
> > > >  Message Status: SENT
> > > >  Validity Period (Hours): -1
> > > >  Status Report: false
> > > >  Source / Destination Ports: -1 / -1
> > > >  FlashSMS: false
> > > >  Binary: 4A3C6D3F5E
> > > > ===========================================================================
> > > >  ====
>
> > > > Now Sleeping - Hit <enter> to terminate.
>
> > > > I received message in mobile like this
>
> > > >       J<m?^
>
> > > >        Please anyone give the solution for this, its very urgent
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/SMSLib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to