added explicit length to memcpy
revert 3.0.79 changes to bluetooth