Skip to content

Commit 88aaa5b

Browse files
committed
rename bluetooth-gateway to pouch-gateway
Update all references in repo to point to new 'pouch-gateway' repo name. Signed-off-by: Marcin Niestroj <m.niestroj@emb.dev>
1 parent 939370b commit 88aaa5b

21 files changed

Lines changed: 57 additions & 57 deletions

.github/workflows/bsim.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ jobs:
5050
- name: Checkout repository
5151
uses: actions/checkout@v4
5252
with:
53-
path: bluetooth-gateway
53+
path: pouch-gateway
5454

5555
- name: Init and update west
5656
run: |
57-
west init -l bluetooth-gateway --mf west-zephyr.yml
57+
west init -l pouch-gateway --mf west-zephyr.yml
5858
west update --narrow -o=--depth=1
5959
git config --global user.email user@git-scm.com
6060
git config --global user.name "Git User"
@@ -89,8 +89,8 @@ jobs:
8989
zephyr/scripts/twister \
9090
-c -v -W \
9191
-p nrf52_bsim/native \
92-
-T bluetooth-gateway/gateway/ \
93-
-T bluetooth-gateway/samples/custom_connect \
92+
-T pouch-gateway/gateway/ \
93+
-T pouch-gateway/samples/custom_connect \
9494
--pytest-args="--api-url=${{ inputs.api_url }}" \
9595
--pytest-args="--api-key=${{ secrets[inputs.api_key_id] }}" \
9696
-x SB_CONFIG_GOLIOTH_COAP_HOST_URI=\"${{ inputs.coap_gateway_url }}\"

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ jobs:
6464
- name: Checkout repository
6565
uses: actions/checkout@v4
6666
with:
67-
path: bluetooth-gateway
67+
path: pouch-gateway
6868

6969
- name: Init and update west
7070
run: |
71-
west init -l bluetooth-gateway --mf ${{ matrix.manifest }}
71+
west init -l pouch-gateway --mf ${{ matrix.manifest }}
7272
west update --narrow -o=--depth=1
7373
git config --global user.email user@git-scm.com
7474
git config --global user.name "Git User"
@@ -77,7 +77,7 @@ jobs:
7777
- name: Manual Patch
7878
if: ${{ matrix.manifest == 'west-thingy91x-controller.yml' }}
7979
run: |
80-
west forall zephyr -c "git am $GITHUB_WORKSPACE/bluetooth-gateway/zephyr/patches/thingy91x-controller/zephyr/*.patch"
80+
west forall zephyr -c "git am $GITHUB_WORKSPACE/pouch-gateway/zephyr/patches/thingy91x-controller/zephyr/*.patch"
8181
8282
- name: Install pip packages
8383
run: |
@@ -106,7 +106,7 @@ jobs:
106106
run: |
107107
west build \
108108
-b $TARGET \
109-
bluetooth-gateway/${{ matrix.app }} \
109+
pouch-gateway/${{ matrix.app }} \
110110
${{ matrix.sysbuild && '--sysbuild' || '--no-sysbuild' }} \
111111
-- -DCONFIG_COMPILER_WARNINGS_AS_ERRORS=y ${{ matrix.extra_args }}
112112

.github/workflows/coverity.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:
17-
path: bluetooth-gateway
17+
path: pouch-gateway
1818
- name: Init and update west
1919
run: |
20-
west init -l bluetooth-gateway --mf west-ncs.yml
20+
west init -l pouch-gateway --mf west-ncs.yml
2121
west update --narrow -o=--depth=1
2222
- name: Install pip packages
2323
run: |
@@ -36,15 +36,15 @@ jobs:
3636
/opt/toolchains/coverity/bin/cov-configure --comptype gcc \
3737
--compiler /opt/toolchains/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
3838
/opt/toolchains/coverity/bin/cov-build --dir cov-int \
39-
west build -p -b nrf9160dk/nrf9160/ns bluetooth-gateway/gateway \
39+
west build -p -b nrf9160dk/nrf9160/ns pouch-gateway/gateway \
4040
-- -DCONFIG_NET_LOG=n -DCONFIG_LOG=n
4141
tar czvf gateway.tgz cov-int
42-
curl --form token=${{ secrets.BLUETOOTH_GATEWAY_COVERITY_TOKEN }} \
42+
curl --form token=${{ secrets.POUCH_GATEWAY_COVERITY_TOKEN }} \
4343
--form email=sam@golioth.io \
4444
--form file=@gateway.tgz \
4545
--form version="0" \
4646
--form description="Description" \
47-
https://scan.coverity.com/builds?project=golioth%2Fbluetooth-gateway
47+
https://scan.coverity.com/builds?project=golioth%2Fpouch-gateway
4848
- uses: actions/upload-artifact@v4
4949
with:
5050
name: coverity_output

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Golioth Bluetooth Gateway
1+
# Golioth Pouch Gateway
22

