Why IR receiver at gadget not take the hex code?
Just send as raw data then. As the printouts tell you, protocol is unknown and data contains 129 bits. Neither Sony nor NEC protocols use 129 bits, and even if they could be customized to send 129 bits, they would be the wrong protocols for sending the bits. 129 bits do not fit into a 32-bit integer either, so D8396229 can't possibly contain the whole 129 bits of data you need to send, even if you could write the correct bit sending protocol.