зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1126687 - Part 1: Ensure the order of TLVs in STK Envelope Command is the same to the order defined in TS 11.14/TS 102 223. r=echen.
This commit is contained in:
Родитель
795ea84f41
Коммит
c462b036dc
|
@ -3126,6 +3126,14 @@ RilObject.prototype = {
|
|||
GsmPDUHelper.writeHexOctet(size / 4);
|
||||
});
|
||||
|
||||
// Event List
|
||||
if (options.eventList != null) {
|
||||
GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_EVENT_LIST |
|
||||
COMPREHENSIONTLV_FLAG_CR);
|
||||
GsmPDUHelper.writeHexOctet(1);
|
||||
GsmPDUHelper.writeHexOctet(options.eventList);
|
||||
}
|
||||
|
||||
// Device Identifies
|
||||
GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_DEVICE_ID |
|
||||
COMPREHENSIONTLV_FLAG_CR);
|
||||
|
@ -3149,14 +3157,6 @@ RilObject.prototype = {
|
|||
// Help Request doesn't have value
|
||||
}
|
||||
|
||||
// Event List
|
||||
if (options.eventList != null) {
|
||||
GsmPDUHelper.writeHexOctet(COMPREHENSIONTLV_TAG_EVENT_LIST |
|
||||
COMPREHENSIONTLV_FLAG_CR);
|
||||
GsmPDUHelper.writeHexOctet(1);
|
||||
GsmPDUHelper.writeHexOctet(options.eventList);
|
||||
}
|
||||
|
||||
// Location Status
|
||||
if (options.locationStatus != null) {
|
||||
let len = options.locationStatus.length;
|
||||
|
|
Загрузка…
Ссылка в новой задаче