pybluez/pybluez

Windows error messages are generic, not Bluetooth-specific

开放

#301 创建于 2020年1月8日

 (1 条评论) (0 个反应) (0 位负责人)HTML (667 个派生)batch import
Windowshelp wantedpinned

仓库指标

星标
 (2,071 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

The Err_SetFromWSALastError() function in _msbt.c will return strings like

A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call.

But there are Bluetooth-specific messages, with the same error codes, here: https://docs.microsoft.com/en-us/windows/win32/bluetooth/bluetooth-and-connect

The L2CAP channel disconnected by remote peer.

贡献者指南