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 02-23-2012, 00:46   #1 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Simple exe for detect device by guid and know his path


Hi.
Here is exe to detect device by guid and show full device path if device is connected.
Also can monitor device conect/disconect by guid.

It's usefull when need to know path for specific device and we know device guid.


Hope will be usefull
Attached Files
File Type: rar Detect device.rar (172.8 KB, 800 views)
  Reply With Quote
The Following 8 Users Say Thank You to orbita For This Useful Post:
Show/Hide list of the thanked
Old 02-24-2012, 18:50   #2 (permalink)
Freak Poster
 
Join Date: Feb 2008
Location: YEMEN
Posts: 186
Member: 712521
Status: Offline
Thanks Meter: 25
it`s very usful but could put code for it it well help me alot
  Reply With Quote
Old 02-24-2012, 20:02   #3 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Quote:
Originally Posted by mobayz View Post
it`s very usful but could put code for it it well help me alot
Yes , no problem man.
Attached Files
File Type: zip myusb_test.zip (36.5 KB, 482 views)
  Reply With Quote
The Following 2 Users Say Thank You to orbita For This Useful Post:
Old 02-24-2012, 20:11   #4 (permalink)
Freak Poster
 
Join Date: Feb 2008
Location: YEMEN
Posts: 186
Member: 712521
Status: Offline
Thanks Meter: 25
that`s very kind of you

asimple qustion code post asmall code that open and send and recive from usb port that
would be greet becouse i `m going to be mad using the unit that posted in fourom it dosn`t work for me
  Reply With Quote
Old 02-24-2012, 20:31   #5 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Quote:
Originally Posted by mobayz View Post
that`s very kind of you

asimple qustion code post asmall code that open and send and recive from usb port that
would be greet becouse i `m going to be mad using the unit that posted in fourom it dosn`t work for me
How to detect device you can see in source posted above.
I'am maked this unit for LG infineon and it work.

use like this
LGread:=TLGComm.Create;
LGread.Timeout:=5000;
LGRead.Connect(Fmyport);
If LGRead.Connected then
SendMessage(Form1.Handle,MY_MESSAGE, 0, Integer(PChar('Phone conected OK'))) //this if you use class from thread.
else
SendMessage(Form1.Handle,MY_MESSAGE, 0, Integer(PChar('Phone not conected OK')));
Lgread.BaudRate:=115200;
If not LGRead.Connected then LGRead.Connect(Fmyport);
LGRead.SendString('AT');
LgRead.GetResponse;



or hex

LGRead.SendHEX('02 00 82 00 04 00 14 FB 12 00 A7 01 03 00');
LgRead.GetResponse;


hope it help
Attached Files
File Type: rar LGConn.rar (6.9 KB, 257 views)
  Reply With Quote
The Following 2 Users Say Thank You to orbita For This Useful Post:
Old 02-24-2012, 21:42   #6 (permalink)
Freak Poster
 
Join Date: Jun 2007
Posts: 105
Member: 525755
Status: Offline
Thanks Meter: 20
is this unit use usb or com port
  Reply With Quote
Old 02-24-2012, 21:52   #7 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Quote:
Originally Posted by ana_ye View Post
is this unit use usb or com port
Instead of COM need put device path.
and will read/write usb.
  Reply With Quote
Old 02-24-2012, 22:12   #8 (permalink)
Freak Poster
 
