During the device initialization, this script uses the response of the AT+CGMM
command as the product PID of the connected device.
The device information is then retrieved from the PID mapping in the
mappings.py file, this file is based on
the Devices by MODEL tables.
Then, those info are used to initialize the DBus object with the correspondent
DBus iface and description. Both, the iface and the object description are
defined into the PID
mapping.
model
: human-readable name of the exact modeltype
: devices code to group similar devices from _definitions.py asDEV_TYPE_*
dbus_iface
: a string defining the DBus iface
from _definitions.py asDEV_IFACE_*
dbus_desc
: a string defining the DBus object's description
dbus_definitions.py asDEV_DBUS_DESC_*
Here, you can find the list of all devices types available. Any product MODEL
from Devices by MODEL section is mapped into a device type
using the PID
table from the mappings.py
file.
More details on DBus definitions and their properties can be found on
the Values Mapping
page.
Type's Constant | Type's Name | DBus's Iface | DBus's Description |
---|---|---|---|
DEV_TYPE_SIM7600 |
SIM7600 | com.waveshare.sim7600 | DEV_DBUS_DESC_SIM7600 |
At the current version, any SIMCOM_SIM7600E-H
model is supported. To support
more models, please update the PID
table into
the mappings.py file.