Updated this repo to same functionalities as bluetooth version