|
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 |
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 using serialport with c#. Wrong programming language to do this in? Secret I do not know about? Would greatly appreciate any help! |
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. |
08-11-2016, 19:31 | #4 (permalink) |
Junior Member Join Date: Jun 2016
Posts: 37
Member: 2580725 Status: Offline Thanks Meter: 7 | 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. |
Bookmarks |
| |
|