v01d commented on a change in pull request #878:
URL: https://github.com/apache/mynewt-nimble/pull/878#discussion_r537684217
##########
File path: nimble/transport/socket/src/ble_hci_socket.c
##########
@@ -281,6 +343,9 @@ ble_hci_sock_cmdevt_tx(uint8_t *hci_ev, uint8_t h4_type)
memset(&msg, 0, sizeof(msg));
memset(iov, 0, sizeof(iov));
+ msg.msg_name = (void *)btaddr;
+ msg.msg_namelen = 6;
+
Review comment:
Right. I initially tried to use sendmsg() for NuttX but that is not
implemented yet for Bluetooth sockets, this was leftover code. I just removed
it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]