fixed bugs in bluetooth wraper (undefined function, and arguments in wrapped functions)