Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-06-2005, 22:43
AgentSmith
 
Posts: n/a
Writing 4 bytes to COM Port

Hello all,

I have a device that has 8 switches (relay). This device has controller which is linked to COM Port. In order to manipulate switches first the device needs to be intialized with 4 bytes: 1 1 0 and the fourth is XOR of these first three, (0). So I need to send 1 1 0 0 in order to intialize this device.

I've tried to open com port and write this as characthers:

"00000001 00000001 00000000 00000000" - (no space between)

There is also some kind of driver, a monitor tool that monitors traffic between PC and the device. This monitor after sending above string says that only 2 bytes are sent. The device will not respond until 4 bytes are sent.

Does anybody have any clues that can be useful? I've searched everywhere but nothing to solve it, so I am trying my luck here

Thanks in advance, asmith

[added]: tried with c and yes it is char type

Last edited by AgentSmith; 04-06-2005 at 23:33.
Reply With Quote
 


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
int3 and stolen bytes ! Newbie_Cracker General Discussion 4 03-14-2007 16:48
ASProtect 1.22 - 1.23 Beta 21 stolen bytes? Crassy General Discussion 1 05-22-2004 22:34
Damaged stolen bytes *RemedY* General Discussion 9 05-22-2004 16:58
DVDRegionFree 3.25 Stolen bytes MaRKuS-DJM General Discussion 2 01-05-2004 00:23
22 stolen bytes? SvensK General Discussion 2 11-06-2003 17:13


All times are GMT +8. The time now is 08:13.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )