GSM Shop GSM Shop
GSM-Forum  

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 .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 06-10-2010, 12:16   #31 (permalink)
Freak Poster
 
Join Date: Mar 2009
Posts: 234
Member: 984268
Status: Offline
Thanks Meter: 150

Quote:
Originally Posted by calvinpower View Post
its grateful that u have provided me with such a beatiful and simple tutorial. i was in search of such tutorial for long a time.
I have managed to add a progressivebar and a timer. I am about to start prepairing gsm AT commands like read imei, firmware version, model , make and so forth. please guide me how to send all AT commands at once. and please can you give me AT commands for " read security code, write flash etc...etc..
hehe there are no at commands for write flash / read security code
  Reply With Quote
Old 06-10-2010, 13:51   #32 (permalink)
No Life Poster
 
calvinpower's Avatar
 
Join Date: Jul 2002
Location: Tanzania
Posts: 1,062
Member: 14229
Status: Offline
Thanks Meter: 135
can this (JAU Delphi Sources) be converted to vb ? or c++
  Reply With Quote
Old 11-09-2010, 13:17   #33 (permalink)
No Life Poster
 
adityajha's Avatar
 
Join Date: Dec 2009
Location: siliguri,india
Age: 31
Posts: 665
Member: 1183572
Status: Offline
Thanks Meter: 203
HOW to get device id in VB 2008,bcz in this code only available com port is showing but my question is how i get dtail of attached device or how to filter proper device by serial port in vb 2008.
  Reply With Quote
Old 11-10-2010, 09:34   #34 (permalink)
No Life Poster
 
Dave.W's Avatar
 
Join Date: Nov 2001
Location: England
Age: 41
Posts: 2,821
Member: 7653
Status: Offline
Thanks Meter: 823
Quote:
Originally Posted by adityajha View Post
how to filter proper device by serial port in vb 2008.
- Get list of all ports
- Send a command with known response to each port in turn
- Monitor response.

For example send AT command "AT?" to each port. If Returned data is "ATOK" then you know is connected an AT compatible device. If not then try next port.

Now you can check identity of connected device.

Good luck.
  Reply With Quote
The Following User Says Thank You to Dave.W For This Useful Post:
Old 11-10-2010, 09:46   #35 (permalink)
No Life Poster
 
adityajha's Avatar
 
Join Date: Dec 2009
Location: siliguri,india
Age: 31
Posts: 665
Member: 1183572
Status: Offline
Thanks Meter: 203
Quote:
Originally Posted by Dave.W View Post
- Get list of all ports
- Send a command with known response to each port in turn
- Monitor response.

For example send AT command "AT?" to each port. If Returned data is "ATOK" then you know is connected an AT compatible device. If not then try next port.

Now you can check identity of connected device.

Good luck.
thanks 4 ur reply i kno what u r saying but i want proper device name in combo box.we r using AT for check which port is connected ,but i want list of all connected device .

New Microsoft Word Document.doc

can u got my topic and give me pfoper command for that.
  Reply With Quote
Old 11-10-2010, 10:07   #36 (permalink)
No Life Poster
 
Dave.W's Avatar
 
Join Date: Nov 2001
Location: England
Age: 41
Posts: 2,821
Member: 7653
Status: Offline
Thanks Meter: 823
There is no such thing like that using serial ports. You must study how to use USB. You can find source by fr3nsis in the fourm, it will help you.

Good luck.
  Reply With Quote
The Following 2 Users Say Thank You to Dave.W For This Useful Post:
Old 05-07-2011, 09:57   #37 (permalink)
Junior Member
 
Join Date: May 2011
Posts: 1
Member: 1571343
Status: Offline
Thanks Meter: 0
Hello,

I know it has being a long time since this post was created, but I am trying to communicate with an Encoder using Silicom Lab CP210X USB/UART bridge , at first I use a RS 232 class , couldn't get any reply from the encoder ( The hardware is good as the hotel is using it during the day with the C++ application who come with it) , then I tried AnySerialPOrt , a very nice C# app written by Orhan who let you build driver for serial port, still no reply, the format in which the string has to be sent is at follow.

The EIA RS232C standard interface is employed to connect ADEL interface network system with the hotel management system.
3.1.2 Data Format

Data format: 1 start bit, 1 end bit, 8 data bits, no verification; The communication rate is from 2400bps to 19200bps.
3.2 Data Protocol

3.2.1 Control Character

