I need to pass 0xc002 (10100000 11000010) as optional Source Port for OMA-DM
push notification. Since in java there is no unsigned byte, I tried to cast
0xc002 back to short (11111111 11111111 10100000 11000010 in hope that
new OptionalParameter.Short(OptionalParameter.Tag.SOURCE_PORT, (short) 41154)
will properly handle last 2 bytes to pdu builder. But it did not work.
Any advise?
Thanks,
Fike.
Original issue reported on code.google.com by ffal...@adastragroupinc.com on 17 Sep 2011 at 10:28
Original issue reported on code.google.com by
ffal...@adastragroupinc.com
on 17 Sep 2011 at 10:28