remove beacon monitormode
This commit is contained in:
1 parent
de2e576599
commit
49aba50df1
17 files changed
+23
-116
No files matched your search
@@ -1,9 +0,0 @@
|
||||
#ifndef _BEACON_ARRAY_H
|
||||
#define _BEACON_ARRAY_H
|
||||
|
||||
std::array<uint64_t, 0xff>::iterator it;
|
||||
|
||||
std::array<uint64_t, 0xff> beacons = {0x0000010203040506, 0x0000aabbccddeeff,
|
||||
0x0000112233445566};
|
||||
|
||||
#endif
|
||||
+1
-5
@@ -21,7 +21,7 @@
|
||||
|
||||
// bits in payloadmask for filtering payload data
|
||||
#define COUNT_DATA _bit(0)
|
||||
#define ALARM_DATA _bit(1)
|
||||
#define RESERVED_DATA _bit(1)
|
||||
#define MEMS_DATA _bit(2)
|
||||
#define GPS_DATA _bit(3)
|
||||
#define SENSOR1_DATA _bit(4)
|
||||
@@ -72,7 +72,6 @@ typedef struct __attribute__((packed)) {
|
||||
uint8_t wifiscan; // 0=disabled, 1=enabled
|
||||
uint8_t wifiant; // 0=internal, 1=external (for LoPy/LoPy4)
|
||||
uint8_t rgblum; // RGB Led luminosity (0..100%)
|
||||
uint8_t monitormode; // 0=disabled, 1=enabled
|
||||
uint8_t payloadmask; // bitswitches for payload data
|
||||
uint8_t enscount; // 0=disabled 1= enabled
|
||||
|
||||
@@ -113,9 +112,6 @@ typedef struct {
|
||||
float pm25;
|
||||
} sdsStatus_t;
|
||||
|
||||
extern std::array<uint64_t, 0xff>::iterator it;
|
||||
extern std::array<uint64_t, 0xff> beacons;
|
||||
|
||||
extern char clientId[20]; // unique clientID
|
||||
|
||||
#endif
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "i2c.h"
|
||||
#include "configmanager.h"
|
||||
#include "cyclic.h"
|
||||
#include "beacon_array.h"
|
||||
#include "ota.h"
|
||||
#include "irqhandler.h"
|
||||
#include "spislave.h"
|
||||
|
||||
@@ -52,7 +52,6 @@ public:
|
||||
void addConfig(configData_t value);
|
||||
void addStatus(uint16_t voltage, uint64_t uptime, float cputemp, uint32_t mem,
|
||||
uint8_t reset0, uint32_t restarts);
|
||||
void addAlarm(int8_t rssi, uint8_t message);
|
||||
void addVoltage(uint16_t value);
|
||||
void addGPS(gpsStatus_t value);
|
||||
void addBME(bmeStatus_t value);
|
||||
|
||||
Reference in new issue
Block a user