Giter Site home page Giter Site logo

p3bble's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

p3bble's Issues

Сould not connect from WP8.1

Hi.
I try to run the example in readme, but await pebbles[0].ConnectAsync(); returns false every time.
This is my code:

            var pebbles = await P3bble.P3bble.DetectPebbles();
            if (pebbles != null && pebbles.Count > 0)
            {
                bool connected = await pebbles[0].ConnectAsync();
                var message = String.Empty;
                if (connected)
                {
                    message = "connected to " + pebbles[0].DisplayName;
                }
                else
                {
                    message = "cannot connect";
                }
                var dialog = new MessageDialog(message);
                await dialog.ShowAsync();
            }

Of course I added into Package.appxmanifest the following code:

    <m2:DeviceCapability Name="bluetooth.rfcomm">
      <m2:Device Id="any">
        <m2:Function Type="serviceId:00001101-0000-1000-8000-00805f9b34fb" />
      </m2:Device>
    </m2:DeviceCapability>

Pebble AF57.
Do you have any ideas?
Thanks.

Make project WP8.1 compatible

I get the following error if I try to add the P3bble library to my WP8.1 project with "Install-Package P3bble":

Install failed. Rolling back...
Install-Package : Could not install package 'Microsoft.Net.Http 2.2.18'. You are trying to install this package into a project that
targets 'WindowsPhoneApp,Version=v8.1', but the package does not contain any assembly references or content files that are compatible
with that framework. For more information, contact the package author.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.