can any one give idea about how to send acknowledgment from server to device. GPS(Global Positioning System ) sending one IMEI(International Mobile Equipment Identity) number and after that its needed acknowledgment in hexadecimal format(01).Once server send acknowledgment then only we get raw-packet through socket programming.
任何人都可以了解如何从服务器向设备发送确认。 GPS(全球定位系统)发送一个IMEI(国际移动设备身份)号码,然后以十六进制格式发送其所需的确认(01)。一旦服务器发送确认,那么我们只通过套接字编程获得原始数据包。
1 个解决方案
#1
0
int ack = 12;
String acknowledgement = Integer.toHexString(ack);
#1
0
int ack = 12;
String acknowledgement = Integer.toHexString(ack);