Hi, thanks for help.. so I can send a PDU message ? I try to better explain I have the full PDU message in hexadecimal format as for istance "069110090000F111000A9210299232900004AA0C486F772061726520796F753F" how can send this to the reciever number ? should I decode it first ? extract the reciever number and get the payload ? and then send to the reciever as I already done so :
msg = new org.smslib.OutboundMessage(number, payload); srv.sendMessage(msg); and if PDU is a default protocol I send the message as if I use the AT+CMGS=<length> command ? Il giorno mercoledì 11 luglio 2012 11:53:04 UTC+2, T.Delenikas ha scritto: > > Hi, > > This is how SMSLib works. PDU is the default protocol, but you don't have > access to the PDU data - this is done internally according to the contents > of the message. > > On Wednesday, July 11, 2012 10:55:23 AM UTC+3, Bule wrote: >> >> Hi, thanks for answer, >> you are right what I am tryng to do is to send a PDU message as I can do >> with AT command >> >> AT+CMGS=<length of pdu> >> enter >> >PDU MESSAGE with phone number inside ctrl+z >> >> >> >> How can I do this with smslib? >> >> thanks >> >> Il giorno lunedì 9 luglio 2012 19:36:47 UTC+2, T.Delenikas ha scritto: >>> >>> PDU is not necessarily binary. >>> I think you should try the OutboundBinaryMessage class... >>> >>> >>> On Wednesday, July 4, 2012 5:26:28 PM UTC+3, Bule wrote: >>>> >>>> Hi all, I am using smslib (c# version) I would like to know how to send >>>> a PDU (binary) sms .. >>>> to send a standard (TEXT) sms I use the follwing code: >>>> >>>> msg = new org.smslib.OutboundMessage(number, text); >>>> srv.sendMessage(msg); >>>> >>>> How to send a PDU message ? >>>> thanks a lot. >>>> >>> -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/950zeFXTQCIJ. 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.
