Hi Nick,
Following is the Diag request I am sending to the HSM. On the SIM I do see my command coming in, however I am getting a Command Not found as response from the HSM. Please help, it has been over 10 years since I had programmed, not sure if anything has changed on the RG Programming.
bt[_idxbt++]=(0x00); //header Length
bt[_idxbt++]=(0x08);
bt[_idxbt++]=(0x31);
bt[_idxbt++]=(0x32);
bt[_idxbt++]=(0x33);
bt[_idxbt++]=(0x34);
bt[_idxbt++]=(0x4E);//N
bt[_idxbt++]=(0x43);//C
bt[_idxbt++]=(0X00);
bt[_idxbt++]=(0x00);
for(int k=0;k<_idxbt;k++)
msgRacal.put(bt[k]);
After this there is Send to Socket.
Thanks in Advance