Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jul 23, 2023
1 parent 221e36a commit c84c7db
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions examples/BresserWeatherSensorTest/BresserWeatherSensorTest.ino
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,18 @@
#include "WeatherSensorCfg.h"
#include "WeatherSensor.h"

uint8_t testData[][MSG_BUF_SIZE] = {
uint8_t testData[][MSG_BUF_SIZE-1] = {
// Lightning Sensor
{0x73, 0x69, 0xB5, 0x08, 0xAA, 0xA2, 0x90, 0xAA, 0xAA, 0xAA, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x15},
0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF},

// 5-in-1 Weather Sensor
{0xEA, 0xEC, 0x7F, 0xEB, 0x5F, 0xEE, 0xEF, 0xFA, 0xFE, 0x76, 0xBB, 0xFA, 0xFF, 0x15, 0x13, 0x80, 0x14, 0xA0, 0x11,
0x10, 0x05, 0x01, 0x89, 0x44, 0x05, 0x00, 0x00},
0x10, 0x05, 0x01, 0x89, 0x44, 0x05, 0x00},

// 7-in-1 Weather Sensor
{0xC4, 0xD6, 0x3A, 0xC5, 0xBD, 0xFA, 0x18, 0xAA, 0xAA, 0xAA, 0xAA, 0xAB, 0xFC, 0xAA, 0x98, 0xDA, 0x89, 0xA3, 0x2F,
0xEC, 0xAF, 0x9A, 0xAA, 0xAA, 0xAA, 0x00}
};

WeatherSensor weatherSensor;
Expand Down

0 comments on commit c84c7db

Please sign in to comment.