ui: name REFRESH and the rest of the TS 102 223 command types (v2.7.17)
The proactive command log showed 'Cmd 0x01' for REFRESH: 0x01 was missing from both CMD_NAMES (frontend) and PROACTIVE_TYPE_NAMES (server), so the log fell back to the generic placeholder. Both tables now carry the full TS 102 223 9.4 command type list (REFRESH, MORE TIME, POLLING OFF, SET UP CALL, SEND SS/USSD/DTMF, GEOGRAPHICAL LOCATION REQUEST, SET UP IDLE MODE TEXT, PERFORM CARD APDU, POWER ON/OFF CARD, GET READER STATUS, RUN AT COMMAND, LANGUAGE NOTIFICATION, SERVICE SEARCH/INFORMATION, DECLARE SERVICE, frames, multimedia, COMMAND CONTAINER, ...). - tests: event_forms CMD_NAMES cases; new tests/test_proactive_names.py (REFRESH + spec spot checks).
This commit is contained in:
@@ -35,7 +35,10 @@ eval(extractBlock('const REJECTION_CAUSES = [', 'const EVENT_FORMS = {').replace
|
||||
eval(extractBlock('const EVENT_FORMS = {', 'const PLI_QUALIFIERS = [').replace(/^const /gm, 'var '));
|
||||
|
||||
test('CMD_NAMES decodes timer management and the BIP commands', () => {
|
||||
assert.strictEqual(CMD_NAMES['01'], 'REFRESH');
|
||||
assert.strictEqual(CMD_NAMES['10'], 'SET UP CALL');
|
||||
assert.strictEqual(CMD_NAMES['27'], 'TIMER MANAGEMENT');
|
||||
assert.strictEqual(CMD_NAMES['28'], 'SET UP IDLE MODE TEXT');
|
||||
assert.strictEqual(CMD_NAMES['40'], 'OPEN CHANNEL');
|
||||
assert.strictEqual(CMD_NAMES['41'], 'CLOSE CHANNEL');
|
||||
assert.strictEqual(CMD_NAMES['42'], 'RECEIVE DATA');
|
||||
|
||||
Reference in New Issue
Block a user