3-
Golioth Bluetooth Gateway is a device capable of connecting to Golioth
3+
Golioth Pouch Gateway is a device capable of connecting to Golioth
44
cloud and serving as proxy for Bluetooth-only devices (nodes). All
55
communication between Bluetooth nodes and cloud is end-to-end encrypted
66
and authenticated. This means that gateway serves as untrusted two-way
@@ -23,7 +23,7 @@ of the following targets that are already configured for this application:
2323
### Release Binaries
2424

2525
Pre-built firmware binaries for the above hardware are available in
26-
[GitHub](https://github.com/golioth/bluetooth-gateway/releases/latest). We
26+
[GitHub](https://github.com/golioth/pouch-gateway/releases/latest). We
2727
recommend using these binaries as the fastest way to get started.
2828

2929
<details>
@@ -170,7 +170,7 @@ where `<psk-id>` and `<psk>` are the device credentials you created in step 1.
170170
Setup repo with NCS:
171171
172172
```
173-
west init -m https://github.com/golioth/bluetooth-gateway.git --mf west-ncs.yml
173+
west init -m https://github.com/golioth/pouch-gateway.git --mf west-ncs.yml
174174
west update
175175
west patch apply
176176
```
@@ -186,7 +186,7 @@ to checkout proper revision and apply required patches type:
186186
187187
```
188188
west config manifest.file west-thingy91x-controller.yml && west update
189-
west forall zephyr -c "git am $(west topdir)/bluetooth-gateway/zephyr/patches/thingy91x-controller/zephyr/*.patch"
189+
west forall zephyr -c "git am $(west topdir)/pouch-gateway/zephyr/patches/thingy91x-controller/zephyr/*.patch"
190190
```
191191
192192
Bluetooth controller is running on the nRF5340 NET core. This means that proper
@@ -197,7 +197,7 @@ This is done by by changing `SWD` switch (`SW2`) from `nRF91` to `nRF53`
197197
on Thingy, then building and flashing firmware with:
198198
199199
```
200-
west build -p -b thingy91x/nrf5340/cpunet bluetooth-gateway/controller --sysbuild -- -DSB_CONF_FILE=sysbuild/nrf5340_cpuapp.conf
200+
west build -p -b thingy91x/nrf5340/cpunet pouch-gateway/controller --sysbuild -- -DSB_CONF_FILE=sysbuild/nrf5340_cpuapp.conf
201201
west flash
202202
```
203203
@@ -206,7 +206,7 @@ modem and also Bluetooth Host stack, which communicates with Bluetooth
206206
Controller over UART. Build and flash it with:
207207
208208
```
209-
west build -p -b thingy91x/nrf9151/ns bluetooth-gateway/gateway --sysbuild
209+
west build -p -b thingy91x/nrf9151/ns pouch-gateway/gateway --sysbuild
210210
west flash
211211
```
212212
@@ -220,7 +220,7 @@ This is done by by changing `SWD` switch (`SW10`) from `nRF91` to
220220
`nRF52` on development kit, then building and flashing firmware with:
221221
222222
```
223-
west build -p -b nrf9160dk/nrf52840 bluetooth-gateway/controller
223+
west build -p -b nrf9160dk/nrf52840 pouch-gateway/controller
224224
west flash
225225
```
226226
@@ -229,7 +229,7 @@ modem and also Bluetooth Host stack, which communicats with Bluetooth
229229
Controller over UART. Build and flash it with:
230230
231231
```
232-
west build -p -b nrf9160dk/nrf9160/ns bluetooth-gateway/gateway --sysbuild
232+
west build -p -b nrf9160dk/nrf9160/ns pouch-gateway/gateway --sysbuild
233233
west flash
234234
```
235235
@@ -238,7 +238,7 @@ west flash
238238
Setup repo with Zephyr:
239239
240240
```
241-
west init -m https://github.com/golioth/bluetooth-gateway.git --mf west-zephyr.yml
241+
west init -m https://github.com/golioth/pouch-gateway.git --mf west-zephyr.yml
242242
west update
243243
west zephyr-export
244244
pip install -r zephyr/scripts/requirements.txt
@@ -248,15 +248,15 @@ Gateway firmware runs on nRF52840 chip. There is direct access to LTE
248248
modem and also Bluetooth Host stack. Build and flash it with:
249249
250250
```
251-
west build -p -b mg100 bluetooth-gateway/gateway --sysbuild
251+
west build -p -b mg100 pouch-gateway/gateway --sysbuild
252252
west flash
253253
```
254254
255255
### Useful options for debugging and development
256256
257257
#### Running gateway with simulator or USB dongle
258258
259-
See [Running Bluetooth Gateway with
259+
See [Running Pouch Gateway with
260260
simulator](doc/simulator_or_usb_dongle.md).
261261
262262
#### `CONFIG_POUCH_GATEWAY_CLOUD`
@@ -269,14 +269,14 @@ connected platforms (nRF91) there is no latency because of cellular
269269
network infrastructure.
270270
271271
`CONFIG_POUCH_GATEWAY_CLOUD` is available both on the gateway applicaton level
272-
(`bluetooth-gateway/gateway`) as well as in sysbuild (mainly for ease of
272+
(`pouch-gateway/gateway`) as well as in sysbuild (mainly for ease of
273273
use) as `SB_CONFIG_POUCH_GATEWAY_CLOUD`.
274274
275275
Running `nrf52_bsim` simulaton without cloud communication can be done
276276
with:
277277
278278
```
279-
west build -p -b nrf52_bsim bluetooth-gateway/gateway --sysbuild -- \
279+
west build -p -b nrf52_bsim pouch-gateway/gateway --sysbuild -- \
280280
-DSB_CONFIG_POUCH_GATEWAY_CLOUD=n
281281
west flash
282282
```

controller/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
cmake_minimum_required(VERSION 3.20.0)
44
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
55

6-
project(bluetooth_gateway_controller)
6+
project(pouch_gateway_controller)
77

88
if(CONFIG_UART_ASYNC_API AND NOT CONFIG_NRF_SW_LPUART)
99
target_sources(app PRIVATE

controller/sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
22
name: Bluetooth HCI UART controller for gateway
33
tests:
4-
sample.golioth.bluetooth_gateway.controller:
4+
sample.golioth.pouch_gateway.controller:
55
harness: bluetooth
66
platform_allow:
77
- nrf9160dk/nrf52840

doc/simulator_or_usb_dongle.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Running Bluetooth Gateway with simulator
1+
# Running Pouch Gateway with simulator
22

33
## Setup
44

55
Vanilla Zephyr for `nrf52_bsim` and `native_sim`:
66

77
```
8-
west init -m https://github.com/golioth/bluetooth-gateway.git --mf west-zephyr.yml
8+
west init -m https://github.com/golioth/pouch-gateway.git --mf west-zephyr.yml
99
west update
1010
west patch apply
1111
```
@@ -34,7 +34,7 @@ components are BabbleSim programs:
3434

3535
Default sysbuild configuration builds following:
3636

37-
* `bluetooth-gateway/gateway` (main component)
37+
* `pouch-gateway/gateway` (main component)
3838
* `pouch/examples/zephyr/ble_gatt` (BLE GATT node)
3939
* `tools/bsim/bin/bs_2G4_phy_v1` (2.4G PHY BabbleSim coordinator)
4040
* `tools/bsim/bin/bs_device_handbrake` (BabbleSim handbrake, used to
@@ -53,15 +53,15 @@ Default example of running gateway with BLE GATT node (and required
5353
BabbleSim components) is done with following commands:
5454

5555
```
56-
west build -p -b nrf52_bsim bluetooth-gateway/gateway --sysbuild -- \
56+
west build -p -b nrf52_bsim pouch-gateway/gateway --sysbuild -- \
5757
-Dperipheral_ble_gatt_example_0_CONFIG_EXAMPLE_DEVICE_ID='"aaaaaaaaaaaaaaaaaaaaaaaa"'
5858
west flash
5959
```
6060

6161
It is possible to include more BLE GATT nodes in simulation. Example of
6262
running 2 nodes:
6363
```
64-
west build -p -b nrf52_bsim bluetooth-gateway/gateway --sysbuild -- \
64+
west build -p -b nrf52_bsim pouch-gateway/gateway --sysbuild -- \
6565
-DSB_CONFIG_PERIPHERAL_BLE_GATT_EXAMPLE_NUM=2 \
6666
-Dperipheral_ble_gatt_example_0_CONFIG_POUCH_DEVICE_ID='"aaaaaaaaaaaaaaaaaaaaaaaa"' \
6767
-Dperipheral_ble_gatt_example_1_CONFIG_POUCH_DEVICE_ID='"bbbbbbbbbbbbbbbbbbbbbbbb"'
@@ -73,7 +73,7 @@ is support for vanilla Zephyr peripheral sample
7373
`zephyr/samples/bluetooth/peripheral`:
7474

7575
```
76-
west build -p -b nrf52_bsim bluetooth-gateway/gateway --sysbuild -- \
76+
west build -p -b nrf52_bsim pouch-gateway/gateway --sysbuild -- \
7777
-DSB_CONFIG_PERIPHERAL_ZEPHYR=y \
7878
-Dperipheral_ble_gatt_example_0_CONFIG_POUCH_DEVICE_ID='"aaaaaaaaaaaaaaaaaaaaaaaa"'
7979
west flash
@@ -106,7 +106,7 @@ Build Bluetooth Controller firmware with HCI UART over USB CDC-ACM for
106106
nRF52840 Dongle:
107107

108108
```
109-
west build -p -b nrf52840dongle/nrf52840 bluetooth-gateway/controller
109+
west build -p -b nrf52840dongle/nrf52840 pouch-gateway/controller
110110
```
111111

112112
See [Programming and

gateway/Kconfig.sysbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ config POUCH_GATEWAY_CLOUD
77
bool "Send pouches to cloud"
88
default y
99
help
10-
Disabling cloud communication allows to test Bluetooth gateway
10+
Disabling cloud communication allows to test Pouch Gateway
1111
functionality without relying on communication with backend. All
1212
pouches received from Bluetooth nodes are dropped in that case.
1313

gateway/sample.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sample:
2-
name: Bluetooth Gateway
2+
name: Pouch Gateway
33
tests:
4-
bluetooth-gateway.gateway:
4+
pouch-gateway.gateway:
55
tags: bluetooth
66
harness: pytest
77
harness_config:

gateway/sysbuild.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ if(BOARD MATCHES "bsim")
1010

1111
ExternalZephyrProject_Add(
1212
APPLICATION bsim_2G4_phy
13-
SOURCE_DIR ${ZEPHYR_BLUETOOTH_GATEWAY_MODULE_DIR}/bsim_bin
13+
SOURCE_DIR ${ZEPHYR_POUCH_GATEWAY_MODULE_DIR}/bsim_bin
1414
BOARD bsim_2G4_phy
1515
)
1616
sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} bsim_2G4_phy)
1717

1818
if(SB_CONFIG_BSIM_HANDBRAKE)
1919
ExternalZephyrProject_Add(
2020
APPLICATION bsim_handbrake
21-
SOURCE_DIR ${ZEPHYR_BLUETOOTH_GATEWAY_MODULE_DIR}/bsim_bin
21+
SOURCE_DIR ${ZEPHYR_POUCH_GATEWAY_MODULE_DIR}/bsim_bin
2222
BOARD bsim_device/native/handbrake
2323
)
2424
sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} bsim_handbrake)
@@ -60,7 +60,7 @@ if(BOARD MATCHES "bsim")
6060
add_peripheral(zephyr
6161
${ZEPHYR_BASE}/samples/bluetooth/peripheral)
6262
add_peripheral(periodic_uplink
63-
${ZEPHYR_BLUETOOTH_GATEWAY_MODULE_DIR}/samples/peripheral/periodic_uplink)
63+
${ZEPHYR_POUCH_GATEWAY_MODULE_DIR}/samples/peripheral/periodic_uplink)
6464
add_peripheral(ble_gatt_example
6565
${ZEPHYR_POUCH_MODULE_DIR}/examples/ble_gatt)
6666
endif()

0 commit comments

Comments
 (0)