Pulled in the latest SystemK (with BLE v0.12) #5

Merged
Joe merged 14 commits from BLE_Protocol_v0.12 into main 2025-09-01 18:05:45 +00:00
2 changed files with 18 additions and 1 deletions
Showing only changes of commit b537d226ec - Show all commits

View file

@ -280,6 +280,23 @@ SystemKResult_T BLE_ScanAndAdvertise(void)
return result; return result;
} }
SystemKResult_T BLE_StopScanning(void)
{
SystemKResult_T result = SYSTEMK_RESULT_NOT_READY;
if (Host_And_Controller_Synced == true)
{
if (Is_Scanning == true)
{
ble_gap_disc_cancel();
Is_Scanning = false;
}
result = SYSTEMK_RESULT_SUCCESS;
}
return result;
}
SystemKResult_T BLE_StopAdvertising(void) SystemKResult_T BLE_StopAdvertising(void)
{ {
SystemKResult_T result = SYSTEMK_RESULT_NOT_READY; SystemKResult_T result = SYSTEMK_RESULT_NOT_READY;

@ -1 +1 @@
Subproject commit 2efb4f5183acd313f28f6a8f20b041053a47c2e1 Subproject commit fb1a4ab07b990fef8f957ef7c5f806649e126d0f