Reworked BLE according to v0.12 of the KTag Beacon Specification #5

Merged
Joe merged 15 commits from BLE_Protocol_v0.12 into main 2025-09-01 17:44:10 +00:00
2 changed files with 3 additions and 1 deletions
Showing only changes of commit c514219ccc - Show all commits

View file

@ -27,5 +27,7 @@ SystemKResult_T BLE_ScanAndAdvertise(void);
SystemKResult_T BLE_SetAdvertisingData(BLE_AdvertisingData_T * data); SystemKResult_T BLE_SetAdvertisingData(BLE_AdvertisingData_T * data);
SystemKResult_T BLE_StopAdvertising(void); SystemKResult_T BLE_StopAdvertising(void);
SystemKResult_T BLE_StopScanning(void); SystemKResult_T BLE_StopScanning(void);
SystemKResult_T BLE_Quiet(uint32_t duration_ms);
SystemKResult_T BLE_Unquiet(void);
#endif // BLE_HW_INTERFACE_H #endif // BLE_HW_INTERFACE_H

View file

@ -30,7 +30,7 @@
#define ITEM_SIZE sizeof(KEvent_T) #define ITEM_SIZE sizeof(KEvent_T)
static StaticQueue_t StaticQueue; static StaticQueue_t StaticQueue;
static uint8_t QueueStorageArea[QUEUE_LENGTH * ITEM_SIZE]; static uint8_t QueueStorageArea[QUEUE_LENGTH * ITEM_SIZE];
QueueHandle_t xQueueEvents; static QueueHandle_t xQueueEvents;
static void Remap_Event(KEvent_T *event) static void Remap_Event(KEvent_T *event)
{ {