p3root / p3bble Goto Github PK
View Code? Open in Web Editor NEWA .NET WP8/WinRT Framework for Pebble SmartWatch
License: Other
A .NET WP8/WinRT Framework for Pebble SmartWatch
License: Other
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.