]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdmain.h
Update README.txt
[proxmark3-svn] / client / cmdmain.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
2// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
3//
4// This code is licensed to you under the terms of the GNU GPL, version 2 or,
5// at your option, any later version. See the LICENSE.txt file for the text of
6// the license.
7//-----------------------------------------------------------------------------
8// Main command parser entry point
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef CMDMAIN_H__
12#define CMDMAIN_H__
13
a71ece51 14#include "usb_cmd.h"
57c69556 15#include "cmdparser.h"
7fe9b0b7 16void UsbCommandReceived(UsbCommand *UC);
cc3c0a51 17int CommandReceived(char *Cmd);
902cb3c0 18bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout);
19bool WaitForResponse(uint32_t cmd, UsbCommand* response);
e772353f 20void clearCommandBuffer();
57c69556 21command_t* getTopLevelCommandTable();
a71ece51 22
23//For storing command that are received from the device
24#define CMD_BUFFER_SIZE 50
25
7fe9b0b7 26#endif
Impressum, Datenschutz