WIP: New BLE

This commit is contained in:
Joe Kearney 2025-02-03 20:50:30 -06:00
parent af01bfed91
commit 8c98a45a4a
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)
{
case SYSTEMK_SETTING_DEVICE_TYPE:
*value = BLE_DEVICE_TYPE_32ESPECIAL;
return result;
break;
case SYSTEMK_SETTING_T_START_GAME_in_ms:
key = "T_Start_Game_in_ms";
break;
@ -202,6 +207,18 @@ SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value)
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.
SystemKResult_T SETTINGS_Save(void)
{