filesystem: define more convenient codec for EF.ACC
This patch improves the output of the 'read_binary_decoded' command:
pySIM-shell (MF/DF.GSM/EF.ACC)> read_binary_decoded
{
"ACC0": false,
"ACC1": false,
"ACC2": false,
"ACC3": false,
"ACC4": false,
"ACC5": false,
"ACC6": false,
"ACC7": false,
"ACC8": false,
"ACC9": false,
"ACC10": false,
"ACC11": false,
"ACC12": false,
"ACC13": false,
"ACC14": false,
"ACC15": true
}
And allows to set/unset individual ACCs using 'update_binary_decoded':
pySIM-shell (MF/DF.GSM/EF.ACC)> update_binary_decoded --json-path 'ACC15' 0
"0000"
pySIM-shell (MF/DF.GSM/EF.ACC)> update_binary_decoded --json-path 'ACC8' 1
"0100"
pySIM-shell (MF/DF.GSM/EF.ACC)> update_binary_decoded --json-path 'ACC0' 1
"0101"
Change-Id: I805b3277410745815d3fdc44b9c0f8c5be8d7a10
Related: SYS#6425