Closed wenchao-cui closed 2 years ago
Please describe what should happen
Describe what actually happens
Mac OS 12.2.1 (21D62) MacBook Air (13-inch, Early 2015) Bluetooth Chip: BCM_20702B0
Scratch 3.29.1 AppStore Scratch Link 1.4.3 f78273b macOS Version 10.16 (Build 21D62)
I collected the network packets: (1) Scratch ---> Scratch Link GET /scratch/ble HTTP/1.1 Host: 127.0.0.1:20111 Connection: Upgrade Pragma: no-cache Cache-Control: no-cache User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Scratch/3.29.1 Chrome/94.0.4606.81 Electron/15.3.1 Safari/537.36 Upgrade: websocket Origin: file:// Sec-WebSocket-Version: 13 Accept-Encoding: gzip, deflate, br Accept-Language: zh-CN Sec-WebSocket-Key: Lqy7/7NJpj18cHltzZgcew== Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
(2) Scratch <--- Scratch Link HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: hqBGgYStx87UxW/gKrjgBkHs9m8= Content-Length: 0
(3) Scratch ---> Scratch Link (websocket data) {"jsonrpc":"2.0","method":"discover","params":{"filters":[{"services":["00001523-1212-efde-1523-785feabcd123"]}],"optionalServices":["00004f0e-1212-efde-1523-785feabcd123"]},"id":0}
(4) Scratch <--- Scratch Link {"result":null,"jsonrpc":"2.0","id":0}
BUT, on the same computer , LEGO Wedo 2.0 App can connect the device, with no problem. The Connected Device Name: LPF2 Smart Hub 2 I/O
This appears to be the same issue as https://github.com/LLK/scratch-link/issues/198
邮件已收到,这是自动回复
Expected Behavior
Please describe what should happen
Actual Behavior
Describe what actually happens
Steps to Reproduce
Operating System and Browser
Mac OS 12.2.1 (21D62) MacBook Air (13-inch, Early 2015) Bluetooth Chip: BCM_20702B0
Scratch 3.29.1 AppStore Scratch Link 1.4.3 f78273b macOS Version 10.16 (Build 21D62)
I collected the network packets: (1) Scratch ---> Scratch Link GET /scratch/ble HTTP/1.1 Host: 127.0.0.1:20111 Connection: Upgrade Pragma: no-cache Cache-Control: no-cache User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Scratch/3.29.1 Chrome/94.0.4606.81 Electron/15.3.1 Safari/537.36 Upgrade: websocket Origin: file:// Sec-WebSocket-Version: 13 Accept-Encoding: gzip, deflate, br Accept-Language: zh-CN Sec-WebSocket-Key: Lqy7/7NJpj18cHltzZgcew== Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
(2) Scratch <--- Scratch Link HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: hqBGgYStx87UxW/gKrjgBkHs9m8= Content-Length: 0
(3) Scratch ---> Scratch Link (websocket data) {"jsonrpc":"2.0","method":"discover","params":{"filters":[{"services":["00001523-1212-efde-1523-785feabcd123"]}],"optionalServices":["00004f0e-1212-efde-1523-785feabcd123"]},"id":0}
(4) Scratch <--- Scratch Link {"result":null,"jsonrpc":"2.0","id":0}
BUT, on the same computer , LEGO Wedo 2.0 App can connect the device, with no problem. The Connected Device Name: LPF2 Smart Hub 2 I/O