Jim Mussared
07aec4681f
examples/bluetooth: In ble_advertising.py, skip appearance if not set.
2020-07-18 14:23:20 +10:00
jxltom
834b482e67
examples/bluetooth: Fix incorrect value of BR/EDR flag in advertising.
...
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.
2020-06-05 14:24:09 +10:00
Damien George
69661f3343
all: Reformat C and Python source code with tools/codeformat.py.
...
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-02-28 10:33:03 +11:00
Jim Mussared
3436223630
examples/bluetooth: Add helpers for decoding advertising payloads.
...
Extracts name and service UUID fields.
2019-11-25 17:32:10 +11:00
Jim Mussared
3e1af5b36f
examples/bluetooth: Use UUIDs directly to add services to adv payload.
2019-10-22 13:54:09 +11:00
Jim Mussared
25a228af7e
examples/bluetooth: Add basic BLE peripheral examples.
...
Consisting of:
- ble_advertising.py -- helper to generate advertising payload.
- ble_temperature.py -- simple temperature device.
- ble_uart_periperhal.py -- BLE UART wrapper.
- ble_uart_repl.py -- dupterm-compatible uart.
2019-10-18 13:36:51 +11:00