def init_module(cls, iot_module): sensors = cls.sensors + cls.apsensors module(sensors, cls.nwpans, iot_module=iot_module) return cls.sensors, cls.apsensors
def init_6lowpan_module(self, iot_module): sensors = self.sensors + self.apsensors module(sensors, self.nwpans, iot_module) return self.sensors, self.apsensors