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 08-05-2016, 01:09   #1 (permalink)
Junior Member
 
Join Date: Jun 2016
Posts: 37
Member: 2580725
Status: Offline
Thanks Meter: 7
Send ZLP (Zero Length Packet) over COM port


I sniffed Odin while flash and see 0 byte packet being sent to phone. How do I send 0 byte packet? I try "0", "00", "0x00" and none of these work.

I using serialport with c#. Wrong programming language to do this in? Secret I do not know about? Would greatly appreciate any help!
  Reply With Quote
Old 08-06-2016, 14:11   #2 (permalink)
No Life Poster
 
Join Date: Apr 2010
Location: NYC/USA
Posts: 733
Member: 1283129
Status: Offline
Thanks Meter: 135
This is easy. I know how to do it.
  Reply With Quote
Old 08-08-2016, 16:33   #3 (permalink)
Junior Member
 
Join Date: Jun 2016
Posts: 37
Member: 2580725
Status: Offline
Thanks Meter: 7
I was able to do it over CDC interface (USB) but COM port just ignore 0 byte packet. My program say "0 bytes were written" but in USB logger there was not zero byte packet sent. Very confusing. Perhaps encoding while sending it over COM port? I try "", " ", "\0", NULL, 0x00 and 0. None of them work over COM port. This works over CDC interface in C#:

string testzero = "0";
byte[] testzerobyte = Encoding.Default.GetBytes(testzero);

Then I send testzerobyte to CDC interface and zero byte packet show up in USB log. I try to do same thing over COM/Serial interface and zero byte packet never show up in USB log.
  Reply With Quote
Old 08-11-2016, 19:31   #4 (permalink)
Junior Member
 
Join Date: Jun 2016
Posts: 37
Member: 2580725
Status: Offline
Thanks Meter: 7
Quote:
Originally Posted by cafonabob1 View Post
This is easy. I know how to do it.
Lol. Actually you can't do it over the COM port exposed by the CDC interface. Nice try clown. Go back under your bridge troll. I've already figured out how to do this over the COM port instead of the CDC interface just like Odin. It has nothing to do with ZLP.
  Reply With Quote
Old 12-24-2016, 01:38   #5 (permalink)
Junior Member
 
Join Date: Oct 2010
Posts: 38
Member: 1408878
Status: Offline
Thanks Meter: 16
Any chance you can share the method
  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


 



All times are GMT +1. The time now is 03:22.



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.14541 seconds with 8 queries

SEO by vBSEO