Closed Bug 914683 Opened 11 years ago Closed 6 years ago

B2G Emulator: add console commands for WAP PUSH

Categories

(Firefox OS Graveyard :: Emulator, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: vicamo, Unassigned)

References

Details

Attachments

(2 files)

Right now we have to use some online SMS service to send WAP Push messages to a physical device for testing.  We really need a way for easier development and for automation test process as well.

WAP Push is basically binary SMS, so we should be able to add some emulator console commands to create such binary message and reuse 'sms pdu <hexstring>' command to achieve this goal.
Component: General → Emulator
We can already do testing in the emulator by using 'sms pdu <pdu_encoded_message>', see bug 891762 comment 11. However we have no easy way to encode a message in the proper format, Chuck Lee had sent me the commands listed in that comment but I don't know how he obtained them. It would be handy to have a tool that given the original WAP Push message (which is just an XML file) and sender would do the appropriate conversions and generate the resulting PDU string for use in the emulator.
(In reply to Gabriele Svelto [:gsvelto] from comment #1)
> It would be handy to have a tool that given the original WAP Push message
> (which is just an XML file) and sender would do the appropriate conversions
> and generate the resulting PDU string for use in the emulator.

Attached are screen shots from Enpei.  The original motivation here is to allow easier emulator-based tests for QA people, so that they can write some human readable commands instead of terrifying hex octets.  But yes, having a tool for such conversion might also work, but just not as easy as built-in commands.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: