Gaia/Network Alerts: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "== Development Team == You'll be able to find the current team on the Firefox OS modules page. The Network Alerts team is part of the lar...")
(No difference)

Revision as of 03:29, 10 April 2015

Development Team

You'll be able to find the current team on the Firefox OS modules page.

The Network Alerts team is part of the larger Comms team.

Design Specs

See the CMAS user story in 2.1 features.

Source Code

The source code can be found in the gaia repository in github.

IRC

You can find us on the IRC server irc.mozilla.org, channel #fxos-comms(There is no specific channel for network-alerts, but you could still find devs here).

Filing bugs

You can file bug on Bugzilla. Please include the Firefox OS version you use, and possibly a screenshot or a video.

Debugging with emulator

Firstly you will need a emulator build to run the emulator and enter the command "cbs pdu [PDU_HEXSTRING]" for firing the fake alert message. Here is the example:

cbs pdu C0021112011154741914AFA7C76B9058FEBEBB41E6371EA4AEB7E173D0DB5E9683E8E832881DD6E741E4F7B9D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D100

The bold "1112" is the message identifier and this ID represents different channel. Please reference |9.4.1.2.2 Message Identifier| in spec.

The alert message structure

Please reference the CellBroadcast in gecko layer

Some future development

Handling all alert message in network-alerts app

  • bug 1093922: Currently we only handled CMAS message in network-alerts and handled rest of cell-broadcast messages in system app cellbroadcast module. In long term we will need to remove this module from system and handle all the alert message in network-alerts app.