Receive raw data on the client
This commit is contained in:
2 files changed
+260
-107
No files matched your search
+6
-2
@@ -45,6 +45,8 @@ extern "C" {
|
||||
#define CMD_BUFFER_SIZE 100
|
||||
#endif
|
||||
|
||||
#define COMM_RAW_RECEIVE_LEN (1024)
|
||||
|
||||
typedef enum {
|
||||
BIG_BUF,
|
||||
BIG_BUF_EML,
|
||||
@@ -96,10 +98,14 @@ void clearCommandBuffer(void);
|
||||
|
||||
#define FLASHMODE_SPEED 460800
|
||||
bool IsCommunicationThreadDead(void);
|
||||
bool SetCommunicationReceiveMode(bool isRawMode);
|
||||
void SetCommunicationRawReceiveBuffer(uint8_t *buffer, size_t len);
|
||||
size_t GetCommunicationRawReceiveNum(void);
|
||||
bool OpenProxmark(pm3_device_t **dev, const char *port, bool wait_for_port, int timeout, bool flash_mode, uint32_t speed);
|
||||
int TestProxmark(pm3_device_t *dev);
|
||||
void CloseProxmark(pm3_device_t *dev);
|
||||
|
||||
size_t WaitForRawDataTimeout(uint8_t *buffer, size_t len, size_t ms_timeout, bool show_process);
|
||||
bool WaitForResponseTimeoutW(uint32_t cmd, PacketResponseNG *response, size_t ms_timeout, bool show_warning);
|
||||
bool WaitForResponseTimeout(uint32_t cmd, PacketResponseNG *response, size_t ms_timeout);
|
||||
bool WaitForResponse(uint32_t cmd, PacketResponseNG *response);
|
||||
@@ -111,5 +117,3 @@ bool GetFromDevice(DeviceMemType_t memtype, uint8_t *dest, uint32_t bytes, uint3
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user