Modify mcu side to send a larger buffer of raw IR data (enlarge from 800 to 1024 samples)
Modify server side code to accept extended raw IR data packets