add adapter but it's not work properly
adapter is work!
remove debug
add reset buffer method
bemicro works
unfinished