Unable to get uart shell command response on uart0 for SLM application

i have used same Serial_lte_modem sample code from nordic toolchain 2.6.0 , Enabled shell just by setting config macro 

CONFIG_SHELL=y  and SLM uart loging is by default enbaled for uart0 , so i moved it for uart2 in overlay file and at commands working properly for uart2 ,
uart0 is also showing internal logs whihc are in default sample, and uart:~$ symbol also comming in green color as per default configurations but there is not any response comming for 
help command and also not for my custom command test command.

so, my question is , is there any problem between modem and shell operation.

Machine : Windows
Toolchain :2.6.0
Development env : vscode
  • Okay, i got shell commands working.

    Problem was due to these 2 pin definations ,

    CONFIG_SLM_POWER_PIN=6
    CONFIG_SLM_INDICATE_PIN=2

    As "CONFIG_SLM_POWER_PIN" was used as condition checking so if this enabled then halndler will be assigned to go for sleep or not based on signal over pin, after getting required state of pin as interrupt it was disabling uart peripheral before going to sleep , due to that shell commands were not responding.

    correct me, if anything , i just misunderstood!!

    ~shivam

Related