Gemalto is now part of the Thales Group, find out more.

You are here

AT^SJDL format of sent data | Thales IoT Developer Community

Jure

May 7, 2015 - 4:03pm, 1499 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