Closed KeitaKashima closed 6 months ago
HI @KeitaKashima , Thanks for bringing this up. We have not observed this. Do you have a use case where you are seeing this behavior
Hi @shubnil ,
Thank you for your reply. I have never seen the lock of the system here. I just checked the implementation of the Semaphore portion.
Hi @KeitaKashima, The PktRespMutex is used to protect the cellular context which can be accessed by the pktio thread and the application thread. The code with the mutex held should not block indefinitely, and no timeout is expected with the mutex lock operation. You can reference the example implementation in this file.
Hi, I wonder the system would be locked or not work properly if PlatformMutex_Lock API cannot get Mutex or happened the timeout of Mutex.
https://github.com/FreeRTOS/FreeRTOS-Cellular-Interface/blob/ccbd0fcce06fcb7b842bed61f207523c8f271fcb/source/cellular_common_api.c#L211
Does it nerver happnened?