[bluez/bluez] 10977a: iso-tester: Add ISO Reconnect Send and Receive #16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Branch: refs/heads/master
  Home:   https://github.com/bluez/bluez
  Commit: 10977abda3f8667ecdf67da1620e05e264df6c3a
      https://github.com/bluez/bluez/commit/10977abda3f8667ecdf67da1620e05e264df6c3a
  Author: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M tools/iso-tester.c

  Log Message:
  -----------
  iso-tester: Add ISO Reconnect Send and Receive #16

This adds ISO Reconnect Send and Receive #16 which test reconnecting,
send/receive datas, 16 times to stress test the handling of reconnecting
logic and confirm tha POLLOUT is generated everytime:

ISO Reconnect Send and Receive #16 - Success - run
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #16...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #15...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #14...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #13...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #12...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #11...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #10...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #9...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #8...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #7...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #6...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #5...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #4...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #3...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #2...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
  Reconnecting #1...
  Connecting to 00:AA:01:01:00:00...
  Connect 0 in progress
  Accept client connection with handle 0x0101: 0x00
  New client connection with handle 0x0101
  Successfully connected
  POLLOUT event received
  Writing 40 bytes of data
  Receive 40 bytes of data
  Client received 40 bytes of data
  Disconnecting...
  ISO handle 0x0101 disconnected
  Successfully disconnected
