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:
Bevis Tseng 2015-01-29 13:02:36 +08:00
Родитель 795ea84f41
Коммит c462b036dc
1 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -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;