Skip to content

Releases: OpenShock/Firmware

1.4.0

25 Oct 11:29
Compare
Choose a tag to compare

OpenShock Firmware 1.4.0

This release is packed with bugfixes, optimizations, code cleanup, prepwork for ESP-IDF, and some features!

Highlights

  • Add support for configuring hostname of ESP via Serial.
  • Add support for configuring Emergency Stop via Captive Portal and Serial.
  • Report available GPIO pins to Captive Portal Frontend.
  • Massively refactor serial command handler.

Optimizations

  • Bump platform-espressif32 to version 6.9.
  • Start using C++17 features including std::string_view.
  • Clean up platformio.ini file.
  • Lots of miscellanious code cleanup.
  • Implement custom zero-copy type conversion methods with better error checking.
  • Reduce log spam by the arduino library.
  • Improve error handling of gpio pin selection.
  • Attempt to make more sense out of the 998DR protocol serializer.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.4.0-rc.2

09 Oct 23:56
6711e9d
Compare
Choose a tag to compare
1.4.0-rc.2 Pre-release
Pre-release

OpenShock Firmware 1.4.0-rc.2

Fixed EStop debouncing logic.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.4.0-rc.1

08 Oct 20:13
14efa86
Compare
Choose a tag to compare
1.4.0-rc.1 Pre-release
Pre-release

OpenShock Firmware 1.4.0-rc.1

This release is packed with bugfixes, optimizations, code cleanup, prepwork for ESP-IDF, and some features!

Highlights

  • Add support for configuring hostname of ESP via Serial.
  • Add support for configuring Emergency Stop via Captive Portal and Serial.
  • Report available GPIO pins to Captive Portal Frontend.
  • Massively refactor serial command handler.

Optimizations

  • Bump platform-espressif32 to version 6.9.
  • Start using C++17 features including std::string_view.
  • Clean up platformio.ini file.
  • Lots of miscellanious code cleanup.
  • Implement custom zero-copy type conversion methods with better error checking.
  • Reduce log spam by the arduino library.
  • Improve error handling of gpio pin selection.
  • Attempt to make more sense out of the 998DR protocol serializer.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.3.0

03 Sep 15:12
2e44c5f
Compare
Choose a tag to compare

OpenShock Firmware 1.3.0

This release adds support for more boards, has more bugfixes, better error handling, and optimization/cleanup.

Highlight

  • Added support for DFRobot Firebeetle, Wemos S3 Mini and WaveShare S3 Zero boards.

Minor Updates

  • Re-Add PET998DR Quiet Postamble.
  • Fix CaiXianlin protocol sending non-zero when doing a beep command.
  • Moved schema files to seperate repository.
  • Improve error handling and logging.
  • Dependency updates.
  • Code cleanup, optimization and refactoring.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.3.0-rc.1

28 Aug 07:20
6c7eb1b
Compare
Choose a tag to compare
1.3.0-rc.1 Pre-release
Pre-release

OpenShock Firmware 1.3.0-rc.1

This is the first release candidate for version 1.3.0.

Highlight

  • Added support for DFRobot Firebeetle, Wemos S3 Mini and WaveShare S3 Zero boards.

Minor Updates

  • Re-Add PET998DR Quiet Postamble.
  • Fix CaiXianlin protocol sending non-zero when doing a beep command.
  • Moved schema files to seperate repository.
  • Improve error handling and logging.
  • Dependency updates.
  • Code cleanup, optimization and refactoring.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.2.0

27 Aug 12:47
1d8cec7
Compare
Choose a tag to compare

OpenShock Firmware 1.2.0

This release adds a new shocker protocol, more bugfixes, configurability, and performance improvements.

Highlight

  • Added support for 998DR Petrainer RF protocol.

Major Updates

  • Add command to get/set api domain.
  • Add command to get/set/clear override for Live Control Gateway (LCG) domain.

Minor Updates

  • Change transmission end command to last for 300 ms.
  • Increase WDT timeout during OTA updates to prevent watchdog resets.
  • Remove non thread-safe RF sequence caching.
  • Update flatbuffers to 23.5.26.
  • Start utilizing StringView more to reduce memory and CPU usage.
  • Small code cleanup and refactoring.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.2.0-rc.1

19 Apr 01:03
Compare
Choose a tag to compare
1.2.0-rc.1 Pre-release
Pre-release

OpenShock Firmware 1.2.0-rc.1

This is the first release candidate for version 1.2.0.

Highlight

  • Added support for 998DR Petrainer RF protocol.

Major Updates

  • Add command to get/set api domain.
  • Add command to get/set/clear override for Live Control Gateway (LCG) domain.

Minor Updates

  • Change transmission end command to last for 300 ms.
  • Increase WDT timeout during OTA updates to prevent watchdog resets.
  • Remove non thread-safe RF sequence caching.
  • Update flatbuffers to 23.5.26.
  • Start utilizing StringView more to reduce memory and CPU usage.
  • Small code cleanup and refactoring.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.1.2

05 Mar 22:01
9c4b159
Compare
Choose a tag to compare

OpenShock Firmware 1.1.2

  • Add support for OpenShock Core V2 Hardware

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.1.1

31 Jan 14:09
3c2b764
Compare
Choose a tag to compare

OpenShock Firmware 1.1.1

This release increases the stability and performance of the firmware, as well as fixes some minor bugs.

Highlight

  • Enabled release builds for improved firmware size, performance, and stability.

Minor Updates

  • Improved RFTransmitter delay logic to wait patiently for commands if it has no transmissions to send.
  • Increased RFTransmitter performance margins to avoid command stacking and delays.
  • Updated build script to properly identify git-tag triggered github action runs.

Bug Fixes

  • Fixed a bug where the RFTransmitter loop would never delay, causing other tasks running on the same core to completely halt.
  • Removed null check on credentials password received in frontend, as null is expected due to sensitive data removal.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin

1.1.1-rc.6

31 Jan 13:28
Compare
Choose a tag to compare
1.1.1-rc.6 Pre-release
Pre-release

OpenShock Firmware 1.1.1-rc.6

Inlined the wait time check in RFTransmitter to re-check if we added any commands on receiving a event.

Flashing the firmware

Download OpenShock_[board]_[version].bin and flash it to your microcontroller:

esptool write_flash 0x0 OpenShock_[board]_[version].bin