From 785988400224cc832e94fed830dc4e57a128a04c Mon Sep 17 00:00:00 2001 From: YunHorn Technology Date: Fri, 12 Apr 2024 11:55:15 +0800 Subject: [PATCH] revise door open/close logic --- Core/Inc/main.h | 9 +++++++ .../Release/Middlewares/LoRaWAN/cmac.cyclo | 4 +++ .../Middlewares/LoRaWAN/lorawan_aes.cyclo | 5 ++++ .../Release/Middlewares/LoRaWAN/soft-se.cyclo | 25 +++++++++++++++++++ .../Middlewares/LoRaWAN/utilities.cyclo | 10 ++++++++ 5 files changed, 53 insertions(+) diff --git a/Core/Inc/main.h b/Core/Inc/main.h index bc418e7..f46a36d 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -99,6 +99,15 @@ void MX_TOF_Init(void); #define BUT2_EXTI_IRQn EXTI1_IRQn #ifdef STS_O5 // STS_O5_JP 2024-04-10 +/* --------------------------------------------------*/ +/* | HALL-1 (PA-0) VCC-GPIO-PB3 | */ +/* | | */ +/* | HALL-2 (PA-10) VCC-GPIO-PB-4 | */ +/* | | */ +/* | | */ +/* |------------------------------------------------ */ + + #define HALL1_OUT_Pin GPIO_PIN_0 #define HALL1_OUT_GPIO_Port GPIOA #define HALL1_OUT_EXTI_IRQn EXTI0_IRQn diff --git a/STM32CubeIDE/Release/Middlewares/LoRaWAN/cmac.cyclo b/STM32CubeIDE/Release/Middlewares/LoRaWAN/cmac.cyclo index e69de29..4b224cc 100644 --- a/STM32CubeIDE/Release/Middlewares/LoRaWAN/cmac.cyclo +++ b/STM32CubeIDE/Release/Middlewares/LoRaWAN/cmac.cyclo @@ -0,0 +1,4 @@ +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c:58:6:AES_CMAC_Init 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c:65:6:AES_CMAC_SetKey 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c:70:6:AES_CMAC_Update 7 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/cmac.c:108:6:AES_CMAC_Final 11 diff --git a/STM32CubeIDE/Release/Middlewares/LoRaWAN/lorawan_aes.cyclo b/STM32CubeIDE/Release/Middlewares/LoRaWAN/lorawan_aes.cyclo index e69de29..2ff02ed 100644 --- a/STM32CubeIDE/Release/Middlewares/LoRaWAN/lorawan_aes.cyclo +++ b/STM32CubeIDE/Release/Middlewares/LoRaWAN/lorawan_aes.cyclo @@ -0,0 +1,5 @@ +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/lorawan_aes.c:349:13:xor_block 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/lorawan_aes.c:376:13:copy_and_key 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/lorawan_aes.c:513:13:lorawan_aes_set_key 8 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/lorawan_aes.c:568:13:lorawan_aes_encrypt 3 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/lorawan_aes.c:597:13:lorawan_aes_cbc_encrypt 3 diff --git a/STM32CubeIDE/Release/Middlewares/LoRaWAN/soft-se.cyclo b/STM32CubeIDE/Release/Middlewares/LoRaWAN/soft-se.cyclo index e69de29..fe586d5 100644 --- a/STM32CubeIDE/Release/Middlewares/LoRaWAN/soft-se.cyclo +++ b/STM32CubeIDE/Release/Middlewares/LoRaWAN/soft-se.cyclo @@ -0,0 +1,25 @@ +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:577:23:SecureElementInit 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:681:23:SecureElementGetKeyByID 3 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:419:30:ComputeCmac 5 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:314:13:PrintKey 4 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:777:23:SecureElementDeleteDynamicKey 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:849:23:SecureElementSetObjHandler 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:992:23:SecureElementSetID 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1068:23:SecureElementComputeAesCmac 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1080:23:SecureElementVerifyAesCmac 3 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1149:23:SecureElementAesEncrypt 6 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:866:23:SecureElementSetKey.part.0 4 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:866:23:SecureElementSetKey 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1238:23:SecureElementDeriveAndStoreKey 5 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1328:23:SecureElementProcessJoinAccept 7 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1427:23:SecureElementRandomNumber 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1438:23:SecureElementSetDevEui 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1463:23:SecureElementGetDevEui 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:642:23:SecureElementInitMcuID 6 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1487:23:SecureElementSetJoinEui 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1512:23:SecureElementGetJoinEui 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1536:23:SecureElementSetDevAddr 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:1581:23:SecureElementGetDevAddr 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:347:13:PrintIds 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:742:23:SecureElementPrintKeys 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Crypto/soft-se.c:759:23:SecureElementPrintSessionKeys 1 diff --git a/STM32CubeIDE/Release/Middlewares/LoRaWAN/utilities.cyclo b/STM32CubeIDE/Release/Middlewares/LoRaWAN/utilities.cyclo index e69de29..9a4b23f 100644 --- a/STM32CubeIDE/Release/Middlewares/LoRaWAN/utilities.cyclo +++ b/STM32CubeIDE/Release/Middlewares/LoRaWAN/utilities.cyclo @@ -0,0 +1,10 @@ +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:56:6:srand1 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:62:9:randr 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:67:6:memcpy1 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:75:6:memcpyr 2 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:84:6:memset1 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:92:8:Nibble2HexChar 3 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:108:10:Crc32 4 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:130:10:Crc32Init 1 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:135:10:Crc32Update 4 +D:/ONEDRIVE/STM32WLV13/Middlewares/Third_Party/LoRaWAN/Utilities/utilities.c:156:10:Crc32Finalize 1