summaryrefslogtreecommitdiff
path: root/shared-bindings/_bleio
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-02-17add timeout; finish up for PRDan Halbert
2021-01-10Round BLE timing values; fix timeout checkDan Halbert
2020-12-23BLE fixesDan Halbert
2020-10-07Replace _bleio.ConnectionError with the native versionScott Shawcroft
Replace uses of _bleio.ConnectionError with regular ConnectionError Fixes #3008
2020-09-13_bleio: fix markup typoJeff Epler
2020-09-01share more of _bleio dict; fix one doc errorDan Halbert
2020-08-30Fix stub; mismatched triple quotesDan Halbert
2020-08-30merge from upstreamDan Halbert
2020-08-30address review; use constructor for HCI AdapterDan Halbert
2020-08-21sphinx fixesDan Halbert
2020-08-21Add more "extern" declarations for gcc10 compatScott Shawcroft
gcc has tightened the restrictions on forward declarations that lack "extern". Fix them up.
2020-08-21fix stubs; make translateDan Halbert
2020-08-20merge from upstream; working; includes debug_out code for debugging via ↵Dan Halbert
Saleae for posterity
2020-08-14bug in char get_value; raise NotImpl; better arg validationDan Halbert
2020-08-14fixYihui Xiong
2020-08-13able to change ble mac addressYihui Xiong
2020-08-11fix #3228 for nrf; still needs to be fixed for HCI; testedDan Halbert
2020-08-08discovery of Nordic UART service workingDan Halbert
2020-08-07Modify some Python stubsTaku Fukada
2020-08-02wip: compilesDan Halbert
2020-07-27Fix several type hintsTaku Fukada
2020-07-24Add and correct some type hintsTaku Fukada
2020-07-22Merge branch 'main' into memmonitorScott Shawcroft
2020-07-21Fix BluetoothError doc typo we copiedScott Shawcroft
2020-07-16snapshotDan Halbert
2020-07-15back to working; check for extended advertising supportDan Halbert
2020-07-12wip: advertising; not testedDan Halbert
2020-07-08address working; improved pkt dumpDan Halbert
2020-07-08use zephyr include files; wip: compilesDan Halbert
2020-07-03Made every init return Nonedherrada
2020-07-03Made most of the requested changesdherrada
2020-07-02Changed unions to ReadableBuffer and WriteableBufferdherrada
2020-07-02Added type hints to _bleiodherrada
2020-06-30hci skeleton done; not working yetDan Halbert
2020-06-26do HCI pin init in Python, not hereDan Halbert
2020-06-26wip; compiles; much commented outDan Halbert
2020-06-25hci early wip; refactor supervisor bluetooth.c for nrf: testedDan Halbert
2020-06-14shared-bindings: Change docstrings with '\x...' chars to raw stringsJeff Epler
Closes: #3032
2020-05-19bleio: adapter: add advertising timeout and statusSean Cross
Add a field to allow specifying a timeout when initiating advertising. As part of this, add a new property to determine if the device is still advertising. Additionally, have the `anonymous` property require a timeout, and set the timeout to the maximum possible value if no timeout is specified. Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-19_bleio: support anonymous advertisingSean Cross
Add a new parameter to the `start_advertising()` function to enable anonymous advertising. This forces a call to `sd_ble_gap_privacy_set()` with `privacy_mode` set to `BLE_GAP_PRIVACY_MODE_DEVICE_PRIVACY` and `private_addr_type` set to `BLE_GAP_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE`. With this, addresses will cycle at a predefined rate (currently once every 15 minutes). Signed-off-by: Sean Cross <sean@xobs.io>
2020-05-12Swap sphinx to autoapi and the inline stubsScott Shawcroft
2020-05-12Merge branch 'master' into masterdherrada
2020-05-04trivial change to force rebuildDan Halbert
2020-05-04address review commentsDan Halbert
2020-05-04add PacketBuffer .incoming_ and .outgoing_packet_lengthDan Halbert
2020-05-01Did audiopwmio, bitbangio, and _bleiodherrada
2020-04-30PacketBuffer doc fixesDan Halbert
2020-04-29further cleanup and bug fixingDan Halbert
2020-04-29back to '.packet_size' for compatiblityDan Halbert