tbr | So, I have an initial scratcher for my itch: https://github.com/dm8tbr/irssi-mqtt-notify | 12:42 |
---|---|---|
tbr | I now can either hack that to also have a notification sound and vibra, or rather start working on a proper mqtt-dbus broker in c or cpp (neither are my favourite languages though) | 12:44 |
kimmoli | too warm to even think starting sdk now... | 14:06 |
*** someoneelse has joined #sailfishos-push | 16:10 | |
someoneelse | tbr: So, does the irssi notify work for you? | 16:11 |
someoneelse | tbr: So, does the irssi notify work for you? | 16:11 |
tbr | (just testing and making screenshots), sorry for spam | 16:13 |
someoneelse | tbr: So, does the irssi notify work for you? | 16:13 |
*** someoneelse is now known as tbr-test | 16:13 | |
*** tbr-test has left #sailfishos-push | 16:13 | |
*** tbr is now known as itsamemario | 16:28 | |
*** itsamemario is now known as tbr | 16:28 | |
kimmoli | multiple personlaity tbr | 16:46 |
tbr | yes | 16:47 |
kimmoli | seems to work the | 16:50 |
kimmoli | n | 16:50 |
kimmoli | yessterday, i was in not so good network coverage, 3g no comms, but wifi found. my mqtt-testapp went nonresponding with publishing | 16:51 |
tbr | I have a bug in mine, I don't handle the case at all where I lose the connection. :) | 16:54 |
tbr | I'm actually looking into that now, but we know that during sleep things are infinitely slow on the phone | 16:55 |
tbr | I'm wondering though if there is any way to still have the mqtt connection serviced properly | 16:56 |
kimmoli | how it si done for e.g. IM / google and others? | 16:59 |
kimmoli | noticed also that even during phonecall, the phone goes to sleep | 16:59 |
tbr | yes, that was also my thought | 17:02 |
kimmoli | hmm. when i subscribe, i get 1-2 old messages, http://pastebin.com/vkdEFuUj | 17:25 |
kimmoli | or seems i get last message from every topic which /# covers or something like that | 17:25 |
tbr | were those sent with the retain flag? | 17:28 |
tbr | if yes you can clear them with the pub command and substituting -m for -r -n | 17:29 |
tbr | retained messages are always resent upon reconnection | 17:29 |
tbr | there is also that thing about QoS, but I need to read up and test that myself first | 17:30 |
kimmoli | öm | 17:30 |
kimmoli | ah , yeah, retain == true, https://github.com/kimmoli/mqtt-test/blob/master/src/mqtt.cpp#L162 | 17:32 |
tbr | :) | 17:35 |
*** lbt_ is now known as lbt | 23:25 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!