summaryrefslogtreecommitdiff
path: root/ports/nrf/bluetooth
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2021-02-12wipDan Halbert
2020-06-25hci early wip; refactor supervisor bluetooth.c for nrf: testedDan Halbert
2020-06-03Fix up end of file and trailing whitespace.Diego Elio Pettenò
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-05-19nrf: _bleio: clean up timeout calculationSean Cross
The timeout value is calculated by the common-hal layer now, so we don't need to be quite so clever about calculating it here. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-30nrf: bluetooth: add s147 v7.0.1 softdevice hexfileSean Cross
This was not added as part of the initial v7.0.1 patchset because .hex files are in this project's .gitignore, and so git ignored it. Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-22nrf: bluetooth: add s140 v7.0.1Sean Cross
This is the first version with official support for nRF52833. Signed-off-by: Sean Cross <sean@xobs.io>
2020-01-31increase max connections from 2 to 5Dan Halbert
2020-01-30track vm_used_ble betterDan Halbert
2020-01-03Add PacketBuffer and MTU negotiation support.Scott Shawcroft
PacketBuffer facilitates packet oriented BLE protocols such as BLE MIDI and the Apple Media Service. This also adds PHY, MTU and connection event extension negotiation to speed up data transfer when possible.
2019-12-12merge from masterDan Halbert
2019-12-12sd_flash_operation_status should be volatileDan Halbert
2019-12-10merge from upstreamDan Halbert
2019-12-06Check connection validity after service discovery.Scott Shawcroft
Fixes #2347
2019-12-05wipDan Halbert
2019-12-04Add connection interval and debuggingScott Shawcroft
This also sets TinyUSB to master and to not include its submodules. It also fixes an old displayio example comment and retries gattc reads.
2019-10-21Refine _bleioScott Shawcroft
This PR refines the _bleio API. It was originally motivated by the addition of a new CircuitPython service that enables reading and modifying files on the device. Moving the BLE lifecycle outside of the VM motivated a number of changes to remove heap allocations in some APIs. It also motivated unifying connection initiation to the Adapter class rather than the Central and Peripheral classes which have been removed. Adapter now handles the GAP portion of BLE including advertising, which has moved but is largely unchanged, and scanning, which has been enhanced to return an iterator of filtered results. Once a connection is created (either by us (aka Central) or a remote device (aka Peripheral)) it is represented by a new Connection class. This class knows the current connection state and can discover and instantiate remote Services along with their Characteristics and Descriptors. Relates to #586
2019-10-06WIP: bondingDan Halbert
2019-08-29rename bleio module to _bleioDan Halbert
2019-08-11nrf: Use RUN_BACKGROUND_TASKSJeff Epler
2019-06-19WIP: backup only; not compiledDan Halbert
2019-06-19Update copyrights; get ready for CentralDan Halbert
2019-05-23Scanner working, but not very first timeDan Halbert
2019-03-18nrf: fix internal flash writesDan Halbert
2019-02-21Use critical section, not lock, in CharacteristicBuffer; use a root pointer ↵Dan Halbert
for ble_drv list
2019-02-15finish Makefile refactoring; nrf builds workDan Halbert
2019-01-29update tinyusb, work better with sdhathach
2019-01-07add CharacteristicBuffer; UART seems to work!Dan Halbert
2019-01-03evt handler list bugs; unique evt handler names; remove uuid128_referenceDan Halbert
2018-12-31don't free event handler list manually; let gc do itDan Halbert
2018-12-30Remove nRF52832 supportDan Halbert
2018-12-29free event handlers on reset; fix typo in BroadcasterDan Halbert
2018-12-28Add Broadcaster. Reset correctly on reload.Dan Halbert
2018-11-30Stop ignoring SD hex files and improve the error when its missing.Scott Shawcroft
2018-11-30Capture stderr as well and work on nRF buildScott Shawcroft
2018-11-30Fix BLE buildScott Shawcroft
2018-10-21bleio: A bit of cleanuparturo182
2018-10-21nrf: Fix ble uart using the new APIarturo182
2018-10-21nrf: Move bluetooth driver to the 'bluetooth' folderarturo182