Hi Arron,

On 16.12.2011 10:15, Wang, Arron wrote:
>> On 16.12.2011 09:40, Wang, Arron wrote:
>>> In the IRC, we talked use Powered to take the modem enable/disable actions,
>>> but in fact we always need to powered the modem first else we can't
>>> communicate with the modem anymore.
>>
>> If the technology is disabled there is no to power up new modems.
>>
>>> Also when we disable the modem, we set
>>> the Powered state to False, this may lead the device is removed and we 
>>> can't
>>> enable it again, then I use online interface for disable/enable modem.
>>
>> This sounds rather nasty that the Modem object goes away when the modem
>> is powered down. Do we really have to add workaround in the ConnMan
>> plugin for this? Is this supposed to be the right behavior, or just 'a
>> bug' in oFono modem driver?
> 
> The old ofono plugin use online interface and works well. ofono can handle 
> powered and unpowered well, but connman need the modem to be powered before 
> create_device this may block we use powered as indicate for enable/disable 
> modem.

If the technology is disabled why would we want to call create_device()?
We don't have to track the modems at all. If the technology is enabled
we power up (call create_device()) and set the modems online.

cheers,
daniel
_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to