Skip to content

Commit

Permalink
feat(info): add imsi info
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Apr 13, 2017
1 parent a052c44 commit b8b2dc8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
16 changes: 8 additions & 8 deletions schema/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ definitions:
iccId:
type: string
description: ICC ID of SIM card.
imsi:
type: string
description: IMSI of SIM card.
imei:
type: string
description: IMEI of cellular module.
pinRetryRemain:
type: integer
description: PIN Retry remaining.
phoneNumber:
type: string
description: Phone number of the SIM card.
status:
type: string
description: Indicate current status of cellular connection. Could be one of "nosim", "pin", "noservice", "ready", "connected", "connecting", "connect-failed".
Expand Down Expand Up @@ -309,13 +309,13 @@ externalDocs:
"ecio": -8.5
},
"operatorName": "Chunghwa Telecom",
"lac": "0xF339",
"tac": "0xF339",
"nid": "0xF339",
"cellId": "0x3194",
"lac": "11114",
"tac": "",
"nid": "",
"cellId": "1249",
"bid": "",
"iccId": "",
"phoneNumber": "",
"imsi": "466977502877452",
"imei": "356853050370859",
"pinRetryRemain": 3,
"status": "connected",
Expand Down
6 changes: 5 additions & 1 deletion src/component/info/info.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@
<p class="md-body-2">BID</p>
<span ng-bind="tab.content.bid"></span>
</md-list-item>
<md-list-item>
<md-list-item ng-if="tab.content.imsi">
<p class="md-body-2">IMSI</p>
<span ng-bind="tab.content.imsi"></span>
</md-list-item>
<md-list-item ng-if="tab.content.imei">
<p class="md-body-2" translate="CELLULAR_INFO_IMEI"></p>
<span ng-bind="tab.content.imei"></span>
</md-list-item>
Expand Down

0 comments on commit b8b2dc8

Please sign in to comment.