2022-10-28 15:46:40 +00:00
|
|
|
#include <furi.h>
|
|
|
|
#include <furi_hal.h>
|
|
|
|
#include <gui/gui.h>
|
|
|
|
#include <input/input.h>
|
|
|
|
|
|
|
|
#include "i2csniffer.h"
|
|
|
|
#include "i2cscanner.h"
|
|
|
|
#include "i2csender.h"
|
|
|
|
#include "views/main_view.h"
|
|
|
|
#include "views/sniffer_view.h"
|
|
|
|
#include "views/scanner_view.h"
|
|
|
|
#include "views/sender_view.h"
|
2023-07-05 17:07:43 +00:00
|
|
|
#include "views/infos_view.h"
|
2022-10-28 15:46:40 +00:00
|
|
|
|
|
|
|
// App datas
|
|
|
|
typedef struct {
|
2023-03-07 21:18:23 +00:00
|
|
|
FuriMutex* mutex;
|
2022-10-28 15:46:40 +00:00
|
|
|
ViewPort* view_port;
|
|
|
|
i2cMainView* main_view;
|
|
|
|
|
|
|
|
i2cScanner* scanner;
|
|
|
|
i2cSniffer* sniffer;
|
|
|
|
i2cSender* sender;
|
|
|
|
} i2cTools;
|