Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nimble/transport: Fix compilation with TCP socket transport #1768

Merged
merged 1 commit into from
May 6, 2024

Conversation

zaporozhets
Copy link
Contributor

Hi,

This patch fixes host stack compilation with BLE_SOCK_USE_TCP=1. Error message below

/usr/bin/ld: libnimble.a(ble_hci_socket.c.o): in function `ble_hci_trans_ll_evt_tx':
/yoyo/mynewt-nimble/nimble/transport/socket/src/ble_hci_socket.c:730: undefined reference to `ble_hci_sock_cmdevt_tx'
/usr/bin/ld: libnimble.a(ble_hci_socket.c.o): in function `ble_hci_trans_ll_acl_tx':
/yoyo/mynewt-nimble/nimble/transport/socket/src/ble_hci_socket.c:744: undefined reference to `ble_hci_sock_acl_tx'
/usr/bin/ld: libnimble.a(ble_hci_socket.c.o): in function `ble_hci_trans_hs_cmd_tx':
/yoyo/mynewt-nimble/nimble/transport/socket/src/ble_hci_socket.c:759: undefined reference to `ble_hci_sock_cmdevt_tx'
/usr/bin/ld: libnimble.a(ble_hci_socket.c.o): in function `ble_hci_trans_hs_acl_tx':
/yoyo/mynewt-nimble/nimble/transport/socket/src/ble_hci_socket.c:773: undefined reference to `ble_hci_sock_acl_tx'

Let me know if you have any suggestions on implementation.

@sjanc sjanc merged commit 175029c into apache:master May 6, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants