Linux bluetooth development
 help / color / mirror / Atom feed
* mesh: Handling application failures on Create/Join/Import
@ 2019-12-17 18:43 Michał Lowas-Rzechonek
  2019-12-17 18:47 ` Michał Lowas-Rzechonek
  0 siblings, 1 reply; 9+ messages in thread
From: Michał Lowas-Rzechonek @ 2019-12-17 18:43 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: brian.gix, inga.stotland

Hi,

I've noticed an issue with Create/Join/Import calls: when application
performs one of these calls and fails to save the resulting token (for
whatever reason), the node created on the daemon side is pretty much
unusable. It's also rather hard to get rid of, as the daemon won't even
expose them over D-Bus when application is not Attach()ed.

I would like to discuss possible solutions to this. 

One of the ideas is to give the application some time to successfully
Attach() itself to the new node, otherwise it gets removed.

Another possibility would be to remove "created but never attached" nodes on
daemon restart.

Thoughts?

regards
-- 
Michał Lowas-Rzechonek <michal.lowas-rzechonek@silvair.com>
Silvair http://silvair.com
Jasnogórska 44, 31-358 Krakow, POLAND

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-12-17 22:09 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-17 18:43 mesh: Handling application failures on Create/Join/Import Michał Lowas-Rzechonek
2019-12-17 18:47 ` Michał Lowas-Rzechonek
2019-12-17 18:56   ` Gix, Brian
2019-12-17 19:01     ` Gix, Brian
2019-12-17 19:11       ` michal.lowas-rzechonek
2019-12-17 19:18         ` Gix, Brian
2019-12-17 20:06           ` michal.lowas-rzechonek
2019-12-17 21:11             ` Stotland, Inga
2019-12-17 22:09               ` Gix, Brian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox