Ticket #377 (new defect)

Opened 3 years ago

Last modified 3 years ago

GSM.Call.Emergency blocks

Reported by: charlie Owned by: mickey
Priority: major Milestone: fso2-milestone1
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

comment:1 Changed 3 years ago by daniel

  • Milestone set to milestone6

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

Note: See TracTickets for help on using tickets.