STX (0x02):Tag the beginning of the data.
ETX (0x03): Tag the end of the data.
ENQ (0x05): Test the connection.
ACK (0x06): Response to the end which transmits the data and show that the transmitted data is correct.
NAK (0x15): Response to the end which transmits the data and show that the transmitted data is wrong.
RS (0x1E): Tag the beginning of the new field (region) and is followed by the field identification code.
3.2.2 Information Format

Information format: <STX>ddssff[data]<ETX>cc
When the receiving end gets the information complying with the above format, it will respond with “ACK” if the calculated verification is same as the received verification. Otherwise, it will respond with “NAK”. The above responses (ACK and NAK) are applied to check the data integrality. They show neither the data content nor whether the execution result is right or wrong.

Information Field
Description
dd
Destination address, target (client) address
ss
Source address which tags the information source
ff
Command or answer code
[data]
Data region (optional)
Destination address:
2-byte; virtual value: 00 to 99. Receive the information destination address or designate the client end to execute the commands.
Source address:
2-byte; virtual value: 00 to 99 (00 is reserved by the system). Tag the information source.
Command code:
1 byte ASCII code. Specify the command to be executed.

Check character:
2-byte;
Algorithm: Use 0x00 as the seed to do XOR with all the data after STX. The result of each XOR will be used as the new seed for the next XOR. The final 1-byte result will be transformed into a 2-byte hexadecimal ASCII code.
Example:
STX
0x30
0x39
0x52
ETX
C1
C2

First calculation: 0x00 XOR 0x30 = 0x30
Second calculation: 0x30 XOR 0x39 = 0x09
Third calculation: 0x09 XOR 0x52 = 0x5B
Forth calculation: 0x5B XOR 0x03 = 0x58
Verification code of the first byte (C1): 0x5 ->ASCII 5 = 0x35
Verification code of the second byte (C2): 0x8 ->ASCII 8 = 0x38

/////////////////////////////////

I build the HEX convert module to XOR the data, when I send a string like <STX>0103E<ETX>CC, I expect a ACK or NAVK back if my dta is incorrect , but herre nothing, just:
=======================
<20110403184211.296 SYS>
Set timeouts: ReadInterval=100, ReadTotalTimeoutMultiplier=2000, ReadTotalTimeoutConstant=2000, WriteTotalTimeoutMultiplier=0, WriteTotalTimeoutConstant=0
<20110403184251.335 SYS>
Purge the serial port: RXCLEAR, TXCLEAR
<20110403184257.523 TX>
<STX>0103E<ETX>44
<20110403184439.616 SYS>
COM port is closed

======================

when checking with a serial monitor the data TX and TX to the enocder from the C encoder software I get those stange ASCSII char :

===================
000043: I/O Request (UP), 29.03.2011 16:47:51.090 +0.0
IOCTL_SERIAL_PURGE: Purge requests
000044: Write Request (DOWN), 29.03.2011 16:47:51.090 +0.0
Buffer size: 0x16 bytes
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 7E ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙~
FF 00 DF 0B 17 7E ˙.ß..~
000049: Read Request (UP), 29.03.2011 16:47:51.121 +0.0
Buffer size: 0x1 bytes
Status: 0x00000000
7E
...ETC>>>>>>>>>>>>>
==================

I think this is coming from the silicom Lab bridge ...

I would appreciate any ideas or suggestion or if anyone has worked with Silicom lab bridge before ..
Cheer's

Alan
  Reply With Quote
Old 05-17-2011, 10:08   #38 (permalink)
Crazy Poster
 
Join Date: Oct 2006
Location: india
Age: 38
Posts: 55
Member: 377644
Status: Offline
Thanks Meter: 7
problem in activating com port through usb to com port converter can u pls guide anyone
  Reply With Quote
Old 05-20-2011, 19:30   #39 (permalink)
Cheater -Don't Deal with him-
 
::gsmcoder::'s Avatar
 
Join Date: Aug 2005
Location: /%%temp%%.;adb
Posts: 3,652
Member: 172434
Status: Offline
Sonork: 100.161280
Thanks Meter: 577
waooooooooooooooo i have modified the string to send fbus commands, perfect, thanks dev, my programming skills are advancing
  Reply With Quote
Old 05-20-2011, 19:31   #40 (permalink)
Cheater -Don't Deal with him-
 
::gsmcoder::'s Avatar
 
