Firefox OS/QA/Cellboardcast
From MozillaWiki
< Firefox OS | QA
- Cellbroadcast and CMAS currently can be tested by emulator.
- How to test
- Have a B2G-emulator build.
- Run the emulator: ~/B2G-emulator$./run-emulator.sh
- Connect to the console of the emulator: $telnet localhost 5554
- Type a console command "cbs pdu <<cbs_string>>" to simulate sending a CBS message to the dut
- CMAS
- cbs pdu 011112C005010154741914AFA7C76B9058FEBEBB41E6371EA4AEB7E173D0DB5E9683E8E832881DD6E741E4F7B9D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D10026
- cbs pdu 01112FC005010154741914AFA7C76B9058FEBEBB41E6371EA4AEB7E173D0DB5E9683E8E832881DD6E741E4F7B9D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D10026
- You can try any message id between 1112 and 112F.
- CELL BROADCAST
- cbs pdu
010000C005010154741914AFA7C76B9058FEBEBB41E6371EA4AEB7E173D0DB5E9683E8E832881DD6E741E4F7B9D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D168341A8D46A3D10026
- You can try any message id between 0000 and 03E7.