Microsoft Band Exception: 0xA0D4000A

I recently launched the Microsoft Band app for Windows Phone 8.1. The application mainly uses UV sensors. But the problem here is not UV, but simply sending a notification.

The code that sends the notification to the group looks like this: (And where does it go to the exception):

await bandClient.NotificationManager.SendMessageAsync(tileGuid, "Title", "Body", DateTimeOffset.Now, MessageFlags.ShowDialog);


full exception :

(Exception parameter is below this question)
Handled = false
"Device status code: 0xA0D4000A received"


Ejected from the file App.gics:

        UnhandledException += (sender, e) =>
            if (global::System.Diagnostics.Debugger.IsAttached) global::System.Diagnostics.Debugger.Break();


I searched the web for this exception but no result. The weird part is that actually at some point this code worked and sent a notification. It also posted some exception from Transport and Stream, but I cannot re-handle those exceptions again right now.

I did :

  • Factory reset the Group and reconnect (Deregister, etc.).
  • Restart your phone and try other phones.
  • Moved notification to be sent later or earlier in code.

Does anyone have any ideas or anything that can be done and what could be wrong

Exception parameter :

+       Exception   {Microsoft.Band.BandOperationException: Device status code: 0xA0D4000A received.
   at Microsoft.Band.BandClient.CheckStatus(CargoStatus status, CommandStatusHandling statusHandling)
   at Microsoft.Band.BandClient.SendNotification[T](UInt16 notificationId, Guid& tileId, T& notificationInfo, PooledBuffer payload)
   at Microsoft.Band.BandClient.SendMessage(Guid& tileId, String title, String body, DateTimeOffset timestamp, MessageFlags flags, CancellationToken token)
   at Microsoft.Band.BandClient.<>c__DisplayClass11.<SendMessageAsync>b__10()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Uvicorn.PivotPage.<ThrowNotification>d__26.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__3(Object state)
   at System.Threading.WinRTSynchronizationContext.Invoker.InvokeCore()}    System.Exception {Microsoft.Band.BandOperationException}



source to share

2 answers

Be sure to make sure that the Tile with the GUID passed to the SendMessageAsync () method was first added to the group (for example, after a factory reset).



Can you send a notification to a group not going through the tile? Just a vibrating notification? Those don't require tiles. I would like to exclude tiles as a problem.



All Articles