Hi Laurent,
On 09/20/2010 04:20 AM, Laurent THOMAS wrote:
Hi,
According to the interface org.ofono.ConnectionContext description, the
property “Name” is a free short string used to describe the context.
Extract from “conman-api.txt”
/Properties string Name [readwrite]/
/ /
/ The name is a free form string that
describes this/
/ context. The name should not be
empty and limited/
/ to a short string for display purposes./
But according to source code (version 0.28), this attribute is now only
affected with the context String Type (“internet”, “wap” or “mms”)
is it really the expected behaviour or did I miss something ?
By default the Name is set to the context type. E.g. creating an
"internet" context results in the name being set to "internet." You
can
still reset the Name later to whatever you wish.
~/ofono-master$ test/list-contexts
[ /phonesim ]
[ /phonesim/context1 ]
Username =
Protocol = ip
Name = Foobar
Settings = { }
Active = 0
AccessPointName =
Password =
Type = internet
Regards,
-Denis