Join Date: Aug 2005
Location: /%%temp%%.;adb
Posts: 3,652
Member: 172434
Status: Offline
Sonork: 100.161280
Thanks Meter: 577
Quote:
Originally Posted by calvinpower View Post
can this (JAU Delphi Sources) be converted to vb ? or c++
working perfect in vb, tested by me
  Reply With Quote
Old 06-30-2011, 13:28   #41 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 1
Member: 1607490
Status: Offline
Sonork: shogaku forallo
Thanks Meter: 0
how to read data from serial port:
sir i have a problem in receiving data through serial port . i have project in i have to receive
voltage value through serial port please help me and send coding in vb.net
Thanks in advance...............
  Reply With Quote
Old 08-26-2011, 12:07   #42 (permalink)
Junior Member
 
Join Date: Aug 2011
Posts: 3
Member: 1642782
Status: Offline
Thanks Meter: 0
In fact dr dre beats studio headphones, the new school days in *******, shandong dongying city in a school in heilongjiang, Harbin minjiang elementary school... Many Chinese school Red dr dre headphones, has a garden and the elements. Even some school brand edge is hung with "Chinese garden" and signs.
Many of the details of the book became a classic case of education workers, some teachers will take classmates said to "ZhangDouDou" folding headphone, "WangDouDou", most of the bad character called "steel beans".
But SunYunXiao and bestseller, "the good mother is better than a good teacher," the author of YinJianLi all say "China is not true top studio headphones," the garden.
  Reply With Quote
Old 10-14-2011, 05:00   #43 (permalink)
Junior Member
 
Join Date: Oct 2011
Posts: 2
Member: 1671777
Status: Offline
Thanks Meter: 0
[img]http://www.mercurialvaporsuperflyii.com/images/****-mercurial-superfly-iii-fg/****-mercurial-vapor-superfly-iii-fg-red-gold-no02011015-********-boots.jpg[/img]
**** Mercurial Vapor Superfly Iii Fg Red Gold No02011015 Footbrawl Boots,****** AdiPURE IV
Next up in the band of inaperture analysiss is the **** PWR-C 3.10. The abilityCat alternation is advised with one affair in apperception,****** Absolado X, power. And this PWR-C 3.10 absolution avalanche appropriate in line with the tchamp. The big account to this recharter is that **** accumulate it at an allowable amount while ensuring you get a top akin of backbone and achievement. For analysising, **** beatific over a brace of the Babridgement/White/Aged Silver blushway.
It took best than I would accept adapted to get these calm ***** torn in. The solebowl in accurate proved to be boxy, with a annealed activity from the aboriginal affair cutting them. I concluded up wearing them about as an accustomed shoe in an attack to alleviate them up. Size astute,****** F50 Adizero, these are not acceptable for advanced bottomed amateurs. If you attending at the cossack from aloft, it absolutely anchorage in on the toes crbistro a actual bound fit. This aswell accepted to actualize a claiming thasperous tebite &n43760f1ba35dc394eb55fbairn117d5ef; my admonition is to in fact adjustment up a bisected-admeasurement to enabiding you get a added adequate fit.
  Reply With Quote
Old 10-24-2011, 00:32   #44 (permalink)
Freak Poster
 
Spoochy's Avatar
 
Join Date: May 2003
Location: Norway
Posts: 253
Member: 28045
Status: Offline
Thanks Meter: 18
Wake up Dave. Two spammers needed to be killed.
  Reply With Quote
Old 03-24-2012, 00:51   #45 (permalink)
Freak Poster
 
Darkensser's Avatar
 
Join Date: Jan 2012
Location: USA
Posts: 135
Member: 1709479
Status: Offline
Sonork: Darkensser
Thanks Meter: 90
Wwwaaoo nice post... Thanks!!! VB.NET ADVANCED!
  Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
free video tutorial for VB.net Mind Power GSM Programming & Reverse Engineering 6 10-07-2011 20:08
how to read Cyberflex e-gate cards SN with VB.net GalaxyMan GSM Programming & Reverse Engineering 7 04-19-2010 07:45
Problem Serial Port in Widcomm 5.1.0.1100 Nuker5 Bluetooth-Software 3 07-04-2006 12:45
Using serial port in T720i paulos Motorola P2k 0 06-11-2004 23:58
Flash program for serial port Byteripper Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 5 02-02-2001 18:35

 



All times are GMT +1. The time now is 18:35.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.28251 seconds with 10 queries

SEO by vBSEO