Join Date: Jun 2007
Posts: 105
Member: 525755
Status: Offline
Thanks Meter: 20
wow that`s mean i have to put the device path

Create the file}
fSerial := CreateFile(HERE,
GENERIC_READ or GENERIC_WRITE,
0, (* comm devices must be opened w/exclusive-access *)
NIL, (* no security attrs *)
OPEN_EXISTING, (* comm devices must use OPEN_EXISTING *)
0, (* Ansynchronous or Synchronous I/O *)
0 (* hTemplate must be NULL for comm devices *)
);
CheckError(fSerial=INVALID_HANDLE_VALUE);

{init the timeout for serial}
InitCommTimeouts;

{init the comm State for serial}
InitCommState;

except
Disconnect;
Raise;
end;
end;


in it will work with usb
  Reply With Quote
Old 02-24-2012, 22:13   #9 (permalink)
Freak Poster
 
Join Date: Jun 2007
Posts: 105
Member: 525755
Status: Offline
Thanks Meter: 20
Quote:
Originally Posted by orbita View Post
Instead of COM need put device path.
and will read/write usb.
can i use it with any mobile support only usb comuncation
  Reply With Quote
Old 02-25-2012, 01:54   #10 (permalink)
Freak Poster
 
Join Date: Jan 2001
Location: Jakarta,DKI,indonesia
Posts: 485
Member: 3179
Status: Offline
Thanks Meter: 142
need setup api library


thanks
  Reply With Quote
Old 02-25-2012, 02:39   #11 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Quote:
Originally Posted by mardi View Post
need setup api library


thanks
Can I ask why you need this library?
  Reply With Quote
Old 02-25-2012, 04:33   #12 (permalink)
Freak Poster
 
Join Date: Jan 2001
Location: Jakarta,DKI,indonesia
Posts: 485
Member: 3179
Status: Offline
Thanks Meter: 142
Quote:
Originally Posted by orbita View Post
Can I ask why you need this library?
i cant compile this error in uses setupapi

regards
  Reply With Quote
Old 02-25-2012, 21:04   #13 (permalink)
Freak Poster
 
Join Date: Jul 2011
Location: Australia/Melbourne
Posts: 122
Member: 1610809
Status: Offline
Sonork: 100.1616347
Thanks Meter: 23



thaks to orbita
  Reply With Quote
The Following User Says Thank You to GTunlocker For This Useful Post:
Old 03-05-2012, 11:18   #14 (permalink)
Junior Member
 
Join Date: Mar 2012
Posts: 1
Member: 1729743
Status: Offline
Thanks Meter: 0
Quote:
Originally Posted by mardi View Post
i cant compile this error in uses setupapi

regards

mardi he has given you instructions, why do you ask for files that have become, in this forum already explained if you can not process the files, so programmers do not, shame, you look so stupid
  Reply With Quote
Old 03-05-2012, 14:16   #15 (permalink)
Junior Member
 
Join Date: Dec 2011
Posts: 27
Member: 1701410
Status: Offline
Thanks Meter: 3
Quote:
Originally Posted by ceriwis View Post
mardi he has given you instructions, why do you ask for files that have become, in this forum already explained if you can not process the files, so programmers do not, shame, you look so stupid

wis ceriwis bisa seperti itu saja lo banyak lagu,seperti hidup kamu yamg ngatur,mending pengemis,tapi berani menunjukkan muka,dari pada penjilat2 dunia maya.jangan komen seperti itu kalau sentimen temuin aja orangnya kalau kamu laki2,
Nih buat mardi kukasih library buat setupapi for delphi work dengan dari d7-d2010,extract semua file at directory lib in delphi

Ceriwis
aku itu tau kamu (kamu orang pinter),tapi kamu terlalu berambisi.dan suka disanjung,gak ada gunanya skill kamu,kalau tatakrama seperti itu.itu namanya kamu menghina orang.orang seperti kamu kebanyakan kalau gagal.sukanya ngumpulin orang banyak buat mengeroyok 1 orang>hahahahaha.
Attached Files
File Type: rar SetupApi.rar (239.6 KB, 399 views)

Last edited by semprul 2011; 03-05-2012 at 14:22.
  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
Seeking for flash nokia 5110 old version (3 version) can exchange for new Tomas Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 10-14-2017 19:29
Need software upgrade for Nokia 5110 ptkrf Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 30 02-24-2016 10:21
How can I do a Welcome note for my 6110 a dosn't have any one ? Viper Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 8 06-27-2015 11:57
needed pinout for carkit(N61xx) mobileinfo Nokia Hardware & Hardware Repair 2 07-23-2013 02:41
IR between 6150 and IBM TP 600 favdijck Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) 3 11-15-2011 13:08

 



All times are GMT +1. The time now is 11:10.



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.28861 seconds with 10 queries

SEO by vBSEO