Closed Bug 897015 Opened 11 years ago Closed 11 years ago

B2G Emulator: support switching preferred network type in console command

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: edgar, Assigned: edgar)

References

Details

Attachments

(1 file)

Currently the preferred Network Type is GSM/WCDMA, so it is failed to switch to cdma by using 'modem tech' console command.
To fix this, maybe we could consider to make 'modem tech' can also support switching preferred network type.
To support switching preferred network type, I extent 'modem tech' command as below:

* 'modem tech': allows you to display the current state of emulator modem.

* 'modem tech <technology>': allows you to change the technology of emulator modem.

* 'modem tech <technology> <mask>': allows you to change the technology and preferred mask of emulator modem.
Attachment #780160 - Flags: review?(vyang)
Commented on GitHub.
Comment on attachment 780160 [details]
external/qemu pull request #42

(In reply to Vicamo Yang [:vicamo][:vyang] from comment #3)
> Commented on GitHub.

Cancel review based on the review comment in github. I will request review again when the new patch is ready. thanks.
Attachment #780160 - Flags: review?(vyang)
Comment on attachment 780160 [details]
external/qemu pull request #42

Update new patchtes in github, request review again.
Attachment #780160 - Flags: review?(vyang)
No longer blocks: 887690
Blocks: 899004
(In reply to Edgar Chen [:edgar][:echen] from comment #5)
> Comment on attachment 780160 [details]
> external/qemu pull request #42
> 
> Update new patchtes in github, request review again.

Have a unused variable 'nn'.  Mind having another minor fix?
(In reply to Vicamo Yang [:vicamo][:vyang] from comment #6)
> (In reply to Edgar Chen [:edgar][:echen] from comment #5)
> > Comment on attachment 780160 [details]
> > external/qemu pull request #42
> > 
> > Update new patchtes in github, request review again.
> 
> Have a unused variable 'nn'.  Mind having another minor fix?

Sure, I will fix it. Thanks
Attachment #780160 - Flags: review?(vyang) → review+
Merged on GitHub: https://github.com/mozilla-b2g/platform_external_qemu/commit/38a125bf09a8c16847eb523e2294a41922a20c71
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
No longer blocks: 792660
Depends on: 979169
No longer depends on: 1009393
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: