Here’s the command:
String command = “hcicmd -p medi_omni1 -c lawson_dft_IC500 pstop'”;
try {
System.out.println(”IC500 Java: Running command:” + command);
Process child = Runtime.getRuntime().exec(command);
} catch (IOException e) {
e.printStackTrace();
}
Here’s the engine output
IC500 Java: Running command:hcicmd -p medi_omni1 -c lawson_dft_IC500 pstop’
IC500 Java: We will CONTINUE the message because value of test is false
(RESEND_OB_MSG/meditech_dft_send1) Called with invalid context!
(RESEND_OB_MSG/meditech_dft_send1) Should be REPLY GENERATION only
(RESEND_OB_MSG/meditech_dft_send1) Continuing msg.
[cmd :cmd :INFO/0:medi_omni1_cmd:08/12/2011 13:48:35] Receiving a command
[cmd :cmd :INFO/0:medi_omni1_cmd:08/12/2011 13:48:35] Received command: ‘lawson_dft_IC500’
[cmd :cmd :INFO/0:medi_omni1_cmd:08/12/2011 13:48:35] Cmd null in ‘lawson_dft_IC500’
[cmd :cmd :INFO/0:medi_omni1_cmd:08/12/2011 13:48:35] Receiving a command
[cmd :cmd :INFO/0:medi_omni1_cmd:08/12/2011 13:48:35] Command client went away. Closing connection.