<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/supervisor/shared/bluetooth.c, branch 6.2.x</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.x</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=6.2.x'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2021-03-15T13:57:36+00:00</updated>
<entry>
<title>run code formatting script</title>
<updated>2021-03-15T13:57:36+00:00</updated>
<author>
<name>microDev</name>
<email>70126934+microDev1@users.noreply.github.com</email>
</author>
<published>2021-03-15T13:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a52eb88031620a81521b937f2a0651dbac2bb350'/>
<id>urn:sha1:a52eb88031620a81521b937f2a0651dbac2bb350</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wip: advertising; not tested</title>
<updated>2020-07-12T23:45:23+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-07-12T23:45:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f6869c69c5fda701b57fbfca0eaf1aa03a2d164b'/>
<id>urn:sha1:f6869c69c5fda701b57fbfca0eaf1aa03a2d164b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>hci early wip; refactor supervisor bluetooth.c for nrf: tested</title>
<updated>2020-06-26T00:57:17+00:00</updated>
<author>
<name>Dan Halbert</name>
<email>halbert@halwitz.org</email>
</author>
<published>2020-06-26T00:57:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=759929c24a9966b64075bedfb365f3dfc66ad681'/>
<id>urn:sha1:759929c24a9966b64075bedfb365f3dfc66ad681</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bleio: adapter: add advertising timeout and status</title>
<updated>2020-05-19T07:01:19+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-05-19T06:56:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=34f91f01c6691908e024eba07b7f0eff187a693a'/>
<id>urn:sha1:34f91f01c6691908e024eba07b7f0eff187a693a</id>
<content type='text'>
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 &lt;sean@xobs.io&gt;
</content>
</entry>
<entry>
<title>_bleio: support anonymous advertising</title>
<updated>2020-05-19T07:01:18+00:00</updated>
<author>
<name>Sean Cross</name>
<email>sean@xobs.io</email>
</author>
<published>2020-05-17T14:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=cfe65742a376652be0b44ff93d47f407a9db8bf9'/>
<id>urn:sha1:cfe65742a376652be0b44ff93d47f407a9db8bf9</id>
<content type='text'>
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 &lt;sean@xobs.io&gt;
</content>
</entry>
<entry>
<title>Disable BLE file service for now</title>
<updated>2020-02-20T20:15:56+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2020-02-20T20:15:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e8f71415644846ca0f4195afcad4a9e8b2469ded'/>
<id>urn:sha1:e8f71415644846ca0f4195afcad4a9e8b2469ded</id>
<content type='text'>
Fixes #2633
</content>
</entry>
<entry>
<title>Comment supervisor ble data arrays.</title>
<updated>2019-12-06T19:13:22+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-12-06T19:13:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e8a54eacaabb0bf16be79c3f993b660a6c069122'/>
<id>urn:sha1:e8a54eacaabb0bf16be79c3f993b660a6c069122</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add connection interval and debugging</title>
<updated>2019-12-04T22:39:02+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-11-23T00:33:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=17c8356b8c06ac160bf9fad6b6b4b8b1095d8dcd'/>
<id>urn:sha1:17c8356b8c06ac160bf9fad6b6b4b8b1095d8dcd</id>
<content type='text'>
This also sets TinyUSB to master and to not include its submodules.

It also fixes an old displayio example comment and retries gattc
reads.
</content>
</entry>
<entry>
<title>Fix build by removing unused vars</title>
<updated>2019-10-23T00:24:04+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-10-23T00:24:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ece8352126e34c5437080e9343f469f2f5e1bfe9'/>
<id>urn:sha1:ece8352126e34c5437080e9343f469f2f5e1bfe9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refine _bleio</title>
<updated>2019-10-22T01:57:03+00:00</updated>
<author>
<name>Scott Shawcroft</name>
<email>scott@tannewt.org</email>
</author>
<published>2019-09-14T19:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=ae30a1e5aa198bdeee7dce04194b027ff4e3d65a'/>
<id>urn:sha1:ae30a1e5aa198bdeee7dce04194b027ff4e3d65a</id>
<content type='text'>
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
</content>
</entry>
</feed>
