switch from Data mode to AT mode (FCM)

Solved it.
In case you get blocked into Data mode use just the escape command (+++):

  1. Power on device, connected to serial
  2. In the console command type:
+++
  1. Press Enter

You may have to repeat steps 2 and 3 several times.

The device should return OK
Then you can stop the app with:

at+wopen=0

After that reset and delete the application