Hi,

> I am looking into the source code and a little confused about the device
> mode of connman:
> 
> enum connman_device_mode {
> CONNMAN_DEVICE_MODE_UNKNOWN          = 0,
> CONNMAN_DEVICE_MODE_NETWORK_SINGLE   = 1,
> CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE = 2,
> CONNMAN_DEVICE_MODE_TRANSPORT_IP     = 3,
> };
> 
> It seems that "CONNMAN_DEVICE_MODE_NETWORK_MULTIPLE" is used for bluetooth
> and
>  "CONNMAN_DEVICE_MODE_TRANSPORT_IP" is used for ethernet. What is the design
> idea
> about them? What is the difference feature?

the TRANSPORT_IP means that you can directly use IP on it. Compared to
PPP or some other authentication schemes. Mostly used for Ethernet of
course.

If the device requires networks, then either NETWORK_SINGLE or
NETWORK_MULTIPLE need to be used. Bluetooth is 1:n connections while
WiFi only does 1:1 connections.

Regards

Marcel


_______________________________________________
connman mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/connman

Reply via email to