2022-10-28 18:46:40 +03: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 20:07:43 +03:00
|
|
|
#include "views/infos_view.h"
|
2022-10-28 18:46:40 +03:00
|
|
|
|
|
|
|
// App datas
|
|
|
|
typedef struct {
|
2023-03-08 00:18:23 +03:00
|
|
|
FuriMutex* mutex;
|
2022-10-28 18:46:40 +03:00
|
|
|
ViewPort* view_port;
|
|
|
|
i2cMainView* main_view;
|
|
|
|
|
|
|
|
i2cScanner* scanner;
|
|
|
|
i2cSniffer* sniffer;
|
|
|
|
i2cSender* sender;
|
|
|
|
} i2cTools;
|