modified java of bluetooth