flint icon indicating copy to clipboard operation
flint copied to clipboard

Not able to connect

Open rlbisbe opened this issue 11 years ago • 3 comments

Using the flint 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?

rlbisbe avatar Oct 06 '14 22:10 rlbisbe

You may consider taking a look at the updated project I have been working on and try running the demo WP project: https://github.com/Keboo/PebbleSharp (hopefully soon I will get it released as a nuget). I suspect you likely need to edit your manifest to add the required capability (I had tons of weird misleading exceptions that were raised). You cannot do this through the UI, you need to open the manifest file as XML or in any text editor. You can look at the demo application if the aforementioned repository to see the rfcom capability that needs to be added.

Keboo avatar Oct 06 '14 23:10 Keboo

Thanks a ton for the response! Unfortunately it gives the same exception of this project :(

rlbisbe avatar Oct 07 '14 05:10 rlbisbe

Hi,

I have the same error in this and P3bble libraries. This is issue: P3bble:#4. So, have anybody found a solution to the problem?

rut4 avatar Feb 15 '15 08:02 rut4