Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on: [pull_request]

jobs:
ci:
runs-on: ubuntu-latest
name: CI for Pull Request
steps:
- name: Checkout the source code
uses: actions/checkout@v3
with:
path: src/src

- name: CI
uses: tedd-an/bzcafe@main
with:
task: ci
base_folder: src
space: user
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
patchwork_user: ${{ secrets.PATCHWORK_USER }}

26 changes: 26 additions & 0 deletions .github/workflows/code_scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Code Scan

on:
schedule:
- cron: "40 7 * * FRI"

jobs:
code-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout the source
uses: actions/checkout@v2
with:
fetch-depth: 0
path: src
- name: Code Scan
uses: BluezTestBot/action-code-scan@main
with:
src_path: src
github_token: ${{ secrets.GITHUB_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
- uses: actions/upload-artifact@v2
with:
name: scan_report
path: scan_report.tar.gz

43 changes: 43 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Sync

on:
schedule:
- cron: "*/30 * * * *"

jobs:
sync_repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: master

- name: Sync Repo
uses: tedd-an/bzcafe@main
with:
task: sync
upstream_repo: 'https://git.kernel.org/pub/scm/bluetooth/bluez.git'
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Cleanup PR
uses: tedd-an/bzcafe@main
with:
task: cleanup
github_token: ${{ secrets.ACTION_TOKEN }}

sync_patchwork:
needs: sync_repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Sync Patchwork
uses: tedd-an/bzcafe@main
with:
task: patchwork
space: user
github_token: ${{ secrets.ACTION_TOKEN }}
email_token: ${{ secrets.EMAIL_TOKEN }}
patchwork_token: ${{ secrets.PATCHWORK_TOKEN }}
patchwork_user: ${{ secrets.PATCHWORK_USER }}

6 changes: 3 additions & 3 deletions doc/org.bluez.AdvertisementMonitorManager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ BlueZ D-Bus AdvertisementMonitorManager API documentation
Interface
=========

Service org.bluez
Interface org.bluez.AdvertisementMonitorManager1 [experimental]
Object path /org/bluez/{hci0,hci1,...}
:Service: org.bluez
:Interface: org.bluez.AdvertisementMonitorManager1 [experimental]
:Object path: /org/bluez/{hci0,hci1,...}

Methods
-------
Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.Agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BlueZ D-Bus Agent API documentation
:Version: BlueZ
:Date: October 2023
:Manual section: 5
:Manual group: Linux System Administration
:Manual group: Linux System Administration

Interface
=========
Expand Down
3 changes: 1 addition & 2 deletions doc/org.bluez.AgentManager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BlueZ D-Bus AgentManager API documentation
:Version: BlueZ
:Date: October 2023
:Manual section: 5
:Manual group: Linux System Administration
:Manual group: Linux System Administration

Interface
=========
Expand Down Expand Up @@ -80,4 +80,3 @@ void RequestDefaultAgent(object agent)
Possible errors:

:org.bluez.Error.DoesNotExist:

4 changes: 2 additions & 2 deletions doc/org.bluez.GattCharacteristic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ array{byte} ReadValue(dict options)

Possible options:

:uint16_t offset:
:uint16 offset:

Read start offset in bytes.

:uint16_t mtu (server only):
:uint16 mtu (server only):

Exchange MTU in bytes.

Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.GattDescriptor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ array{byte} ReadValue(dict flags)

Possible options:

:uint16_t offset:
:uint16 offset:

Read start offset in bytes.

Expand Down
4 changes: 2 additions & 2 deletions doc/org.bluez.LEAdvertisement.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ uint16 Appearance [readonly, optional]

Possible values: as found on GAP Service.

uint16_t Duration [readonly, optional]
uint16 Duration [readonly, optional]
``````````````````````````````````````

Rotation duration of the advertisement in seconds. If there are other
applications advertising no duration is set the default is 2 seconds.

uint16_t Timeout [readonly, optional]
uint16 Timeout [readonly, optional]
`````````````````````````````````````

Timeout of the advertisement in seconds. This defines the lifetime of
Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.LEAdvertisingManager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ dict SupportedCapabilities [readonly]

Max advertising scan response length

;int16 MinTxPower:
:int16 MinTxPower:

Min advertising tx power (dBm)

Expand Down
6 changes: 3 additions & 3 deletions doc/org.bluez.Media.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ BlueZ D-Bus Media API documentation
Interface
=========

:Service: org.bluez
:Interface: org.bluez.Media1
:Object path: [variable prefix]/{hci0,hci1,...}
:Service: org.bluez
:Interface: org.bluez.Media1
:Object path: [variable prefix]/{hci0,hci1,...}

Methods
-------
Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.obex.Agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ BlueZ D-Bus OBEX Agent API documentation
Interface
=========

;Service: unique name
:Service: unique name
:Interface: org.bluez.obex.Agent1
:Object path: freely definable

Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.obex.AgentManager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Interface
:Object path: /org/bluez/obex

Methods
```````
-------

void RegisterAgent(object agent)
````````````````````````````````
Expand Down
2 changes: 1 addition & 1 deletion doc/org.bluez.obex.FileTransfer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ void MoveFile(string sourcefile, string targetfile)

Possible errors:

;org.bluez.obex.Error.InvalidArguments:
:org.bluez.obex.Error.InvalidArguments:
:org.bluez.obex.Error.Failed:

void Delete(string file)
Expand Down