Using SIM Card with Pin Code in STM32CubeExpansion_Cloud_AZURE_V1.2.1
I am using board P-L496G-CELL0x and STM32CubeExpansion_Cloud_AZURE_V1.2.1 software. When I use a SIM card without a Pin Code, the program works fine and I can connect to Microsoft Azure. But the problem is that when the SIM card has a Pin Code, the program does not run and does not ask me for a Pin Code in the terminal.
What should I do to use the SIM card with Pin code?
There is a function in the program called:
at_status_t called fCmdBuild_CPIN (atparser_context_t * p_atp_ctxt, atcustom_modem_context_t * p_modem_ctxt) That is related to the PIN code, but I do not know how to use it and what other functions may should use.
