Correct and develop bluetooth interface further

* Also add an Erlang test server for accepting a connection and receiving data