Click here to Skip to main content
15,922,533 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VB6 supported until 2008 [edit] Pin
Mitch F.6-Apr-05 7:21
Mitch F.6-Apr-05 7:21 
GeneralClearing the Values in Combo Box Pin
Anonymous5-Apr-05 10:53
Anonymous5-Apr-05 10:53 
GeneralNeed Help Pin
Anonymous5-Apr-05 5:51
Anonymous5-Apr-05 5:51 
GeneralRe: Need Help Pin
Dave Kreskowiak5-Apr-05 6:23
mveDave Kreskowiak5-Apr-05 6:23 
GeneralRe: Need Help Pin
Colin Angus Mackay5-Apr-05 6:24
Colin Angus Mackay5-Apr-05 6:24 
GeneralProblem in VB 6.0 Pin
sams_eee5-Apr-05 5:02
sams_eee5-Apr-05 5:02 
GeneralRe: Problem in VB 6.0 Pin
Dave Kreskowiak5-Apr-05 6:09
mveDave Kreskowiak5-Apr-05 6:09 
GeneralSend SMS in PDU format Pin
bgm22915-Apr-05 3:47
bgm22915-Apr-05 3:47 
I am working on a program in VB.Net which reads and send SMS via a modem (Brand is iTegno) which has a normal mobile phone SIM card. Sending and reading of SMS in English is working.

Receiving SMS with Chinese text is also solved by decoding the text received. However, I have not been able to send SMS in Chinese. My research on this issue reveals that I have to sent the SMS in PDU format. I managed to go as far as sending(using AT commands) the message length. I get a response Invalid PDU parameters on sending the message. Would appreciate if someone can identify what is causing the error. Here is what my program is doing:-

Step #1
Send command "AT+CMGF=0" + chr(13) 'to indicate PDU format
Gets a repsonse "OK"

Step #2
Send command "AT+CMGS=16" + chr(13)
Gets a repsonse ">"

Notes:
16 is the length from 11|00|0B|91|06|21|13|69|16|F7|00|08|AA|02|4E|2D sent in Step #3

Step #3
Send a string containing the hexadecimal values
11|00|0B|91|06|21|13|69|16|F7|00|08|AA|02|4E|2D + chr(26)
Gets a repsonse ""+CMS ERROR: 304".
304 is error code for Invalid PDU mode parameter

Notes:
00|11|00
SMSC Center Address | Message Flag | Message Reference Number

0B|91|06|21|13|69|16|F7 – Destination Address
11 Digits | International Number | Phone Number 60123196617

00|08|AA
Protocol identifier | Data Coding Scheme(Chinese UCS2) | Validitity Period

02|4E|2D – User Data
2 pairs | Message '中'



bgm2291
GeneralRe: Send SMS in PDU format Pin
Dave Kreskowiak5-Apr-05 5:57
mveDave Kreskowiak5-Apr-05 5:57 
GeneralRe: Send SMS in PDU format Pin
Anonymous5-Apr-05 6:46
Anonymous5-Apr-05 6:46 
GeneralWave file property in vb Pin
accessnetwork5-Apr-05 1:38
accessnetwork5-Apr-05 1:38 
GeneralRe: Wave file property in vb Pin
Anonymous5-Apr-05 7:22
Anonymous5-Apr-05 7:22 
QuestionHow to Inherit DataColumnCollection Pin
Prakash Chajer5-Apr-05 0:49
Prakash Chajer5-Apr-05 0:49 
Generalpackage and deployment wizard Pin
Salman Sheikh4-Apr-05 23:12
Salman Sheikh4-Apr-05 23:12 
GeneralSWF files Pin
Mr Dabbah4-Apr-05 22:42
Mr Dabbah4-Apr-05 22:42 
GeneralRe: SWF files Pin
Dave Kreskowiak5-Apr-05 5:52
mveDave Kreskowiak5-Apr-05 5:52 
Generalbuild trial appication Pin
samithaslk4-Apr-05 22:33
samithaslk4-Apr-05 22:33 
Generalhav an error tag for DBGrid Pin
Member 13879124-Apr-05 22:00
Member 13879124-Apr-05 22:00 
GeneralRe: hav an error tag for DBGrid Pin
Dave Kreskowiak5-Apr-05 3:45
mveDave Kreskowiak5-Apr-05 3:45 
Generaldynamically create picture control with tab Pin
shinay4-Apr-05 16:42
shinay4-Apr-05 16:42 
GeneralRe: dynamically create picture control with tab Pin
Dave Kreskowiak5-Apr-05 5:46
mveDave Kreskowiak5-Apr-05 5:46 
GeneralHelp ASAP Uploading pdf files in web server or database Pin
Anonymous4-Apr-05 16:25
Anonymous4-Apr-05 16:25 
GeneralRe: Help ASAP Uploading pdf files in web server or database Pin
Dave Kreskowiak5-Apr-05 3:35
mveDave Kreskowiak5-Apr-05 3:35 
GeneralListbox Pin
rstat14-Apr-05 15:05
rstat14-Apr-05 15:05 
GeneralRe: Listbox Pin
Dave Kreskowiak5-Apr-05 3:28
mveDave Kreskowiak5-Apr-05 3:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.