I lose data communication after my ipad goes to sleep or I don’t get anything when I plug in Cerise when my ipad is locked.

Apple has a setting you may want to try to enable.  

Otherwise you can make sure background activity is enabled in your app.