anyone any idea what the first parameter is supposed to be ? it documented as different in every PDF and is ambiguous, at best!
thanks
WriteInterfaceBlock
Moderators: aardvark, davebush, Admin
-
- Posts: 3
- Joined: Thu Jul 27, 2006 11:00 am
Re: WriteInterfaceBlock
actual an example of simple poll of a notreader on address 40 would be useful
Re: WriteInterfaceBlock
I don't guarantee this works as written , but it should be close.
Code: Select all
char PollNoteAcc[] = {40, 0, 1, 254) ;
static void SendCcTalk(char* Command)
{
WriteInterfaceBlock(2, Command, Command[1] + 4) ;
}
::::
SendccTalk(PollNoteAcc) ;
char Reply[256] ;
int Returned = 0 ;
do {
int Returned = ReadInterfaceBlock(2, (char *)&Reply, sizeof Reply) ;
} while (Returned == 0) ;
Aardvark software developer. Please put all communication on the problem through the board for the benefit of others.