ISO Reconnect Send and Receive #16 - Success - test passed


  Commit: ae29fcb2acc0d63935edb6c7313dbd766ef3a281
      https://github.com/bluez/bluez/commit/ae29fcb2acc0d63935edb6c7313dbd766ef3a281
  Author: Bastien Nocera <hadess@xxxxxxxxxx>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M .gitignore
    M Makefile.am
    M attrib/att.c
    M attrib/gatt.c
    M attrib/gattrib.c
    M attrib/gatttool.c
    M attrib/interactive.c
    M attrib/utils.c
    M btio/btio.c
    M client/assistant.c
    M client/mgmt.c
    M client/player.c
    M emulator/b1ee.c
    M emulator/btdev.c
    M emulator/bthost.c
    M emulator/bthost.h
    M emulator/hciemu.c
    M emulator/le.c
    M emulator/serial.c
    M emulator/server.c
    M emulator/smp.c
    M emulator/vhci.c
    R lib/bluetooth.c
    R lib/bluetooth.h
    A lib/bluetooth/bluetooth.c
    A lib/bluetooth/bluetooth.h
    A lib/bluetooth/bnep.h
    A lib/bluetooth/cmtp.h
    A lib/bluetooth/hci.c
    A lib/bluetooth/hci.h
    A lib/bluetooth/hci_lib.h
    A lib/bluetooth/hidp.h
    A lib/bluetooth/iso.h
    A lib/bluetooth/l2cap.h
    A lib/bluetooth/mgmt.h
    A lib/bluetooth/rfcomm.h
    A lib/bluetooth/sco.h
    A lib/bluetooth/sdp.c
    A lib/bluetooth/sdp.h
    A lib/bluetooth/sdp_lib.h
    A lib/bluetooth/uuid.c
    A lib/bluetooth/uuid.h
    R lib/bnep.h
    R lib/cmtp.h
    R lib/hci.c
    R lib/hci.h
    R lib/hci_lib.h
    R lib/hidp.h
    R lib/iso.h
    R lib/l2cap.h
    R lib/mgmt.h
    R lib/rfcomm.h
    R lib/sco.h
    R lib/sdp.c
    R lib/sdp.h
    R lib/sdp_lib.h
    R lib/uuid.c
    R lib/uuid.h
    M mesh/main.c
    M mesh/mesh-io-generic.c
    M mesh/mesh-io-mgmt.c
    M mesh/mesh-io.c
    M mesh/mesh-mgmt.c
    M monitor/a2dp.c
    M monitor/analyze.c
    M monitor/att.c
    M monitor/avctp.c
    M monitor/avdtp.c
    M monitor/bnep.c
    M monitor/control.c
    M monitor/hcidump.c
    M monitor/intel.c
    M monitor/l2cap.c
    M monitor/msft.c
    M monitor/packet.c
    M monitor/rfcomm.c
    M monitor/sdp.c
    M obexd/client/bluetooth.c
    M obexd/client/map.c
    M obexd/client/pbap.c
    M obexd/plugins/bluetooth.c
    M obexd/plugins/syncevolution.c
    M peripheral/attach.c
    M peripheral/gap.c
    M peripheral/gatt.c
    M plugins/admin.c
    M plugins/autopair.c
    M plugins/hostname.c
    M plugins/neard.c
    M plugins/policy.c
    M plugins/sixaxis.c
    M profiles/audio/a2dp.c
    M profiles/audio/asha.c
    M profiles/audio/avctp.c
    M profiles/audio/avdtp.c
    M profiles/audio/avrcp.c
    M profiles/audio/bap.c
    M profiles/audio/bass.c
    M profiles/audio/ccp.c
    M profiles/audio/control.c
    M profiles/audio/csip.c
    M profiles/audio/mcp.c
    M profiles/audio/media.c
    M profiles/audio/micp.c
    M profiles/audio/sink.c
    M profiles/audio/source.c
    M profiles/audio/transport.c
    M profiles/audio/vcp.c
    M profiles/battery/bas.c
    M profiles/battery/battery.c
    M profiles/cups/hcrp.c
    M profiles/cups/main.c
    M profiles/cups/sdp.c
    M profiles/cups/spp.c
    M profiles/deviceinfo/deviceinfo.c
    M profiles/deviceinfo/dis.c
    M profiles/gap/gas.c
    M profiles/health/hdp.c
    M profiles/health/hdp_manager.c
    M profiles/health/hdp_util.c
    M profiles/health/mcap.c
    M profiles/input/device.c
    M profiles/input/hog-lib.c
    M profiles/input/hog.c
    M profiles/input/manager.c
    M profiles/input/server.c
    M profiles/midi/midi.c
    M profiles/network/bnep.c
    M profiles/network/connection.c
    M profiles/network/manager.c
    M profiles/network/server.c
    M profiles/sap/manager.c
    M profiles/sap/server.c
    M profiles/scanparam/scan.c
    M profiles/scanparam/scpp.c
    M src/adapter.c
    M src/adapter.h
    M src/adv_monitor.c
    M src/advertising.c
    M src/agent.c
    M src/battery.c
    M src/bearer.c
    M src/device.c
    M src/eir.c
    M src/eir.h
    M src/gatt-client.c
    M src/gatt-database.c
    M src/log.c
    M src/main.c
    M src/oui.c
    M src/plugin.c
    M src/profile.c
    M src/rfkill.c
    M src/sdp-client.c
    M src/sdp-xml.c
    M src/sdpd-database.c
    M src/sdpd-request.c
    M src/sdpd-server.c
    M src/sdpd-service.c
    M src/service.c
    M src/settings.c
    M src/shared/ad.c
    M src/shared/ad.h
    M src/shared/asha.c
    M src/shared/att.c
    M src/shared/bap.c
    M src/shared/bass.c
    M src/shared/btp.c
    M src/shared/ccp.c
    M src/shared/csip.c
    M src/shared/gap.c
    M src/shared/gatt-client.c
    M src/shared/gatt-db.c
    M src/shared/gatt-helpers.c
    M src/shared/gatt-server.c
    M src/shared/log.c
    M src/shared/mcp.c
    M src/shared/mgmt.c
    M src/shared/micp.c
    M src/shared/tester.c
    M src/shared/util.c
    M src/shared/vcp.c
    M src/storage.c
    M src/uuid-helper.c
    M tools/advtest.c
    M tools/avinfo.c
    M tools/avtest.c
    M tools/bdaddr.c
    M tools/bluetooth-player.c
    M tools/bnep-tester.c
    M tools/bneptest.c
    M tools/btattach.c
    M tools/btgatt-client.c
    M tools/btgatt-server.c
    M tools/btiotest.c
    M tools/btmon-logger.c
    M tools/btpclient.c
    M tools/btpclientctl.c
    M tools/ciptool.c
    M tools/cltest.c
    M tools/hciattach.c
    M tools/hciattach_ath3k.c
    M tools/hciattach_bcm43xx.c
    M tools/hciattach_intel.c
    M tools/hciattach_qualcomm.c
    M tools/hciattach_st.c
    M tools/hciattach_ti.c
    M tools/hciattach_tialt.c
    M tools/hciconfig.c
    M tools/hcidump.c
    M tools/hcieventmask.c
    M tools/hcisecfilter.c
    M tools/hcitool.c
    M tools/hwdb.c
    M tools/ioctl-tester.c
    M tools/iso-tester.c
    M tools/isotest.c
    M tools/l2cap-tester.c
    M tools/l2ping.c
    M tools/l2test.c
    M tools/mcaptest.c
    M tools/mesh-gatt/gatt.c
    M tools/mesh-tester.c
    M tools/mesh/agent.c
    M tools/meshctl.c
    M tools/mgmt-tester.c
    M tools/oobtest.c
    M tools/parser/hci.c
    M tools/parser/l2cap.c
    M tools/parser/lmp.c
    M tools/parser/parser.h
    M tools/rctest.c
    M tools/rfcomm-tester.c
    M tools/rfcomm.c
    M tools/sco-tester.c
    M tools/scotest.c
    M tools/sdptool.c
    M tools/smp-tester.c
    M tools/test-runner.c
    M tools/userchan-tester.c
    M unit/avctp.c
    M unit/avdtp.c
    M unit/avrcp-lib.c
    M unit/avrcp.c
    M unit/test-avrcp.c
    M unit/test-bap.c
    M unit/test-bass.c
    M unit/test-eir.c
    M unit/test-gatt.c
    M unit/test-gattrib.c
    M unit/test-hog.c
    M unit/test-lib.c
    M unit/test-mgmt.c
    M unit/test-micp.c
    M unit/test-sdp.c
    M unit/test-uuid.c
    M unit/test-vcp.c

  Log Message:
  -----------
  build: Move library source to lib/bluetooth

