Closed
Bug 817952
Opened 12 years ago
Closed 11 years ago
B2G STKUI: Add support for STK_CMD_PROVIDE_LOCAL_INFO
Categories
(Firefox OS Graveyard :: Gaia::Settings, defect)
Tracking
(blocking-b2g:-)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: allstars.chh, Assigned: frsela)
References
Details
(Whiteboard: [u=commsapps-user c=stk p=0], [Sprint2])
Attachments
(1 file)
From Bug 804671, we implemented platform side of 'Provide local information', so this bug is required to handle that proactive command in gaia part.
Reporter | ||
Updated•12 years ago
|
Updated•12 years ago
|
blocking-b2g: --- → shira+
Whiteboard: [triaged:1/18]
Updated•12 years ago
|
Whiteboard: [triaged:1/18] → [mno11][triaged:1/18]
Updated•12 years ago
|
blocking-b2g: shira+ → ---
Whiteboard: [mno11][triaged:1/18]
Updated•11 years ago
|
blocking-b2g: --- → koi?
Assignee | ||
Comment 1•11 years ago
|
||
Tested with this commands and generated responses:
Location INFO:
I/GeckoDump( 829): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":{"localInfoType":0}}
I/GeckoDump( 829): [system] sendStkResponse -- # response = {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":2868,"gsmCellId":178793849}},"resultCode":0}
IMEI:
I/GeckoDump( 829): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":{"localInfoType":1}}
I/GeckoDump( 829): [system] sendStkResponse -- # response = {"localInfo":{"imei":"864899012583340"},"resultCode":0}
DATE/TIME:
I/GeckoDump( 829): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":{"localInfoType":3}}
I/GeckoDump( 829): [system] sendStkResponse -- # response = {"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0}
LANGUAGE:
I/GeckoDump( 829): [system] sendStkResponse to command: {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":{"localInfoType":4}}
I/GeckoDump( 829): [system] sendStkResponse -- # response = {"localInfo":{"language":"en"},"resultCode":0}
--
@sync-1@bugzilla.tld Can you check if this patch fixes 896346?
Assignee: nobody → frsela
Status: NEW → ASSIGNED
Attachment #784883 -
Flags: feedback?(allstars.chh)
Flags: needinfo?(sync-1)
Updated•11 years ago
|
Whiteboard: [u=commsapps-user c=stk p=0][Sprint2]
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Fernando R. Sela [:frsela] from comment #1)
{"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":0}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":
> 2868,"gsmCellId":178793849}},"resultCode":0}
I found in the IDL the mcc and mnc are still type of 'unsigned short', they should be DOMString now.
But I think your code would still work.
I'll file a bug to handle the 'unsigned short' of mcc/mnc.
Reporter | ||
Updated•11 years ago
|
Attachment #784883 -
Flags: feedback?(allstars.chh) → feedback+
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #2)
> (In reply to Fernando R. Sela [:frsela] from comment #1)
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> > {"localInfoType":0}}
> >
> > I/GeckoDump( 829): [system] sendStkResponse -- # response =
> > {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":
> > 2868,"gsmCellId":178793849}},"resultCode":0}
>
> I found in the IDL the mcc and mnc are still type of 'unsigned short', they
> should be DOMString now.
>
> But I think your code would still work.
>
> I'll file a bug to handle the 'unsigned short' of mcc/mnc.
Cool, thanks Yoshi
Assignee | ||
Updated•11 years ago
|
Attachment #784883 -
Flags: review?(timdream)
Updated•11 years ago
|
Whiteboard: [u=commsapps-user c=stk p=0][Sprint2] → [u=commsapps-user c=stk p=0], [Sprint2]
Updated•11 years ago
|
Attachment #784883 -
Flags: review?(timdream) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to Fernando R. Sela (no CC, needinfo please) [:frsela] from comment #1)
> Created attachment 784883 [details]
> Implemented STK_CMD_PROVIDE_LOCAL_INFO command
>
> Tested with this commands and generated responses:
>
> Location INFO:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":0}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":
> 2868,"gsmCellId":178793849}},"resultCode":0}
>
> IMEI:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":1}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"imei":"864899012583340"},"resultCode":0}
>
> DATE/TIME:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":3}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0}
>
> LANGUAGE:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":4}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"language":"en"},"resultCode":0}
>
> --
>
> @sync-1@bugzilla.tld Can you check if this patch fixes 896346?
there is some error in modem; we will check this patch in later version;
(In reply to Fernando R. Sela (no CC, needinfo please) [:frsela] from comment #1)
> Created attachment 784883 [details]
> Implemented STK_CMD_PROVIDE_LOCAL_INFO command
>
> Tested with this commands and generated responses:
>
> Location INFO:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":0}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":
> 2868,"gsmCellId":178793849}},"resultCode":0}
>
> IMEI:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":1}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"imei":"864899012583340"},"resultCode":0}
>
> DATE/TIME:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":3}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0}
>
> LANGUAGE:
>
> I/GeckoDump( 829): [system] sendStkResponse to command:
> {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> {"localInfoType":4}}
>
> I/GeckoDump( 829): [system] sendStkResponse -- # response =
> {"localInfo":{"language":"en"},"resultCode":0}
>
> --
>
> @sync-1@bugzilla.tld Can you check if this patch fixes 896346?
(In reply to buri.blff from comment #7)
> (In reply to Fernando R. Sela (no CC, needinfo please) [:frsela] from
> comment #1)
> > Created attachment 784883 [details]
> > Implemented STK_CMD_PROVIDE_LOCAL_INFO command
> >
> > Tested with this commands and generated responses:
> >
> > Location INFO:
> >
> > I/GeckoDump( 829): [system] sendStkResponse to command:
> > {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> > {"localInfoType":0}}
> >
> > I/GeckoDump( 829): [system] sendStkResponse -- # response =
> > {"localInfo":{"locationInfo":{"mcc":"214","mnc":"07","gsmLocationAreaCode":
> > 2868,"gsmCellId":178793849}},"resultCode":0}
> >
> > IMEI:
> >
> > I/GeckoDump( 829): [system] sendStkResponse to command:
> > {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> > {"localInfoType":1}}
> >
> > I/GeckoDump( 829): [system] sendStkResponse -- # response =
> > {"localInfo":{"imei":"864899012583340"},"resultCode":0}
> >
> > DATE/TIME:
> >
> > I/GeckoDump( 829): [system] sendStkResponse to command:
> > {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> > {"localInfoType":3}}
> >
> > I/GeckoDump( 829): [system] sendStkResponse -- # response =
> > {"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0}
> >
> > LANGUAGE:
> >
> > I/GeckoDump( 829): [system] sendStkResponse to command:
> > {"commandNumber":1,"typeOfCommand":38,"commandQualifier":0,"options":
> > {"localInfoType":4}}
> >
> > I/GeckoDump( 829): [system] sendStkResponse -- # response =
> > {"localInfo":{"language":"en"},"resultCode":0}
> >
> > --
> >
> > @sync-1@bugzilla.tld Can you check if this patch fixes 896346?
>
> there is some error in modem; we will check this patch in later version;
we test the patch:
we find the
[system] sendStkResponse -- # response =
{"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0} has been given to vendor, but the vendor dosen't give the tr to rill->modem, so this case faild;
Dose the mozilla engineer communicate with qcom engineer when give the patch??
Assignee | ||
Comment 10•11 years ago
|
||
(In reply to buri.blff from comment #8)
>
> we test the patch:
> we find the
> [system] sendStkResponse -- # response =
> {"localInfo":{"date":"2013-08-02T09:08:25.256Z"},"resultCode":0} has been
> given to vendor, but the vendor dosen't give the tr to rill->modem, so this
> case faild;
Asking Yoshi as STK platform maintainer
Flags: needinfo?(allstars.chh)
Reporter | ||
Comment 12•11 years ago
|
||
Also I'd suggest you create a new bug for this.
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Yoshi Huang[:allstars.chh][:yoshi] from comment #12)
> Also I'd suggest you create a new bug for this.
Agree, this is resolved and fixed.
New bug: 908116
You need to log in
before you can comment on or make changes to this bug.
Description
•