Read SIM Status

tbl, len, txt = modem.sims(fileid)

Uses AT+CRSM=192,XXX to read the response.
Decodes using 3GPP 102.221 specs into a table tbl.

len is the value of tag 80 (decimal 128), tbl[128]