This fixes the installed directory hierarchy not matching the source
directory hierarchy.


  Commit: eb40539c7e5a3acba685f6b22776ff464a316a94
      https://github.com/bluez/bluez/commit/eb40539c7e5a3acba685f6b22776ff464a316a94
  Author: Bastien Nocera <hadess@xxxxxxxxxx>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M client/display.c

  Log Message:
  -----------
  client: Fix missing strdup/memset declarations

bluez/client/display.c: In function ‘rl_prompt_input’:
bluez/client/display.c:112:24: error: implicit declaration of function ‘strdup’ [-Wimplicit-function-declaration]
  112 |         saved_prompt = strdup(rl_prompt);
      |                        ^~~~~~
bluez/client/display.c:112:24: warning: incompatible implicit declaration of built-in function ‘strdup’ [-Wbuiltin-declaration-mismatch]
bluez/client/display.c:119:9: error: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration]
  119 |         memset(prompt, 0, sizeof(prompt));
      |         ^~~~~~
bluez/client/display.c:24:1: note: include ‘<string.h>’ or provide a declaration of ‘memset’
   23 | #include "display.h"
  +++ |+#include <string.h>
   24 |
bluez/client/display.c:119:9: warning: incompatible implicit declaration of built-in function ‘memset’ [-Wbuiltin-declaration-mismatch]
  119 |         memset(prompt, 0, sizeof(prompt));
      |         ^~~~~~
bluez/client/display.c:119:9: note: include ‘<string.h>’ or provide a declaration of ‘memset’


  Commit: 0cac149a4bdfd96350e34bb8bcd9baff6df9f143
      https://github.com/bluez/bluez/commit/0cac149a4bdfd96350e34bb8bcd9baff6df9f143
  Author: Bastien Nocera <hadess@xxxxxxxxxx>
  Date:   2025-08-11 (Mon, 11 Aug 2025)

  Changed paths:
    M tools/mesh/agent.c

  Log Message:
  -----------
  mesh: Fix 'buf’ may be used uninitialized warning

../dist-unpack/bluez-5.83/tools/mesh/agent.c: In function ‘response_decimal’:
../dist-unpack/bluez-5.83/tools/mesh/agent.c:94:9: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized]
   94 |         bt_put_be32(atoi(input), buf);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../dist-unpack/bluez-5.83/tools/mesh/agent.c:20:
../dist-unpack/bluez-5.83/lib/bluetooth/bluetooth.h:342:20: note: by argument 2 of type ‘const void *’ to ‘bt_put_be32’ declared here
  342 | static inline void bt_put_be32(uint32_t val, const void *ptr)
      |                    ^~~~~~~~~~~
../dist-unpack/bluez-5.83/tools/mesh/agent.c:88:17: note: ‘buf’ declared here
   88 |         uint8_t buf[DECIMAL_OOB_LEN];
      |                 ^~~


Compare: https://github.com/bluez/bluez/compare/af816afa7ed1...0cac149a4bdf

To unsubscribe from these emails, change your notification settings at https://github.com/bluez/bluez/settings/notifications





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux