summaryrefslogtreecommitdiffstatshomepage
path: root/examples/bluetooth/ble_uart_peripheral.py
diff options
context:
space:
mode:
authorJim Mussared <jim.mussared@gmail.com>2019-10-28 17:27:31 +1100
committerDamien George <damien.p.george@gmail.com>2019-10-29 23:09:02 +1100
commitd16a27da5197e2369611bef4f18b47c183880510 (patch)
tree195023164a09185f702f1134e2a80a859730b431 /examples/bluetooth/ble_uart_peripheral.py
parent53f3cbc2c4f07236fe022c9c7af20b33443c60b1 (diff)
downloadmicropython-d16a27da5197e2369611bef4f18b47c183880510.tar.gz
micropython-d16a27da5197e2369611bef4f18b47c183880510.zip
extmod/modbluetooth: Add gatts_set_buffer.
- Adds an explicit way to set the size of a value's internal buffer, replacing `ble.gatts_write(handle, bytes(size))` (although that still works). - Add an "append" mode for values, which means that remote writes will append to the buffer.
Diffstat (limited to 'examples/bluetooth/ble_uart_peripheral.py')
0 files changed, 0 insertions, 0 deletions