reduce scan interval; publish rssi

This commit is contained in:
technyon
2022-04-06 18:24:17 +02:00
parent b5e5c4da60
commit 7ce71b8bea
3 changed files with 39 additions and 3 deletions

View File

@@ -8,7 +8,9 @@ struct PdDevice
{
char address[18] = {0};
char name[30] = {0};
unsigned long timestamp;
unsigned long timestamp = 0;
int rssi = 0;
bool hasRssi = false;
};
#define presence_detection_buffer_size 4096