From 6404c3899d4c9c13174cdce9d3fe946dda5869aa Mon Sep 17 00:00:00 2001 From: manhere <580122+manhere@users.noreply.github.com> Date: Wed, 13 Jul 2022 15:48:56 +0800 Subject: [PATCH 1/7] Update library.properties Eliminating compilation warnings in Arduino IDE --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 83a2da9..68bdb80 100644 --- a/library.properties +++ b/library.properties @@ -6,5 +6,5 @@ sentence=An Arduino library for SDI-12 communication with a wide variety of envi paragraph=This library provides a general software solution, without requiring any additional hardware. category=Communication url=https://github.com/EnviroDIY/Arduino-SDI-12 -architectures=avr,sam,samd,espressif +architectures=avr,sam,samd,esp8266,esp32 includes=SDI12.h From 19a48fd094bced3e9116be1dfda25999dcb7cb17 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 20:35:55 +0000 Subject: [PATCH 2/7] ci: bump actions/setup-node from 3.8.1 to 4.0.0 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v3.8.1...v4.0.0) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/verify_library_json.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify_library_json.yaml b/.github/workflows/verify_library_json.yaml index fad108e..fbb2ee5 100644 --- a/.github/workflows/verify_library_json.yaml +++ b/.github/workflows/verify_library_json.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3.8.1 + uses: actions/setup-node@v4.0.0 - name: Cache Node.js modules uses: actions/cache@v3.3.2 From 4412e37b76005bf96ba39391165930db5a192476 Mon Sep 17 00:00:00 2001 From: Stephen Catsamas Date: Fri, 2 Feb 2024 09:48:04 +1100 Subject: [PATCH 3/7] fixed issue in slave example where some commands sent slave into unresponsive state --- .../h_SDI-12_slave_implementation.ino | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/h_SDI-12_slave_implementation/h_SDI-12_slave_implementation.ino b/examples/h_SDI-12_slave_implementation/h_SDI-12_slave_implementation.ino index 49c2236..33f10b3 100644 --- a/examples/h_SDI-12_slave_implementation/h_SDI-12_slave_implementation.ino +++ b/examples/h_SDI-12_slave_implementation/h_SDI-12_slave_implementation.ino @@ -39,6 +39,7 @@ int state = 0; #define WAIT 0 #define INITIATE_CONCURRENT 1 #define INITIATE_MEASUREMENT 2 +#define PROCESS_COMMAND 3 // Create object by which to communicate with the SDI-12 bus on SDIPIN SDI12 slaveSDI12(DATA_PIN); @@ -196,6 +197,7 @@ void loop() { // Character '!' indicates the end of an SDI-12 command; if the current // character is '!', stop listening and respond to the command if (charReceived == '!') { + state = PROCESS_COMMAND; // Command string is completed; do something with it parseSdi12Cmd(commandReceived, dValues); // Clear command string to reset for next command @@ -246,5 +248,9 @@ void loop() { slaveSDI12.forceListen(); // sets SDI-12 pin as input to prepare for incoming // message AGAIN break; + case PROCESS_COMMAND: + state = WAIT; + slaveSDI12.forceListen(); + break; } } From 24a18c2c7f1bea78a128a57b6f5d863a8234632b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 12:46:54 +0000 Subject: [PATCH 4/7] ci: bump actions/setup-node from 4.0.0 to 4.0.2 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.2. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.0.0...v4.0.2) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/verify_library_json.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify_library_json.yaml b/.github/workflows/verify_library_json.yaml index fbb2ee5..cc01a0c 100644 --- a/.github/workflows/verify_library_json.yaml +++ b/.github/workflows/verify_library_json.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v4.0.0 + uses: actions/setup-node@v4.0.2 - name: Cache Node.js modules uses: actions/cache@v3.3.2 From 6f26975c7e54e6bb28139c6abcb4c4480356a486 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 12:48:17 +0000 Subject: [PATCH 5/7] ci: bump actions/setup-python from 4 to 5 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build_documentation.yaml | 2 +- .github/workflows/build_examples.yaml | 2 +- .github/workflows/prepare_release.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_documentation.yaml b/.github/workflows/build_documentation.yaml index 1a59eb2..90d12dc 100644 --- a/.github/workflows/build_documentation.yaml +++ b/.github/workflows/build_documentation.yaml @@ -45,7 +45,7 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' diff --git a/.github/workflows/build_examples.yaml b/.github/workflows/build_examples.yaml index 122cea6..b126ea2 100644 --- a/.github/workflows/build_examples.yaml +++ b/.github/workflows/build_examples.yaml @@ -56,7 +56,7 @@ jobs: key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' diff --git a/.github/workflows/prepare_release.yaml b/.github/workflows/prepare_release.yaml index 6adcf03..0687c8a 100644 --- a/.github/workflows/prepare_release.yaml +++ b/.github/workflows/prepare_release.yaml @@ -37,7 +37,7 @@ jobs: restore-keys: ${{ runner.os }}-pip- - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' From fa42eba4362e36a2dc1721b338b0f20e0752347c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 18 May 2024 12:49:15 +0000 Subject: [PATCH 6/7] ci: bump actions/cache from 3.3.2 to 4.0.2 Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 4.0.2. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3.3.2...v4.0.2) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build_documentation.yaml | 6 +++--- .github/workflows/build_examples.yaml | 4 ++-- .github/workflows/prepare_release.yaml | 2 +- .github/workflows/verify_library_json.yaml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_documentation.yaml b/.github/workflows/build_documentation.yaml index 1a59eb2..5872d10 100644 --- a/.github/workflows/build_documentation.yaml +++ b/.github/workflows/build_documentation.yaml @@ -27,7 +27,7 @@ jobs: path: code_docs/Arduino-SDI-12 - name: Restore or Cache pip - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 id: cache_pip with: path: ~/.cache/pip @@ -37,7 +37,7 @@ jobs: restore-keys: ${{ runner.os }}-pip- - name: Restore or Cache PlatformIO and Libraries - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 id: cache_pio with: path: ~/.platformio @@ -70,7 +70,7 @@ jobs: - name: Restore or Cache Doxygen id: cache_doxygen - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 with: path: doxygen-src key: ${{ runner.os }}-doxygen-${{ env.DOXYGEN_VERSION }} diff --git a/.github/workflows/build_examples.yaml b/.github/workflows/build_examples.yaml index 122cea6..e4429c4 100644 --- a/.github/workflows/build_examples.yaml +++ b/.github/workflows/build_examples.yaml @@ -39,7 +39,7 @@ jobs: fi - name: Restore or Cache pip - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 with: path: ~/.cache/pip # if requirements.txt hasn't changed, then it will be a "cache hit" and pip will be restored @@ -48,7 +48,7 @@ jobs: restore-keys: ${{ runner.os }}-pip- - name: Restore or Cache PlatformIO and Libraries - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 with: path: ~/.platformio # if nothing in the lock files has changed, then it will be a "cache hit" and pip will be restored diff --git a/.github/workflows/prepare_release.yaml b/.github/workflows/prepare_release.yaml index 6adcf03..fc1d348 100644 --- a/.github/workflows/prepare_release.yaml +++ b/.github/workflows/prepare_release.yaml @@ -28,7 +28,7 @@ jobs: echo "VERSION=$VER" >> $GITHUB_ENV - name: Restore or Cache pip - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 with: path: ~/.cache/pip # if requirements.txt hasn't changed, then it will be a "cache hit" and pip will be restored diff --git a/.github/workflows/verify_library_json.yaml b/.github/workflows/verify_library_json.yaml index cc01a0c..2684751 100644 --- a/.github/workflows/verify_library_json.yaml +++ b/.github/workflows/verify_library_json.yaml @@ -15,7 +15,7 @@ jobs: uses: actions/setup-node@v4.0.2 - name: Cache Node.js modules - uses: actions/cache@v3.3.2 + uses: actions/cache@v4.0.2 with: # npm cache files are stored in `~/.npm` on Linux/macOS path: ~/.npm From f7630a93815ae41d7e1bdd1b6db15002bcda33ac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 Jul 2024 20:39:46 +0000 Subject: [PATCH 7/7] ci: bump actions/setup-node from 4.0.2 to 4.0.3 Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.2 to 4.0.3. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v4.0.2...v4.0.3) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/verify_library_json.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/verify_library_json.yaml b/.github/workflows/verify_library_json.yaml index 2684751..41dafc1 100644 --- a/.github/workflows/verify_library_json.yaml +++ b/.github/workflows/verify_library_json.yaml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v4.0.2 + uses: actions/setup-node@v4.0.3 - name: Cache Node.js modules uses: actions/cache@v4.0.2