ESMs JAVA SMS procedures, called gateway, first of all you need to know which carrier you want to send the message what do you want to connect, which means you what are the Gateway Protocol packets
CMPP China Mobile agreement with 2 two Unicom is SGIP Netcom SNGP