1. 19 Feb, 2021 3 commits
    • Jim Mussared's avatar
      extmod/modbluetooth: Separate enabling of "client" from "central". · a76604af
      Jim Mussared authored
      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: default avatarJim Mussared <jim.mussared@gmail.com>
      a76604af
    • Thorsten von Eicken's avatar
      esp32: Make machine.soft_reset() work in main.py and reset_cause(). · d28dbcd6
      Thorsten von Eicken authored
      This commit fixes two issues on the esp32:
      - it enables machine.soft_reset() to be called in main.py;
      - it enables machine.reset_cause() to correctly identify a soft reset.
      
      The former is useful in that it enables soft resets in applications that
      are started at boot time.  The support is patterned after the stm32 port.
      d28dbcd6
    • Thorsten von Eicken's avatar
      esp32: Add basic support for Non-Volatile-Storage in esp32 module. · c10d4318
      Thorsten von Eicken authored
      This commit implements basic NVS support for the esp32.  It follows the
      pattern of the esp32.Partition class and exposes an NVS object per NVS
      namespace.  The initial support provided is only for signed 32-bit integers
      and binary blobs.  It's easy (albeit a bit tedious) to add support for
      more types.
      
      See discussions in: #4436, #4707, #6780
      c10d4318
  2. 18 Feb, 2021 3 commits
  3. 17 Feb, 2021 11 commits
  4. 16 Feb, 2021 15 commits
  5. 15 Feb, 2021 8 commits