Pulled in the latest SystemK (with new BLE). (#1)

The new spec is here: [KTag Beacon Specification v0.11](https://ktag.clubk.club/Technology/BLE/KTag%20Beacon%20Specification%20v0.11.pdf)

Co-authored-by: Joe Kearney <joe@clubk.club>
Reviewed-on: #1
This commit is contained in:
Joe Kearney 2025-06-08 22:21:17 +00:00
parent dac4af8d25
commit e8dda3f16a
18 changed files with 274 additions and 47 deletions

View file

@ -6,14 +6,15 @@
* /_/ |_|/_/ \__,_/\__, / /____/\____/\__,_/_/ \___/\___/ \____/\____/\__,_/\___/
* /____/
*
* 🃞 THIS FILE IS PART OF THE KTAG SOURCE CODE. Visit https://ktag.clubk.club/ for more. 🃞
* This file is part of the KTag project, a DIY laser tag game with customizable features and wide interoperability.
* 🛡 <https://ktag.clubk.club> 🃞
*
*/
/** \file
* \brief [Autogenerated] This file defines the External EEPROM entries.
*
* \note AUTOGENERATED: This file was generated automatically on Friday, April 28, 2023 at 11:31:31 AM.
* \note AUTOGENERATED: This file was generated automatically on Saturday, March 1, 2025 at 08:52:44 AM.
* DO NOT MODIFY THIS FILE MANUALLY!
*/
@ -102,18 +103,28 @@ static const NVM_Game_Settings_T DEFAULT_Game_Settings =
{
//! Selected weapon.
.Weapon_ID = LASER_X_ID,
//! Player identification (is this used?)
//! Player identification.
.Player_ID = 0,
//! Selected team.
.Team_ID = 1,
//! Maximum health.
.Max_Health = 100,
//! Number of special weapons regained upon reentry to the game.
.N_Special_Weapons_On_Reentry = 1,
//! Time in milliseconds between instigating a game and when the countdown begins.
.T_Start_Game_in_ms = 30000,
//! Duration of the game in milliseconds.
.T_Game_Length_in_ms = 600000,
//! Color representing the player, rather than the team.
.Secondary_Color = 0,
};
NVM_EEPROMEntry_T NVM_Game_Settings =
{
//! Size == sizeof(NVM_Game_Settings_T)
.Size = 3,
.Size = 17,
.EE_Address = 22,
.EE_CRC_Address = 25,
.EE_CRC_Address = 39,
.Value = (uint8_t *)&RAM_Game_Settings,
.Default = (uint8_t *)&DEFAULT_Game_Settings,
.State = NVM_STATE_UNINITIALIZED
@ -130,8 +141,8 @@ NVM_EEPROMEntry_T NVM_Hourmeter =
{
//! Size == sizeof(NVM_Hourmeter_T)
.Size = 2,
.EE_Address = 27,
.EE_CRC_Address = 29,
.EE_Address = 41,
.EE_CRC_Address = 43,
.Value = (uint8_t *)&RAM_Hourmeter,
.Default = (uint8_t *)&DEFAULT_Hourmeter,
.State = NVM_STATE_UNINITIALIZED