This repository was archived by the owner on Feb 24, 2021. It is now read-only.

Description
Using the PebbleSharp sample, trying to connect to my pebble from my Windows Phone 8.1 (Lumia 1520). I'm having the following exception:
Element not found. (Exception from HRESULT: 0x80070490)
The exception rises on the PebbleScanner:
public async Task OpenAsync()
{
try
{
await _socket.ConnectAsync( _PeerInformation.HostName, "1" );
_streamWatcher = new StreamWatcher( _socket.InputStream );
_streamWatcher.DataAvailible += StreamWatcherOnDataAvailible;
}
catch ( Exception e )
{
Debug.WriteLine( e.ToString() );
}
}
For more information, I have a Pebble with firmware 2.6
Any idea on this?
BTW, if you need help with the project, I'd be happy to contribute ;)