<commit_before>Bluetooth serial service API description
****************************************

Copyright (C) 2006-2007  <NAME> <<EMAIL>>


Manager hierarchy
=================

Interface	org.bluez.serial.Manager
Object path	/org/bluez/serial

Methods		string CreatePort(string address, string pattern) [experimental]

			Creates a serial port object.

			Possible errors:org.bluez.serial.Error.AlreadyExists
					org.bluez.serial.Error.NotSupported
					org.bluez.serial.Error.ConnectionAttemptFailed
					org.bluez.serial.Error.Failed

		void RemovePort(string path) [experimental]

			Removes the serial port object for given path.

			Possible errors:org.bluez.serial.Error.DoesNotExist
					org.bluez.serial.Error.Failed

		array{string} ListPorts() [experimental]

			Returns an array of available serial port paths.

		string ConnectService(string address, string pattern)

			Connects to a specific RFCOMM based service on a
			remote device and then creates a RFCOMM TTY
			device for it. The RFCOMM TTY device is returned.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.ConnectionInProgress
					org.bluez.serial.Error.NotSupported
					org.bluez.serial.Error.ConnectionAttemptFailed

		void CancelConnectService(string address, string pattern)

			Cancel a previous ConnectService method call.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.ConnectionNotInProgress

		void DisconnectService(string device)

			Disconnect a RFCOMM TTY device that has been
			created via the ConnectService method.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.NotAuthorized
					org.bluez.serial.Error.Failed

Signals		void PortCreated(string path) [experimental]

		void PortRemoved(string path) [experimental]

		void ServiceConnected(string device)

		void ServiceDisconnected(string device)


Port hierarchy (experimental)
=============================

Interface	org.bluez.serial.Port
Object path	/org/bluez/serial/port*

Methods		string GetAddress()

			Returns the Bluetooth address of the ending point.

		string Connect()

			Connects to remote device associated to the port
			object.

			Possible errors:org.bluez.serial.Error.ConnectionAttemptFailed
					org.bluez.serial.Error.Failed

		void Disconnect()

			Disconnects from remote device.

			Possible errors:org.bluez.serial.Error.Failed
<commit_msg>serial API: added experimental tag for "Port" methods<commit_after>Bluetooth serial service API description
****************************************

Copyright (C) 2006-2007  <NAME> <<EMAIL>>


Manager hierarchy
=================

Interface	org.bluez.serial.Manager
Object path	/org/bluez/serial

Methods		string CreatePort(string address, string pattern) [experimental]

			Creates a serial port object.

			Possible errors:org.bluez.serial.Error.AlreadyExists
					org.bluez.serial.Error.NotSupported
					org.bluez.serial.Error.ConnectionAttemptFailed
					org.bluez.serial.Error.Failed

		void RemovePort(string path) [experimental]

			Removes the serial port object for given path.

			Possible errors:org.bluez.serial.Error.DoesNotExist
					org.bluez.serial.Error.Failed

		array{string} ListPorts() [experimental]

			Returns an array of available serial port paths.

		string ConnectService(string address, string pattern)

			Connects to a specific RFCOMM based service on a
			remote device and then creates a RFCOMM TTY
			device for it. The RFCOMM TTY device is returned.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.ConnectionInProgress
					org.bluez.serial.Error.NotSupported
					org.bluez.serial.Error.ConnectionAttemptFailed

		void CancelConnectService(string address, string pattern)

			Cancel a previous ConnectService method call.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.ConnectionNotInProgress

		void DisconnectService(string device)

			Disconnect a RFCOMM TTY device that has been
			created via the ConnectService method.

			Possible errors:org.bluez.serial.Error.InvalidArguments
					org.bluez.serial.Error.NotAuthorized
					org.bluez.serial.Error.Failed

Signals		void PortCreated(string path) [experimental]

		void PortRemoved(string path) [experimental]

		void ServiceConnected(string device)

		void ServiceDisconnected(string device)


Port hierarchy (experimental)
=============================

Interface	org.bluez.serial.Port
Object path	/org/bluez/serial/port*

Methods		string GetAddress() [experimental]

			Returns the Bluetooth address of the ending point.

		string Connect() [experimental]

			Connects to remote device associated to the port
			object.

			Possible errors:org.bluez.serial.Error.ConnectionAttemptFailed
					org.bluez.serial.Error.Failed

		void Disconnect() [experimental]

			Disconnects from remote device.

			Possible errors:org.bluez.serial.Error.Failed

{'fraction_non_alphanumeric': 0.10030272452068617, 'fraction_numerical': 0.003229061553985873, 'mean_word_length': 4.323308270676692, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5485625', 'n_tokens_mistral': 1629, 'n_tokens_neox': 1333, 'n_words': 382}