[bluez/bluez] e3b913: client/mgmt: fix compiler error
From: Christian Eggers <hidden>
Date: 2026-02-25 17:18:06
Branch: refs/heads/1057897 Home: https://github.com/bluez/bluez Commit: e3b913c5749a3c2c9bd6b94b2e3270cccd22ecac https://github.com/bluez/bluez/commit/e3b913c5749a3c2c9bd6b94b2e3270cccd22ecac Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M client/mgmt.c Log Message: ----------- client/mgmt: fix compiler error client/mgmt.c: In function ‘str2bytearray’: client/mgmt.c:2385:23: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘long int’ [-Werror=sign-compare] 2385 | if (i >= *val_len) { | ^~ Commit: 473e7bf48989dd9947a212aba862430b69e58e26 https://github.com/bluez/bluez/commit/473e7bf48989dd9947a212aba862430b69e58e26 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M tools/btgatt-client.c M tools/btgatt-server.c Log Message: ----------- tools: btgatt-client/-server: replace ATT_CID with 'shared' BT_ATT_CID Avoid multiple definitions of the same value. Commit: 38fec54e72381961bf9f2815285bc611b8d6a7b9 https://github.com/bluez/bluez/commit/38fec54e72381961bf9f2815285bc611b8d6a7b9 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M src/adapter.c M src/device.c Log Message: ----------- src: replace ATT_CID with 'shared' BT_ATT_CID Avoid multiple definitions of the same value. Commit: dfc1947986c120c066a8206824b27c9cbbad574b https://github.com/bluez/bluez/commit/dfc1947986c120c066a8206824b27c9cbbad574b Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M peripheral/gatt.c Log Message: ----------- peripheral: replace ATT_CID with shared BT_ATT_CID Avoid multiple definitions of the same value. Commit: e11aecc6e1b267afb6eb90d84f2454458f80f624 https://github.com/bluez/bluez/commit/e11aecc6e1b267afb6eb90d84f2454458f80f624 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M attrib/att.h M attrib/gatttool.c M attrib/interactive.c M attrib/utils.c Log Message: ----------- attrib: replace ATT_CID with 'shared' BT_ATT_CID Avoid multiple definitions of the same value. Commit: 17b3369d77fd97ebd01fc350ae10a2d3d7b0b07e https://github.com/bluez/bluez/commit/17b3369d77fd97ebd01fc350ae10a2d3d7b0b07e Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M attrib/att.h M src/device.c Log Message: ----------- src: replace ATT_PSM with 'shared' BT_ATT_PSM Avoid multiple definitions of the same value. Commit: eaefdefa0d413cb4abfc2d363614eecfb8a90662 https://github.com/bluez/bluez/commit/eaefdefa0d413cb4abfc2d363614eecfb8a90662 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M tools/btgatt-server.c Log Message: ----------- tools: btgatt-server: remove unused member 'fd' Commit: 918d0c739ab43c0c4305c7a05100382a8edfbb4e https://github.com/bluez/bluez/commit/918d0c739ab43c0c4305c7a05100382a8edfbb4e Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M lib/bluetooth/l2cap.h M tools/l2test.c Log Message: ----------- l2test: add comment to -F <fcs> option Clarify that this option has affect for BR/EDR sockets only. Use defines instead of magic numbers. Commit: c85f68b3bc2d883ebbd285bd54eda1d0f571833e https://github.com/bluez/bluez/commit/c85f68b3bc2d883ebbd285bd54eda1d0f571833e Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M tools/l2test.c Log Message: ----------- l2test: add comment to -O <omtu> option Clarify that this option has affect for BR/EDR sockets only. Commit: 75ee8b37985e73efd560606f9f11377a514d8206 https://github.com/bluez/bluez/commit/75ee8b37985e73efd560606f9f11377a514d8206 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M tools/l2test.c Log Message: ----------- l2test: small improvements for deferred setup - don't pass arbitrary option values to the kernel (the kernel only checks for zero / non-zero) - centralize authorization of new connections in listen() - improve documentation of command line option Commit: dea2035ea920e634bebe18b4f64ddaf2bc67c9bc https://github.com/bluez/bluez/commit/dea2035ea920e634bebe18b4f64ddaf2bc67c9bc Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M src/adapter.c M src/agent.c M src/agent.h M src/device.c M src/shared/mgmt.c M src/shared/mgmt.h Log Message: ----------- agent: move defines and parsing for I/O capability to shared/mgnt Allow reusing in client/mgmt.c (next commit) Commit: 22a0cb92cd0353a90fd77276f64706757faabf37 https://github.com/bluez/bluez/commit/22a0cb92cd0353a90fd77276f64706757faabf37 Author: Christian Eggers [off-list ref] Date: 2026-02-25 (Wed, 25 Feb 2026) Changed paths: M client/mgmt.c M src/shared/mgmt.c M src/shared/mgmt.h Log Message: ----------- client/mgmt: align implementation cmd_io_cap with its documentation Documentation of io-cap in doc/bluetootctl-mgmt.rst states that the IO capability has to passed as string instead of an integer. Additionally improve error checking after calling strtol(). Compare: https://github.com/bluez/bluez/compare/e3b913c5749a%5E...22a0cb92cd03 To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications