<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/extmod/btstack, branch master</title>
<subtitle>MicroPython source and hardware configuration for OpenMano</subtitle>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/'/>
<entry>
<title>extmod/modbluetooth: Separate enabling of "client" from "central".</title>
<updated>2021-02-19T06:53:43+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2021-02-19T03:47:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a76604afba109d990e466cdcd5a69a82077a7f56'/>
<id>a76604afba109d990e466cdcd5a69a82077a7f56</id>
<content type='text'>
Previously, the MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE macro
controlled enabling both the central mode and the GATT client
functionality (because usually the two go together).

This commits adds a new MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
macro that separately enables the GATT client functionality.
This defaults to MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE.

This also fixes a bug in the NimBLE bindings where a notification
or indication would not be received by a peripheral (acting as client)
as gap_event_cb wasn't handling it. Now both central_gap_event_cb
and peripheral_gap_event_cb share the same common handler for these
events.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE macro
controlled enabling both the central mode and the GATT client
functionality (because usually the two go together).

This commits adds a new MICROPY_PY_BLUETOOTH_ENABLE_GATT_CLIENT
macro that separately enables the GATT client functionality.
This defaults to MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE.

This also fixes a bug in the NimBLE bindings where a notification
or indication would not be received by a peripheral (acting as client)
as gap_event_cb wasn't handling it. Now both central_gap_event_cb
and peripheral_gap_event_cb share the same common handler for these
events.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/btstack: Use MICROPY_HW_BLE_UART_BAUDRATE for first UART init.</title>
<updated>2021-02-17T05:06:56+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-17T05:06:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=cf6a0158806b11c521b9c9f8a1104f577a78fe1e'/>
<id>cf6a0158806b11c521b9c9f8a1104f577a78fe1e</id>
<content type='text'>
Otherwise the UART may be left in a state at baudrate=0.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the UART may be left in a state at baudrate=0.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Allow NimBLE to use Zephyr static address.</title>
<updated>2021-02-17T00:25:02+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2021-02-12T03:33:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=4005138882757ae536482c1d105b28c9869ab8ce'/>
<id>4005138882757ae536482c1d105b28c9869ab8ce</id>
<content type='text'>
Zephyr controllers can be queried for a static address (computed from the
device ID).  BlueKitchen already supports this, but make them both use the
same macro to enable the feature.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Zephyr controllers can be queried for a static address (computed from the
device ID).  BlueKitchen already supports this, but make them both use the
same macro to enable the feature.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/btstack: Enable SYNC_EVENTS, PAIRING_BONDING by default.</title>
<updated>2021-02-12T01:08:09+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-10T10:40:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=50615fef89787f8b55a8ba6e718298421d7e3cb0'/>
<id>50615fef89787f8b55a8ba6e718298421d7e3cb0</id>
<content type='text'>
Synchronous events work on stm32 and unix ports.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Synchronous events work on stm32 and unix ports.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/btstack: Add stub functions for passkey, l2cap bindings.</title>
<updated>2021-02-12T01:07:51+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-10T10:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=24a8a408a9f5cc6cb26f2295a87303e75a48a312'/>
<id>24a8a408a9f5cc6cb26f2295a87303e75a48a312</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/btstack: Add HCI trace debugging option in btstack_hci_uart.</title>
<updated>2021-02-12T01:07:29+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2021-02-10T05:00:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=7535f67dfbbcd0f2f47ffbf893d6f66f96becae6'/>
<id>7535f67dfbbcd0f2f47ffbf893d6f66f96becae6</id>
<content type='text'>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Add gap_pair(conn_handle) func to intiate pairing.</title>
<updated>2020-12-02T03:41:26+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-11-24T13:06:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=801e8ffacff0d2ed15e82136db2a8a45afbfab7b'/>
<id>801e8ffacff0d2ed15e82136db2a8a45afbfab7b</id>
<content type='text'>
Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Allow configuration of pairing/bonding parameters.</title>
<updated>2020-12-02T03:40:49+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-11-24T12:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=a1fcf301217b34ae74fbb937a9488be5bc6e61a5'/>
<id>a1fcf301217b34ae74fbb937a9488be5bc6e61a5</id>
<content type='text'>
This allows setting the security and MITM-protection requirements.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows setting the security and MITM-protection requirements.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Add _IRQ_ENCRYPTION_UPDATE event.</title>
<updated>2020-12-02T03:40:15+00:00</updated>
<author>
<name>Andrew Leech</name>
</author>
<published>2020-11-04T07:21:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=05fef8c6a4113bc05dd09ddd8d0bf7d136d59f39'/>
<id>05fef8c6a4113bc05dd09ddd8d0bf7d136d59f39</id>
<content type='text'>
This allows the application to be notified if any of encrypted,
authenticated and bonded state change, as well as the encryption key size.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the application to be notified if any of encrypted,
authenticated and bonded state change, as well as the encryption key size.

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Allow setting char/desc enc/auth options.</title>
<updated>2020-12-02T03:36:50+00:00</updated>
<author>
<name>Andrew Leech</name>
</author>
<published>2020-08-26T23:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1697ff335db523ff0809051d42871beb9c86012d'/>
<id>1697ff335db523ff0809051d42871beb9c86012d</id>
<content type='text'>
This widens the characteristic/descriptor flags to 16-bit, to allow setting
encryption/authentication requirements.

Sets the required flags for NimBLE and btstack implementations.

The BLE.FLAG_* constants will eventually be deprecated in favour of copy
and paste Python constants (like the IRQs).

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This widens the characteristic/descriptor flags to 16-bit, to allow setting
encryption/authentication requirements.

Sets the required flags for NimBLE and btstack implementations.

The BLE.FLAG_* constants will eventually be deprecated in favour of copy
and paste Python constants (like the IRQs).

Signed-off-by: Jim Mussared &lt;jim.mussared@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
