You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.
Hi Eti2704. Unfortunately I do not have a straight answer for you. This library was originally base don the flint project, and I took a lot of the information needed to build this from libpebble (https://github.com/Hexxeh/libpebble/). So PebbleSharp is certainly lacking some of the latest additions to the SDK.
With that said, to answer your question. If you connect your pebble with a PC and run the Demo WPF app you should see your app message come through. Start with a break point in ResponseManager.HandleResponse. If you still don't see the app message you expect move up to PebbleProtocol.ReadAndProcessBytes().
Once you know what the response should look like. You can register a callback to response to the message when it is received. See PebbleMediaViewModel for an example of how I did this to handle the music controls (though it is worth noting that in the latest firmware release something has changed so the messages are not getting though).
I suspect it will take some digging into PebbleKit (https://github.com/pebble/pebble-android-sdk/) to determine exactly what the message needs to look like. There are certainly updates and improvements that need to be made to the library but right now I have very limited free time to make the updates.
Hey folk,
Using PebbleSharp... what is the best way to send an ack message to the PebbleApp after receiving an AppMessage from this PebbleApp...
Any help would be appreciated.
Thx
cheers,
Eti
The text was updated successfully, but these errors were encountered: