Reworked BLE according to v0.11 of the KTag Beacon Specification (#2)
This was done to support the new KTag Konfigurator app, which Jack created for his Senior Design project. Co-authored-by: Joe Kearney <joe@clubk.club> Reviewed-on: #2
This commit is contained in:
parent
4fe072f2d3
commit
bfcdf4c354
26 changed files with 917 additions and 128 deletions
|
@ -21,21 +21,30 @@
|
|||
|
||||
#ifndef SETTINGS_INTERFACE_H
|
||||
#define SETTINGS_INTERFACE_H
|
||||
|
||||
#define SYSTEMK_MAX_CHARS_IN_DEVICE_NAME 16
|
||||
|
||||
typedef enum
|
||||
{
|
||||
SYSTEMK_SETTING_DEVICE_TYPE,
|
||||
SYSTEMK_SETTING_IS_RIGHT_HANDED,
|
||||
SYSTEMK_SETTING_AUDIO_VOLUME,
|
||||
SYSTEMK_SETTING_TEAMID,
|
||||
SYSTEMK_SETTING_PLAYERID,
|
||||
SYSTEMK_SETTING_WEAPONID,
|
||||
SYSTEMK_SETTING_T_START_GAME_in_ms
|
||||
SYSTEMK_SETTING_MAX_HEALTH,
|
||||
SYSTEMK_SETTING_N_SPECIAL_WEAPONS_ON_REENTRY,
|
||||
SYSTEMK_SETTING_T_START_GAME_in_ms,
|
||||
SYSTEMK_SETTING_T_GAME_LENGTH_in_ms,
|
||||
SYSTEMK_SETTING_SECONDARY_COLOR
|
||||
} SystemKSettingID_T;
|
||||
|
||||
SystemKResult_T SETTINGS_get_uint8_t(SystemKSettingID_T id, uint8_t * value);
|
||||
SystemKResult_T SETTINGS_set_uint8_t(SystemKSettingID_T id, uint8_t value);
|
||||
SystemKResult_T SETTINGS_get_uint32_t(SystemKSettingID_T id, uint32_t * value);
|
||||
SystemKResult_T SETTINGS_set_uint32_t(SystemKSettingID_T id, uint32_t value);
|
||||
SystemKResult_T SETTINGS_get_device_name(char* name);
|
||||
SystemKResult_T SETTINGS_set_device_name(char* name);
|
||||
SystemKResult_T SETTINGS_Save(void);
|
||||
|
||||
#endif // SETTINGS_INTERFACE_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue