摘要 |
<p>The present invention discloses an apparatus and a method for service debugging for JAVA applications in a Machine to Machine (M2M) terminal. Attention (AT) message interaction between a JAVA middleware and an M2M protocol stack is implemented through a set adapted interaction interface. AT message interaction between the M2M protocol stack and an M2M platform is implemented through a set uniform operating system interface to perform M2M service debugging. Application of the apparatus and method of the present invention enables that the service debugging independent of devices for a JAVA application in an M2M terminal is performed on a Personal Computer (PC) via a wired network, so as to solve the problem that the service debugging for the JAVA application cannot be performed on the PC due to no service simulator in the JAVA application development kit in the M2M terminal, thus effectively improving the debugging efficiency for the JAVA application in the M2M terminal, and increasing the degree of satisfaction of secondary developers.</p> |