def tdSensor(self):
protocol = create_string_buffer(<NUM_LIT:20>)<EOL>model = create_string_buffer(<NUM_LIT:20>)<EOL>sid = c_int()<EOL>datatypes = c_int()<EOL>self._lib.tdSensor(protocol, sizeof(protocol), model, sizeof(model),<EOL>byref(sid), byref(datatypes))<EOL>return {'<STR_LIT>': self._to_str(protocol),<EOL>'<STR_LIT>': self._to_str(model),<EOL>'<STR_LIT:id>': sid.value, '<STR_LIT>': datatypes.value}<EOL>
Get the next sensor while iterating.

        :return: a dict with the keys: protocol, model, id, datatypes.