Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Running on Ubuntu? #1

@brweber2

Description

@brweber2

I'm trying to get this project working on an Ubuntu vm (Linux vagrant-ubuntu-trusty-64 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux). Rebar was choking on compiling the c files initially. I've since pushed past that by explicitly adding the bluetooth includes in bluetooth_interface.c.

However, now I'm getting the following error:

vagrant@vagrant-ubuntu-trusty-64:/vagrant/bluetooth$ rebar shell
==> bluetooth (shell)
Erlang R16B03 (erts-5.10.4) [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V5.10.4 (abort with ^G)
1> bluetooth_interface:get_local_name().
** exception error: no match of right hand side value {error,{other,97}}
in function bluetooth_interface:get_local_name/0 (src/bluetooth_interface.erl, line 141)

I suspect that this is an issue with my VM not being able to properly access bluetooth from the host OS but I'm not sure yet. So, have you tried this on Ubuntu? Any suggestions? Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions