Ticket #377 (closed defect: wontfix)
GSM.Call.Emergency blocks
| Reported by: | charlie | Owned by: | mickey |
|---|---|---|---|
| Priority: | major | Milestone: | cornucopia-0.12 |
| Component: | framework/ogsmd | Version: | |
| Keywords: | emergency, 112 | Cc: |
Description
This may be a bug or me failing to understand how the Emergency method works :
When I try to call an emergency number, it works, but the call to GSM.Call.Emergency blocks, I am also not sure how to release the call.
I try it using cli-framework :
>>> usageiface.RequestResource('GSM')
>>> gsmdevice.SetAntennaPower(True)
>>> gsmnetwork.Register()
>>> gsmcall.Emergency('112')
At this point the program blocks.
Change History
Note: See
TracTickets for help on using
tickets.

The blocking seems to be intentional, but this poses some problems since no signals will be emitted... Should we consider changeing this to async?