AT^SJDL format of sent data | Telit Cinterion IoT Developer Community
May 7, 2015 - 4:03pm, 4087 views
Hi,
I am trying to make PC Java program that sends file to Gemalto BGS5T over RS232. File gets created but when I try to upload .jar or .jad and connect with MES to modules folder and copy file back to computer it says: "Name of file" cannot be copied: Catastrophic failure. But if it's ordinary .txt file then everything is ok.
Here is the code which handles this: http://pastebin.com/cjr9VPAa (It just takes the file, converts it to byte array and sends that byte array.)
What is the diffrence when I upload .txt and .jar, .jad?
Best regards
Jure
Hi Jure,
For application protection purpose and to avoid that your application is extracted from a deployed device, Jar copy from module flash file system to PC is not allowed. You can only delete copy jar files to module ffs or delete them.
Thanks,
Loic
Hi Loic
I wasn't awere of that. Before I was uploading some jar that was made for PC and the copying it back. But now I uploaded some .jar for BGS5T and tryied runing it and it works. I wasn't awere of that restrictions.
Thank you,
Best regards