From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 2/2] client: Add samples init scripts
Date: Mon, 20 Mar 2023 18:03:33 -0700 [thread overview]
Message-ID: <20230321010333.2361384-2-luiz.dentz@gmail.com> (raw)
In-Reply-To: <20230321010333.2361384-1-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
This adds sample init scripts that can be passed to bluetoothctl for
testing.
---
client/advertise-broadcast.bt | 2 ++
client/advertise-on.bt | 2 ++
client/advertise-peripheral.bt | 2 ++
client/power-on-off.bt | 3 +++
client/power-on.bt | 3 +++
client/scan-bredr.bt | 2 ++
client/scan-le.bt | 2 ++
client/scan-on-off.bt | 4 ++++
client/scan-on.bt | 2 ++
9 files changed, 22 insertions(+)
create mode 100644 client/advertise-broadcast.bt
create mode 100644 client/advertise-on.bt
create mode 100644 client/advertise-peripheral.bt
create mode 100644 client/power-on-off.bt
create mode 100644 client/power-on.bt
create mode 100644 client/scan-bredr.bt
create mode 100644 client/scan-le.bt
create mode 100644 client/scan-on-off.bt
create mode 100644 client/scan-on.bt
diff --git a/client/advertise-broadcast.bt b/client/advertise-broadcast.bt
new file mode 100644
index 000000000000..476559d219c2
--- /dev/null
+++ b/client/advertise-broadcast.bt
@@ -0,0 +1,2 @@
+power on
+advertise broadcast
diff --git a/client/advertise-on.bt b/client/advertise-on.bt
new file mode 100644
index 000000000000..4a227e03986d
--- /dev/null
+++ b/client/advertise-on.bt
@@ -0,0 +1,2 @@
+power on
+advertise on
diff --git a/client/advertise-peripheral.bt b/client/advertise-peripheral.bt
new file mode 100644
index 000000000000..5e81c135faad
--- /dev/null
+++ b/client/advertise-peripheral.bt
@@ -0,0 +1,2 @@
+power on
+advertise peripheral
diff --git a/client/power-on-off.bt b/client/power-on-off.bt
new file mode 100644
index 000000000000..c7e150448a35
--- /dev/null
+++ b/client/power-on-off.bt
@@ -0,0 +1,3 @@
+power on
+power off
+quit
diff --git a/client/power-on.bt b/client/power-on.bt
new file mode 100644
index 000000000000..0ba686f4fdda
--- /dev/null
+++ b/client/power-on.bt
@@ -0,0 +1,3 @@
+power on
+show
+quit
diff --git a/client/scan-bredr.bt b/client/scan-bredr.bt
new file mode 100644
index 000000000000..291a3eedbf6c
--- /dev/null
+++ b/client/scan-bredr.bt
@@ -0,0 +1,2 @@
+power on
+scan bredr
diff --git a/client/scan-le.bt b/client/scan-le.bt
new file mode 100644
index 000000000000..4a529b964723
--- /dev/null
+++ b/client/scan-le.bt
@@ -0,0 +1,2 @@
+power on
+scan le
diff --git a/client/scan-on-off.bt b/client/scan-on-off.bt
new file mode 100644
index 000000000000..ffa6c8181533
--- /dev/null
+++ b/client/scan-on-off.bt
@@ -0,0 +1,4 @@
+scan on
+show
+scan off
+quit
diff --git a/client/scan-on.bt b/client/scan-on.bt
new file mode 100644
index 000000000000..767cefc16382
--- /dev/null
+++ b/client/scan-on.bt
@@ -0,0 +1,2 @@
+power on
+scan on
--
2.39.2
next prev parent reply other threads:[~2023-03-21 1:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 1:03 [PATCH BlueZ 1/2] shared/shell: Add support for -i/--init-script Luiz Augusto von Dentz
2023-03-21 1:03 ` Luiz Augusto von Dentz [this message]
2023-03-21 3:19 ` [BlueZ,1/2] " bluez.test.bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230321010333.2361384-2-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox