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

@ -241,7 +241,7 @@ void COMM_BLE_Task(void * pvParameters)
}
break;
case COMM_BLE_SCANNING_AND_ADVERTISING:
case COMM_BLE_SCANNING_AND_ADVERTISING:
{
TRACE_BLE_STATE_ENTRY("COMM_BLE_SCANNING_AND_ADVERTISING");
@ -332,6 +332,14 @@ SystemKResult_T BLE_ScanAndAdvertise(void)
return SYSTEMK_RESULT_SUCCESS;
}
SystemKResult_T BLE_StopAdvertising(void)
{
COMM_BLE_Command_T command = { .ID = COMM_BLE_STOP_ADVERTISING, .Data = (void *)0x00 };
xQueueSend(COMM_BLE_CommandQueue, &command, 0);
return SYSTEMK_RESULT_SUCCESS;
}
void COMM_BLE_RequestState(COMM_BLE_StateID_T state)
{
Next_State = state;