summaryrefslogtreecommitdiffstatshomepage
path: root/extmod/btstack/modbluetooth_btstack.c
diff options
context:
space:
mode:
authorPTH <thomas@pth.systems>2021-02-12 15:08:02 +0100
committerDamien George <damien@micropython.org>2021-02-17 10:42:43 +1100
commit5cb91afb9b3b34bbf0ee022a3f69af90c01d1d54 (patch)
tree5d2abc2aa34633b70adb3dfb69b53b0e3a255967 /extmod/btstack/modbluetooth_btstack.c
parent6c4a5d185d7e70c22c0f72fb1cd8add251600548 (diff)
downloadmicropython-5cb91afb9b3b34bbf0ee022a3f69af90c01d1d54.tar.gz
micropython-5cb91afb9b3b34bbf0ee022a3f69af90c01d1d54.zip
zephyr/modusocket: Fix parameter in calls to net_context_get_XXX().
The following simple usocket example throws an error EINVAL on connect import usocket s = usocket.socket() s.connect(usocket.getaddrinfo('www.micropython.org', 80)[0][-1]) Traceback (most recent call last): File "<stdin>", line 1, in <module> OSError: [Errno 22] EINVAL Fixing the context parameter in calls of net_context_get_family() and net_context_get_type(), the connect works fine. Tested on a nucleo_h743zi board.
Diffstat (limited to 'extmod/btstack/modbluetooth_btstack.c')
0 files changed, 0 insertions, 0 deletions