Reply
Thread Tools
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#11
Something might also show up in journal.
__________________
Dave999: Meateo balloons. What’s so special with em? Is it a ballon?
 
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#12
Originally Posted by rob_kouw View Post
Next Monday would offer a chance to find out how the Dutch system works.

https://crisis.nl/nl-alert/ : "NL-Alert Controlebericht - Maandag 8 juni 2020 rond 12.00 uur zendt de overheid een NL-Alert controlebericht uit in heel Nederland."

What method to use? I found ofono as a system bus service that may be privileged. https://sailfishos.org/wiki/D-Bus_AP...m_bus_services
In SFOS 3.3.0 libofono was added, including QML bindings with explicit cell broadcast support. That might be easier and more reliable as experiment to see if the alert is picked up. But, in the end this should be part of SFOS, or at least background services should be allowed in Harbour.
 

The Following 6 Users Say Thank You to Fuzzillogic For This Useful Post:
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#13
Based on the example in that library I created a test app. First result is that OfonoCellBroadcast is disabled. I'll try to switch it on later, and add a Github link.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 8 Users Say Thank You to rob_kouw For This Useful Post:
spag's Avatar
Posts: 121 | Thanked: 275 times | Joined on Oct 2009 @ Blackhawk Island
#14
I've found an interesting article about Cell Broadcast (or lack thereof) in the UK and how it could be used as an Emergency Alert Platform.

https://medium.com/flood-digital-ser...k-a4b28f2d910e

Maybe it will help to clarify some concepts behind how it all operates.
 

The Following 3 Users Say Thank You to spag For This Useful Post:
spag's Avatar
Posts: 121 | Thanked: 275 times | Joined on Oct 2009 @ Blackhawk Island
#15
Originally Posted by rob_kouw View Post
Based on the example in that library I created a test app. First result is that OfonoCellBroadcast is disabled. I'll try to switch it on later, and add a Github link.
It it can be accessed over dbus that would open a way to create a simple app that could display such warnings.

Yes, a full integration into the OS would be better but waiting for Jolla to implement something that is rarely used and people generally don't care much about is pointless.

With the Boogaloo on the horizon in would be nice to know in time what the government oppressors are directing the population to do.
 

The Following 4 Users Say Thank You to spag For This Useful Post:
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#16
Unfortunately I have not made any progress. In the end I tried to add the enabling/disabling of the OfonoContextConnection, like the MouseArea does in the ofonotest code. But the status remains "offline".

Also the broadcast status seems to remain "disabled".

Feel free to try for yourself: https://github.com/cow-n-berg/harbour-broadcasted

P.S. After an hour of testing several times, suddenly the screenshot shows "enabled", but... I don't get it. It does not react to the buttons, it seems.
Attached Images
 
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 4 Users Say Thank You to rob_kouw For This Useful Post:
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#17
OfonoContextConnection changed to "online" when I went outside, and changed from wifi to mobile data. The search continues.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 4 Users Say Thank You to rob_kouw For This Useful Post:
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#18
OfonoCellBroadcast remained "disabled" today. I'm clueless. In the end I decided to show the entire OfonoCellBroadcast object, in case it becomes enabled again. The rpm is also on Github, I didn't bother changing the version number.
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 2 Users Say Thank You to rob_kouw For This Useful Post:
Posts: 301 | Thanked: 531 times | Joined on Aug 2010 @ The Netherlands
#19
Originally Posted by juiceme View Post
Something might also show up in journal.
What would be the best command to capture next Monday's broadcasting message?
__________________
Palm Treo -> N900 -> N9 -> Jolla -> SailfishX -> XA2
Developer mode novice, and enjoying it
 

The Following 4 Users Say Thank You to rob_kouw For This Useful Post:
Posts: 479 | Thanked: 1,284 times | Joined on Jan 2012 @ Enschede, The Netherlands
#20
Originally Posted by rob_kouw View Post
What would be the best command to capture next Monday's broadcasting message?
I've set up $ dbus-monitor > sessionbus.log and # dbus-monitor --system > sessionbus.log in screen session to log all dbus-things.

Here's my status (Provider:Simyo via KPN)
 

The Following 5 Users Say Thank You to Fuzzillogic For This Useful Post:
Reply

Tags
feature request, missing feature, notification


 
Forum Jump


All times are GMT. The time now is 23:13.