|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
09-10-2006, 03:50 | #1 (permalink) |
Freak Poster Join Date: Nov 2004
Posts: 250
Member: 91951 Status: Offline Thanks Meter: 18 | about mscomm i write this code in vb6 Code: phoneV() as byte Mscomm1.portopen = true mscomm1.output = 'fbus frame for phone info, here using chr$(&H) 'chr$(&H1E) 'sleep for 100ms phoneV = mscomm1.input mscomm1.portopen = false |
09-10-2006, 09:16 | #3 (permalink) | |
Freak Poster Join Date: Nov 2004
Posts: 250
Member: 91951 Status: Offline Thanks Meter: 18 | Quote:
yes.. fbus frame to read phone info + senquence + xor and then send to phone right? it display in comport analyzer but when i repeat to press.. it nothing happens anymore unless you reset the phone.. br | |
09-10-2006, 16:03 | #4 (permalink) |
No Life Poster Join Date: Nov 2001 Location: England Age: 41
Posts: 2,821
Member: 7653 Status: Offline Thanks Meter: 823 | well simple thing, send the "reset phone" command before the "read info" command. if you read some docs on the dct3 m/f bus, you will see that there is a reset command sent to phone first in all case. i guess it is needed! |
09-13-2006, 08:38 | #7 (permalink) |
No Life Poster Join Date: Feb 2000 Location: UK
Posts: 3,186
Member: 1024 Status: Offline Thanks Meter: 5,510 | Hi, Reset of the protocol from time to time is the best solution for this control. But i recomend to use some custom control that you have source for, and allows manual setting of comm parameters. If i can remember corectly the ms control was not allowing proper setting of Com Timeouts, so you will have probably a lot of errors, that will accumulate eventually, and the phone will stall the session. Regards |
09-13-2006, 11:35 | #8 (permalink) |
Freak Poster Join Date: Nov 2004
Posts: 250
Member: 91951 Status: Offline Thanks Meter: 18 | sad to say but i dont have any custom control to use.. anyone have an idea with this? actually im trying to create a library file thats send and receive sms/delete sms.. so the first thing i want to know is how to connect/disconnect phone by reading phone version/imei.. i dont have problem on sending,receiving,deleting sms.. br |
09-25-2006, 09:27 | #9 (permalink) |
No Life Poster Join Date: Feb 2003 Location: Inside CPU Age: 43
Posts: 1,861
Member: 23420 Status: Offline Thanks Meter: 3,080 | here are some subs for send sequence in nokia.. Sub Launch(G As String) 'This routine will set SQ number and calc Checksum, and add it to the command Dim arrHexList() As String, i As Integer, Result As Long, realhex As String 'Set SQ numer If SQ < 10 Then SQ = 10 Else SQ = SQ + 1 End If 'Inc. SQ in command string G = G & " " & SQ 'Split command into and aray using "space" as seperator arrHexList = Split(G, " ") Result = CLng("&H" & arrHexList(0)) 'give Result the first value For i = 1 To UBound(arrHexList) 'loop from the 2nd item to the end of the list 'Xor the result so far with the next index Result = Result Xor CLng("&H" & arrHexList(i)) Next 'The actual command string + chk realhex = G & " " & Hex(Result) 'Send command to Sendhex rutine sendhex (realhex) End Sub Sub sendhex(H As String) Dim strHexList() As String Dim loop1 As Long Dim bytSend As Byte 'split the string into an array based on the space character strHexList = Split(H, " ") 'loop through each item in the array For loop1 = 0 To UBound(strHexList) 'convert the hex text into a byte bytSend = CByte("&H" & strHexList(loop1)) 'send the data main.MSComm1.Output = Chr(bytSend) Next 'loop1 End Sub |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
question about superdongle data of n-95 8gb | compue | Universalbox | 2 | 03-29-2010 15:16 |
One Question About Cruiser,pls | Gubby_J | Cruiser Suite | 2 | 03-29-2010 12:46 |
i want test comport available on my pc with vb mscomm | OTMAN-GSM | GSM Programming & Reverse Engineering | 6 | 02-14-2007 08:27 |
Help! VB, And Samsung Mobiles through IrDA and mscomm ocx | due | GSM Programming & Reverse Engineering | 0 | 09-25-2004 02:46 |
Mscomm Tutorila Or Book Needed | SoftSkiner | GSM Programming & Reverse Engineering | 2 | 02-19-2003 13:51 |
|