summaryrefslogtreecommitdiff
path: root/ports/nrf/bluetooth/ble_drv.c
AgeCommit message (Collapse)Author
2021-03-15run code formatting scriptmicroDev
2020-06-25hci early wip; refactor supervisor bluetooth.c for nrf: testedDan 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-12sd_flash_operation_status should be volatileDan Halbert
2019-12-06Check connection validity after service discovery.Scott Shawcroft
Fixes #2347
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-06-19Update copyrights; get ready for CentralDan 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-29free event handlers on reset; fix typo in BroadcasterDan Halbert
2018-12-28Add Broadcaster. Reset correctly on reload.Dan Halbert
2018-10-21nrf: Move bluetooth driver to the 'bluetooth' folderarturo182