SetAntennaPower needs to be called twice
|Reported by:||chrysn@…||Owned by:||mickey|
when starting the GSM resource, two calls SetAntennaPower?(True) need to be done on the org.freesmartphone.GSM.Device interface, one before and one after pin entry.
if the first call is not done, the second (after successful pin submission) raises "org.freesmartphone.GSM.SIM.AuthFailed?: SIM PIN required".
the attached program demonstrates the problem. comment out the try/except/else block and the program will die with said exception.
this was tested on a gta02 running milestone4 with an austrian "a1" sim card (in case this matters).
if the behavior is by design, it should be documented.