Christina Quast
b65b881de1
Phone uses USB endpoints 4 to 6 instead of 1 to 3 now
2015-04-04 10:51:37 +02:00
Christina Quast
97922ba1d0
phone.py: do not change state to WAIT_RST after responding to file select command
2015-04-03 11:46:34 +02:00
Christina Quast
1dd996a0c3
Define for phone interface numbers in phone.py
2015-04-03 11:42:29 +02:00
Christina Quast
4bcc023be7
Phone hack: endless loop
...
Motorola seems to be in an endless loop?
In any case, it only shows the motorola logo and does not react to
pressing the power button.
2015-03-24 21:59:32 +01:00
Christina Quast
5134fb6f53
phone.py:Bug fixes, first part of communication works
2015-03-22 19:09:02 +01:00
Christina Quast
e5342b3c25
Added more cmds to phone.py smartcard emulator
2015-03-19 19:29:49 +01:00
Christina Quast
4e4682c785
Bug fix: state returned by each handle* func now
...
The variable state is not a global function.
So its value needs to be returned from each function
which might alter the state.
For now only two states exist: WAIT_RST, WAIT_CMD
FIXME: Probably there is a more elegant way to do that
2015-03-18 18:48:57 +01:00
Christina Quast
5a691a36d1
Sniffed and parsed communication in a comment
2015-03-18 18:45:14 +01:00
Christina Quast
69734e9ad9
phone.py: too many usb function calls
2015-03-15 16:09:55 +01:00
Christina Quast
1185ae7184
phone.py: send ATR on rst
2015-03-15 15:12:50 +01:00
Christina Quast
74876d2079
SIM card still absent
2015-03-13 23:45:33 +01:00