Skip to content

Commit

Permalink
#88 working correction to dbgYYMM.log
Browse files Browse the repository at this point in the history
  • Loading branch information
neilh20.gitk authored and neilh20.gitk committed Dec 3, 2021
1 parent da08889 commit bbe0f87
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
4 changes: 2 additions & 2 deletions a/tu_xx01/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ cmn_build_flags =
-DTINY_GSM_YIELD_MS=2
;-DTINY_GSM_RX_BUFFER=64 ;is this needed?
-DMS_MAYLFY_1_0
-DNO_FIRST_SYNC_WITH_NIST
;-DNO_FIRST_SYNC_WITH_NIST
-DNIST_SYNC_HOURLY
;-DMS_TU_XX_DEBUG
;-DMS_TU_XX_DEBUG_DEEP
Expand Down Expand Up @@ -156,7 +156,7 @@ cmn_build_flags =
-DMS_WATCHDOGAVR_DEBUG_DEEP

[env:mayfly]
;upload_port = COM20
upload_port = COM8
monitor_speed = 115200
board = mayfly
platform = atmelavr
Expand Down
19 changes: 9 additions & 10 deletions a/tu_xx01/src/ms_cfg.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/*****************************************************************************
ms_cfg.h_nano - ModularSensors cfg - KellerNano MMW/WiFi
ms_cfg.h_LT5_lte - ModularSensors Configuration - tgt _LT5 /LTE
Written By: Neil Hancock www.envirodiy.org/members/neilh20/
Development Environment: PlatformIO
Hardware Platform(s): EnviroDIY Mayfly Arduino Datalogger+RS485 Wingboard
Expand Down Expand Up @@ -38,7 +37,7 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.

//#define ENVIRODIY_MAYFLY_TEMPERATURE 1
//#define Decagon_CTD_UUID 1
//#define Insitu_TrollSdi12_UUID 1
#define Insitu_TrollSdi12_UUID 1

#define WINGBOARD_KNH002 1
#if defined WINGBOARD_KNH002
Expand All @@ -50,7 +49,7 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.
// KellerAcculevel units can be 1 (meter) 2 (feet)
//#define KellerAcculevel_DepthUnits 2

#define KellerNanolevel_ACT 1
//#define KellerNanolevel_ACT 1
#endif //WINGBOARD_KNH002

//Select one of following MAYFLY_BAT_xx as the source for BatterManagement Analysis
Expand All @@ -59,9 +58,9 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.
#define MAYFLY_BAT_CHOICE MAYFLY_BAT_STC3100
// FUT #define MAYFLY_BAT_CHOICE MAYFLY_BAT_DIGI

#define ASONG_AM23XX_UUID 1
//#define ASONG_AM23XX_UUID 1

//One light sensors RS485 with power useage
//Two heavy sensors with power useage
#define BM_PWR_SENSOR_CONFIG_BUILD_SPECIFIC BM_PWR_LOW_REQ

// Mayfly configuration
Expand All @@ -72,7 +71,7 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.
#define MFName_DEF "Mayfly"
#define HwVersion_DEF MFVersion_DEF
#define HwName_DEF MFName_DEF
#define CONFIGURATION_DESCRIPTION_STR "nano MMW/WiFi"
#define CONFIGURATION_DESCRIPTION_STR "tu_LT5_lte LT500"

#define USE_MS_SD_INI 1
#define USE_PS_EEPROM 1
Expand Down Expand Up @@ -115,9 +114,9 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.


// Instructions: define only one _Module
#define DigiXBeeWifi_Module 1
//#define DigiXBeeWifi_Module 1
//#warning infoMayflyWithDigiXBeeWiFi
//#define DigiXBeeCellularTransparent_Module 1
#define DigiXBeeCellularTransparent_Module 1
//#warning infoMayflyWithDigiXBeeCellTransparent
// #define DigiXBeeLTE_Module 1 - unstable
// #define TINY_GSM_MODEM_SIM800 // Select for a SIM800, SIM900, or variant
Expand Down Expand Up @@ -266,7 +265,7 @@ THIS CODE IS PROVIDED "AS IS" - NO WARRANTY IS GIVEN.
#if defined MAYFLY_BAT_STC3100
#define STC3100_Volt_UUID "STC3100Volt_UUID"
#define STC3100_USED1_mAhr_UUID "STC3100used1_mAhr_UUID"
//#define STC3100_AVLBL_mAhr_UUID "STC3100avlbl_mAhr_UUID"
#define STC3100_AVLBL_mAhr_UUID "STC3100avlbl_mAhr_UUID"
#endif // MAYFLY_BAT_STC3100

#ifdef MAYFLY_BAT_AA0
Expand Down
2 changes: 1 addition & 1 deletion src/LoggerBaseExtCpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ void Logger::postLogLine(const char *logMsg,bool addCRNL) {
}
char tempBuffer[TEMP_BUFFER_SZ];
//Print internal time
formatDateTime_str(getNowEpochUTz))
formatDateTime_str(getNowEpochTz)
.toCharArray(tempBuffer, TEMP_BUFFER_SZ);
postsLogHndl.print(tempBuffer);
postsLogHndl.print(F(",MSG,"));
Expand Down

0 comments on commit bbe0f87

Please sign in to comment.