Can decode frames,but have some problems in inputbuffer data