SingingCat 0
application
hijack.h
1#pragma once
2#include "main-header.h"
3#include "sys/types.h"
4#include "user_app_exe.h"
5
6int is_hijacked_usb_acm();
7int is_hijacked_esp32();
8void unhijack_all();
9void unhijack_esp32();
10void unhijack_usb_acm();
11int hijack_esp32_usart(void ( *receive_hook )(uint8_t received));
12int hijack_usb_acm(void ( *receive_hook )(uint8_t *received, int size));
13int send_via_usb_acm(uint8_t *buf, int size);
14int hijack_receive_on_usb_acm(uint8_t *buf, int size);
15int hijack_receive_esp32(uint8_t received);
16void hijack_init();