output.write(NFC, 0, lengthOfID);
output.flush();
- byte[] next_packet_length = ByteUtil.int2byte(nfcMsg.getBytes().length);
- output.write(next_packet_length);
+ byte[] messasge = nfcMsg.getBytes();
+
+ ByteBuffer header = ByteBuffer.allocate(4);
+ header.putShort((short)messasge.length);
+ header.put((byte)0x00);
+ header.put((byte)0x00);
+ output.write(header.array(), 0, 4);
output.flush();
- byte[] main = nfcMsg.getBytes();
- if (main.length > 0)
+ if (messasge.length > 0)
{
- output.write(main, 0, main.length);
+ output.write(messasge, 0, messasge.length);
}
output.flush();
result = true;
+* 0.2.73
+- modify sending message rountine at the nfc event
+- need emuld version - 0.2.22
+== jihye kim <jihye1128.kim@samsung.com> 2012-11-21
+
* 0.2.72
- modify fixed accuracy value.
== Sooyoung Ha <yoosah.ha@samsung.com> 2012-11-21
Source:eventinjector-eplugin
-Version:0.2.72
+Version:0.2.73
Maintainer:yeongkyoon Lee <yeongkyoon.lee@samsung.com>, sungmin Ha <sungmin82.ha@samsung.com>
Package:eventinjector-eplugin