client: Add samples init scripts

This adds sample init scripts that can be passed to bluetoothctl for
testing.
This commit is contained in:
Luiz Augusto von Dentz 2023-03-21 18:13:49 -07:00
parent f2f7c742ad
commit fb1c694100
11 changed files with 53 additions and 0 deletions

View File

@ -0,0 +1,2 @@
power on
advertise broadcast

View File

@ -0,0 +1,2 @@
power on
advertise on

View File

@ -0,0 +1,2 @@
power on
advertise peripheral

View File

@ -0,0 +1,5 @@
gatt.register-service 0x180f
yes
gatt.register-characteristic 0x2a19 read,notify
64
gatt.register-application

View File

@ -0,0 +1,3 @@
power on
power off
quit

View File

@ -0,0 +1,3 @@
power on
show
quit

View File

@ -0,0 +1,26 @@
endpoint.presets 00002bc9-0000-1000-8000-00805f9b34fb custom
48
10
3
100
Low
10000
Unframed
2M
200
3
10
20000
endpoint.presets 00002bcb-0000-1000-8000-00805f9b34fb custom
48
10
3
100
Low
10000
Unframed
2M
200
3
10
20000

View File

@ -0,0 +1,2 @@
power on
scan bredr

View File

@ -0,0 +1,2 @@
power on
scan le

View File

@ -0,0 +1,4 @@
scan on
show
scan off
quit

View File

@ -0,0 +1,2 @@
power on
scan on