<commit_before>/// Object which contains device specific information like model name. MAC address etc.
Object {
	signal propertyUpdated;			///< this signal is emited every time when one of the property was changed
	property string macAddess;		///< device MAC address if its available for current platform
	property string modelName;		///< device model name
	property string deviceId;		///< unique device id or random generated id if its not supported
	property string firmware;		///< firmware version
	property string language;		///< device langgcode
	property string country;		///< device country code
	property string sdk;			///< SDK version
	property bool supportingUhd;	///< UHD (4K) supporting flag
	property bool supportingHdr;	///< HDR supporting flag
	property bool supporting3d;		///< 3D Video supporting flag

	constructor: {
		var backend = $core.__deviceBackend
		if (!backend)
			throw new Error('no backend found')
		backend().createDevice(this)
	}

	onSdkChanged,
	onDeviceIdChanged,
	onFirmwareChanged,
	onMacAddessChanged,
	onModelNameChanged,
	onSupporting3dChanged,
	onSupportingUhdChanged: { this.propertyUpdated() }
}<commit_msg>Add 'ip' property in Device object for device IP address<commit_after>/// Object which contains device specific information like model name. MAC address etc.
Object {
	signal propertyUpdated;			///< this signal is emited every time when one of the property was changed
	property string macAddess;		///< device MAC address if its available for current platform
	property string modelName;		///< device model name
	property string deviceId;		///< unique device id or random generated id if its not supported
	property string firmware;		///< firmware version
	property string language;		///< device langgcode
	property string country;		///< device country code
	property string sdk;			///< SDK version
	property string ip;				///< device IP address if its available
	property bool supportingUhd;	///< UHD (4K) supporting flag
	property bool supportingHdr;	///< HDR supporting flag
	property bool supporting3d;		///< 3D Video supporting flag

	constructor: {
		var backend = $core.__deviceBackend
		if (!backend)
			throw new Error('no backend found')
		backend().createDevice(this)
	}

	onSdkChanged,
	onDeviceIdChanged,
	onFirmwareChanged,
	onMacAddessChanged,
	onModelNameChanged,
	onSupporting3dChanged,
	onSupportingUhdChanged: { this.propertyUpdated() }
}
{'fraction_non_alphanumeric': 0.08350643955130868, 'fraction_numerical': 0.0033236393851267137, 'mean_word_length': 4.112526539278131, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4576253', 'n_tokens_mistral': 690, 'n_tokens_neox': 658, 'n_words': 262}