add bluetooth API (not complete)