<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openmano-mpy/examples/bluetooth, 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>examples/bluetooth: Add bonding/passkey demo.</title>
<updated>2020-12-02T03:44:00+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-11-26T12:54:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=f6fd46c4024c28c827ccffd13dbe02b9ea74cfb8'/>
<id>f6fd46c4024c28c827ccffd13dbe02b9ea74cfb8</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 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>
<entry>
<title>examples/bluetooth: Update to use positional-only args to irq().</title>
<updated>2020-09-26T11:19:18+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-09-24T17:15:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=0fd0eb00aa5b9d311046d48d73a8cfabb30d7dd6'/>
<id>0fd0eb00aa5b9d311046d48d73a8cfabb30d7dd6</id>
<content type='text'>
To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To match 6a6a5f9e151473bdcc1d14725d680691ff665a82.
</pre>
</div>
</content>
</entry>
<entry>
<title>all: Update Python code to conform to latest black formatting.</title>
<updated>2020-08-29T05:18:01+00:00</updated>
<author>
<name>Damien George</name>
</author>
<published>2020-08-29T05:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=06659077a81b85882254cf0953c33b27614e018e'/>
<id>06659077a81b85882254cf0953c33b27614e018e</id>
<content type='text'>
Updating to Black v20.8b1 there are two changes that affect the code in
this repository:

- If there is a trailing comma in a list (eg [], () or function call) then
  that list is now written out with one line per element.  So remove such
  trailing commas where the list should stay on one line.

- Spaces at the start of """ doc strings are removed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Updating to Black v20.8b1 there are two changes that affect the code in
this repository:

- If there is a trailing comma in a list (eg [], () or function call) then
  that list is now written out with one line per element.  So remove such
  trailing commas where the list should stay on one line.

- Spaces at the start of """ doc strings are removed.

Signed-off-by: Damien George &lt;damien@micropython.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Add event for "indicate acknowledgement".</title>
<updated>2020-07-20T13:26:41+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-07-20T06:58:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=9d823a5d9a6730edde8e1df1e5ff4add1ad17094'/>
<id>9d823a5d9a6730edde8e1df1e5ff4add1ad17094</id>
<content type='text'>
This commit adds the IRQ_GATTS_INDICATE_DONE BLE event which will be raised
with the status of gatts_indicate (unlike notify, indications require
acknowledgement).

An example of its use is added to ble_temperature.py, and to the multitests
in ble_characteristic.py.

Implemented for btstack and nimble bindings, tested in both directions
between unix/btstack and pybd/nimble.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds the IRQ_GATTS_INDICATE_DONE BLE event which will be raised
with the status of gatts_indicate (unlike notify, indications require
acknowledgement).

An example of its use is added to ble_temperature.py, and to the multitests
in ble_characteristic.py.

Implemented for btstack and nimble bindings, tested in both directions
between unix/btstack and pybd/nimble.
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/bluetooth: Add simple UART demo with central and peripheral.</title>
<updated>2020-07-18T04:34:29+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-06-17T04:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=89a95b7c85cd90967020b80a0a4649b2f745bea8'/>
<id>89a95b7c85cd90967020b80a0a4649b2f745bea8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/bluetooth: In ble_advertising.py, skip appearance if not set.</title>
<updated>2020-07-18T04:23:20+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-06-17T03:54:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=07aec4681f6ea5173315e660c6ba39cd12a2aa58'/>
<id>07aec4681f6ea5173315e660c6ba39cd12a2aa58</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/bluetooth: Fix event code in ble_temperature_central.py.</title>
<updated>2020-06-10T12:39:54+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-06-05T05:40:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=c6fd6a0d728fea590e7f731e41a33754111770bd'/>
<id>c6fd6a0d728fea590e7f731e41a33754111770bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>examples/bluetooth: Fix incorrect value of BR/EDR flag in advertising.</title>
<updated>2020-06-05T04:24:09+00:00</updated>
<author>
<name>jxltom</name>
</author>
<published>2020-05-09T06:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=834b482e67ebb1b9ad250d62ddfa1275824a7e19'/>
<id>834b482e67ebb1b9ad250d62ddfa1275824a7e19</id>
<content type='text'>
According to Supplement to the Bluetooth Core Specification v8 Part A
1.3.1, to support BR/EDR the code should set the fifth bit (Simultaneous LE
and BR/EDR to Same Device Capable (Controller)) and fourth bit
(Simultaneous LE and BR/EDR to Same Device Capable (Host)) of the flag.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Supplement to the Bluetooth Core Specification v8 Part A
1.3.1, to support BR/EDR the code should set the fifth bit (Simultaneous LE
and BR/EDR to Same Device Capable (Controller)) and fourth bit
(Simultaneous LE and BR/EDR to Same Device Capable (Host)) of the flag.
</pre>
</div>
</content>
</entry>
<entry>
<title>extmod/modbluetooth: Ensure status=0 always on success.</title>
<updated>2020-06-05T04:11:04+00:00</updated>
<author>
<name>Jim Mussared</name>
</author>
<published>2020-05-19T06:00:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.0x7felf.com/openmano-mpy/commit/?id=1cad63c0bcf63b12436a1438aa8512cd05ad4da0'/>
<id>1cad63c0bcf63b12436a1438aa8512cd05ad4da0</id>
<content type='text'>
This commit makes sure that all discovery complete and read/write status
events set the status to zero on success.

The status value will be implementation-dependent on non-success cases.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes sure that all discovery complete and read/write status
events set the status to zero on success.

The status value will be implementation-dependent on non-success cases.
</pre>
</div>
</content>
</entry>
</feed>
