Compare commits

...

2 commits

Author SHA1 Message Date
Joe Kearney
1b0d670ac0 WIP: New BLE 2025-02-15 16:16:17 -06:00
Joe Kearney
8c98a45a4a WIP: New BLE 2025-02-03 20:50:30 -06:00
2 changed files with 18 additions and 1 deletions

View file

@ -157,6 +157,11 @@ SystemKResult_T SETTINGS_get_uint32_t(SystemKSettingID_T id, uint32_t *value)
switch (id) switch (id)
{ {
case SYSTEMK_SETTING_DEVICE_TYPE:
*value = BLE_DEVICE_TYPE_32ESPECIAL;
return result;
break;
case SYSTEMK_SETTING_T_START_GAME_in_ms: case SYSTEMK_SETTING_T_START_GAME_in_ms:
key = "T_Start_Game_in_ms"; key = "T_Start_Game_in_ms";
break; break;
@ -202,6 +207,18 @@ SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value)
return result; return result;
} }
SystemKResult_T SETTINGS_get_device_name(char* name)
{
SystemKResult_T result = SYSTEMK_RESULT_NOT_IMPLEMENTED;
return result;
}
SystemKResult_T SETTINGS_set_device_name(char* name)
{
SystemKResult_T result = SYSTEMK_RESULT_NOT_IMPLEMENTED;
return result;
}
// Settings are saved on change in this implementation. // Settings are saved on change in this implementation.
SystemKResult_T SETTINGS_Save(void) SystemKResult_T SETTINGS_Save(void)
{ {

@ -1 +1 @@
Subproject commit 4fe072f2d3280b19aa53e197bd22ec44b174ff88 Subproject commit 58f379dc1871b06a7cde07e5e2b77e93f5aebaeb