Hi.
I have a product based on SL6087 SW modem. I’d like to disable AT command execution from the power up moment. There is a piece of code which changes FCM flow in the application using “adl_fcmSwitchV24State” function and it works great, but there is a slight moment before application start, when AT commands are handled, so it is possible to send “AT+WOPEN=0” command to disable application and “hack” the device. Desired communication scheme is described as follows:
UART1 - own protocol, AT commands after authentication (software switch using FCM)
UART2 - not supported by hardware
USB - not supported by hardware.
Is it possible disable UART1 and enable it within application AFTER fcm switch?
I would appreciate any help.
Remember that even if you switch your modem to data mode with adl_fcmSwitchV24State function, external applications can still switch it back to AT mode with “+++” sequence. So you should control your uart handler to keep being in data mode always.
But i think you can not prevent any external application attemps breaking the data mode with “+++”. This will bother your open at application. You can also think about phisical protection for uart port insead.