Skip to content

samples: cellular: nrf_cloud_ble_gateway: New sample #82025

samples: cellular: nrf_cloud_ble_gateway: New sample

samples: cellular: nrf_cloud_ble_gateway: New sample #82025

Triggered via pull request January 11, 2025 00:31
Status Failure
Total duration 1m 50s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
1m 42s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 10 warnings
Run compliance checks on patch series (PR): Nits.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. Please remove blank lines at end of 'samples/cellular/nrf_cloud_ble_gateway/boards/arm/apricity_gateway_nrf9160/nrf52840_reset.c' Please remove blank lines at end of 'samples/cellular/nrf_cloud_ble_gateway/boards/nrf9160dk_nrf9160_ns_0_14_0.overlay' Please remove blank lines at end of 'samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst' Please remove blank lines at end of 'samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c' Missing newline at end of 'samples/cellular/nrf_cloud_ble_gateway/src/ble/dfu/peripheral_dfu.h'. Check your text editor settings. Please remove blank lines at end of 'samples/cellular/nrf_cloud_ble_gateway/src/ble/gateway.c' Missing newline at end of 'samples/cellular/nrf_cloud_ble_gateway/src/ble/ui/led_pwm.c'. Check your text editor settings.
Run compliance checks on patch series (PR): Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details. BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines File:samples/cellular/nrf_cloud_ble_gateway/boards/nrf9160dk_nrf9160_0_14_0.overlay Line:7 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:59 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:140 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:141 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:288 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:335 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:358 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:367 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:381 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:399 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:402 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:403 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst Line:433 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:99 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:350 BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:363 LINE_SPACING: Missing a blank line after declarations File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:521 SPACING: space required after that ',' (ctx:VxV) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:660 UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned' File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c Line:933 SPACING: need consistent spacing around '*' (ctx:WxV) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:42 SPACING: need consistent spacing around '*' (ctx:WxV) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:44 INITIALISED_STATIC: do not initialise statics to false File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:55 TRAILING_WHITESPACE: trailing whitespace File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:507 BLOCK_COMMENT_STYLE: Block comments should align the * on each line File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:569 LINE_SPACING: Missing a blank line after declarations File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:680 LINE_SPACING: Missing a blank line after declarations File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:723 LINE_SPACING: Missing a blank line after declarations File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:759 LINE_SPACING: Missing a blank line after declarations File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c Line:1192 SPACING: space required after that ',' (ctx:VxV) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.h Line:45 FUNCTION_WITHOUT_ARGS: Bad function definition - void ble_conn_mgr_init() should probably be void ble_conn_mgr_init(void) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_conn_mgr.c Line:855 FUNCTION_WITHOUT_ARGS: Bad function definition - void ble_conn_mgr_init() should probably be void ble_conn_mgr_init(void) File:samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_conn_mgr.h Line:87 IF_0: Consider removing the code enclosed by this #if 0 and its #endif File:samples
Run compliance checks on patch series (PR): GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes f4accb6fd80353dcf546deef1ce8d46198e5ece3: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:288: trailing whitespace. f4accb6fd80353dcf546deef1ce8d46198e5ece3: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:433: trailing whitespace. f4accb6fd80353dcf546deef1ce8d46198e5ece3: samples/cellular/nrf_cloud_ble_gateway/src/ble/dfu/peripheral_dfu.c:1381: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/boards/arm/apricity_gateway_nrf9160/nrf52840_reset.c:245: new blank line at EOF. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/boards/nrf9160dk_nrf9160_ns_0_14_0.overlay:26: new blank line at EOF. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:57: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:137: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:138: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:267: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:309: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:332: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:341: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:346: space before tab in indent. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:355: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:373: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:376: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:377: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:399: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:513: new blank line at EOF. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c:100: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c:351: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:502: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:1315: new blank line at EOF. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/dfu/peripheral_dfu.c:1216: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/dfu/peripheral_dfu.c:1218: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/flash/flash_test.c:23: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/gateway.c:644: trailing whitespace. 7673f587984a4171d45296cefc44edfcb25da157: samples/cellular/nrf_cloud_ble_gateway/src/ble/gateway.c:691: new blank line at EOF.
Run compliance checks on patch series (PR)
Process completed with exit code 1.
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L59
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:59 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L140
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:140 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L141
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:141 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L288
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:288 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L335
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:335 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L358
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:358 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L367
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:367 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L381
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:381 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L399
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:399 trailing whitespace
TRAILING_WHITESPACE: samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst#L402
samples/cellular/nrf_cloud_ble_gateway/src/ble/README.rst:402 trailing whitespace
BLOCK_COMMENT_STYLE: samples/cellular/nrf_cloud_ble_gateway/boards/nrf9160dk_nrf9160_0_14_0.overlay#L7
samples/cellular/nrf_cloud_ble_gateway/boards/nrf9160dk_nrf9160_0_14_0.overlay:7 Block comments use * on subsequent lines
BLOCK_COMMENT_STYLE: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c#L363
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c:363 Block comments use * on subsequent lines
LINE_SPACING: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c#L521
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c:521 Missing a blank line after declarations
UNSPECIFIED_INT: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c#L933
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble.c:933 Prefer 'unsigned int' to bare use of 'unsigned'
BLOCK_COMMENT_STYLE: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c#L569
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:569 Block comments should align the * on each line
LINE_SPACING: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c#L680
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:680 Missing a blank line after declarations
LINE_SPACING: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c#L723
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:723 Missing a blank line after declarations
LINE_SPACING: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c#L759
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:759 Missing a blank line after declarations
LINE_SPACING: samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c#L1192
samples/cellular/nrf_cloud_ble_gateway/src/ble/ble_codec.c:1192 Missing a blank line after declarations
IF_0: samples/cellular/nrf_cloud_ble_gateway/src/ble/cli.c#L167
samples/cellular/nrf_cloud_ble_gateway/src/ble/cli.c:167 Consider removing the code enclosed by this #if 0 and its #endif

Artifacts

Produced during runtime
Name Size Digest
compliance.xml
3.23 KB
sha256:dcd9e94102d32887eea09580c218f622c18479f15611f3a1412c8d0fdc17272f