Closed evhan55 closed 5 years ago
@cwillisf This code is ready for a fresh review anytime. Thanks for the comments back in PR #115.
Here are log results from pressing the new Get services of connected peripheral
button after connecting to a micro:bit in playground.html
:
Received message: {"result":["0000180A-0000-1000-8000-00805f9b34fb","0000F005-0000-1000-8000-00805f9b34fb"],"jsonrpc":"2.0","id":3}
getServices resolved to: ["0000180A-0000-1000-8000-00805f9b34fb","0000F005-0000-1000-8000-00805f9b34fb"]
Received message: {"jsonrpc":"2.0","id":2,"result":["00001800-0000-1000-8000-00805f9b34fb","00001801-0000-1000-8000-00805f9b34fb","0000180a-0000-1000-8000-00805f9b34fb","0000f005-0000-1000-8000-00805f9b34fb"]}
getServices resolved to: ["00001800-0000-1000-8000-00805f9b34fb","00001801-0000-1000-8000-00805f9b34fb","0000180a-0000-1000-8000-00805f9b34fb","0000f005-0000-1000-8000-00805f9b34fb"]
Ok thanks! I will merge this here and then open an issue to improve with bit manipulation
Resolves
104: BLE 'getServices' possibly not implemented
Proposed Changes
Notes