Skip to main content

Release 39 (Internal)

Note impOS™ 39 has been solely made available internally and to select early testers. As such, most developers and customers will not receive it except in its public release form, impOS 40. As such, all other Electric Imp documentation will refer only to impOS 40 when discussing this release.

Changes apply to all imps unless stated otherwise.

Versions

The current release is 39.22.

Bug Fixes and Changes

39.22

  • Features
    • Merge new upstream “tadns” DNS resolver code; many bugfixes claimed.
  • Bug fixes
    • imp001-005: fix potential buffer overrun with 32-byte WiFi SSIDs.
    • imp003/004/C001: fix internal-flash timings being too conservative after idle (regression in 37.1).
    • impC001: fix crash when upgrade file is 404 Not Found.
    • impC001: cope with situations where the list of ‘bumped’ networks isn’t readable at startup.

39.21

  • Features
    • Reduce Squirrel latency when disabling WiFi by only disabling DHCP when necessary.
  • Bug fixes
    • Fix theoretical issue where Squirrel shift operators could invoke undefined behaviour in the impROM.

39.20

  • Features
    • Cache several TLS sessions (not just one) to improve reconnection times when at limits of WiFi range.
    • imp003-005: add imp.net.latchwifipower() to reduce SPI flash contention at the expense of power usage.
    • impC001: reduce power consumption while disconnected and idle.
  • Bug fixes
    • Fix confusing LED patterns when BlinkUp fails and needs to be retried.
    • Ensure that factory test shows green (or red) LED results, even when it takes over 60 seconds to run.

39.19

  • Features
    • impC001: improve recovery time from certain network errors.
  • Bug fixes
    • imp004m: improve Squirrel latency when attempting to join a WiFi network that the imp can't see.

39.18

  • Features
    • imp004m: improve Squirrel latency during Bluetooth scan operations.
  • Bug fixes
    • imp004m: improve recovery from Bluetooth UART overruns.

39.17

  • Features
    • imp004m: increase speed of Bluetooth UART and capture more advertisements in busy conditions.
  • Bug fixes
    • imp004m: fix bogus error when reconfiguring hardware.spiAHSR (regression in 37.3).

39.16

39.15

  • Features
    • impC001: ensure we retry cell networks from which imp has been temporarily ejected.
  • Bug fixes
    • impC001: fix severe issue where reconfiguring pins could cause peripherals to fight for control.
    • impC001: fix use of hardware.lightlevel() while BlinkUp is off.

39.13 and 39.14

  • Minor modifications — no customer-visible features changed.

39.12

  • Features
    • impC001: Add delay when USB device detected to mitigate enumeration failures.

39.11

  • Features
    • impC001: increase write timeout from 30s to 60s in case server.log(), etc. causes cellular connect.

39.10

  • Features
    • impC001: ensure state-change callbacks available on all (future) wake-capable pins.
    • impC001: pins W, YK and YL now have state-change callbacks; pins B, R and YU do not breaking change.
  • Bug fixes
    • imp001-003: the deprecated imp API method spi.read1() can no longer be called even on disabled SPI peripherals.
    • imp001-004m: fix startup hang when 32kHz crystal (regression in 39.9).

39.9

  • Features
    • impC001: update I²C timings.
  • Bug fixes
    • imp001-004m: fix upgrades getting stuck because flash-writing errors were not cleared (regression in 37.1)
    • impC001: improve connection robustness and reduce reconnections.
    • impC001: recover if connection drops during ICMP ping (regression in 39.5).

39.8

  • Features
    • impC001: add i2cJH (rev2 and later hardware).
  • Bug fixes
    • imp001-005: fix crash when doing imp.scanwifinetworks() while attempting to connect to a now-absent access point.

39.7

  • Features
    • impC001: support improved rev5.2 pinmux.
    • impC001: support S25FL064L SPI flash.

39.6

  • Bug fixes
    • imp001-004m and impC001: fix a crash when the Squirrel bytecode page was filled exactly (regression in 39.4).
    • imp005: fix connection issues due to PPP state machine bugs.
    • impC001: fix rare watchdog restarts due to stuck USB interrupt.

39.5

  • Features
    • impC001: make false connections fail faster by attempting ICMP ping once ‘connected’.
  • Bug fixes
    • Fix hang in spi.readblob(n) where n > 65535.
    • imp001-005: Recover if WiFi firmware takes forever to start.
    • imp005: Restart WiFi if the firmware appears ‘stuck’.
    • impC001: Fix USB transactions that are exact multiples of 64 bytes long.

39.4

  • Features
    • imp003/imp004/impC001: new WAKEREASON_POWER_RESTORED when waking from VBAT mode.
    • impC001: support Macronix SPI flash parts needing RDP command to wake from deep sleep.
    • impC001: keep LEDs on for longer, to reflect lengthy cell-modem connection times.
  • Bug fixes
    • Invalid callbacks (for UART and server.onunexpecteddisconnect()) were not released until a valid one was set.
    • UART callbacks were not released in uart.disable().
    • Fix issue where RETURN_ON_ERROR_NO_DISCONNECT would block unexpectedly.
    • imp001-imp005: in some circumstances WiFi scan would fail and be retried, taking 15s longer.
    • impC001: fix cell-modem power glitches on reset.
    • impC001: fix issue with nv table not being written correctly.

39.3

  • Features
  • Bug fixes
    • imp005: fix rare crashes due to external SPI flash misreading.
    • impC001: increased robustness when reconnecting after the cell has dropped our connection.

39.2

  • Features
    • impC001: extend connection timeouts for cellular connections.
  • Bug fixes
    • Several Squirrel calls (swap2(), swap4(), casti2f(), castf2i() and swapfloat()) could reveal stack contents on failure.
    • imp004m: if SPI flash is in deep sleep, wake it up before doing firmware upgrades (regression in 37.30).
    • impC001: fix retries if a zero-length USB OUT transaction is NAK'd.
    • impC001: fix hardware.vbat() (regressed in 39.0).
    • impC001: recover from UART errors during cell-modem startup.
    • impC001: fix reconnections after nine-minute snooze.
    • impC001: disable ‘UART power saving’ mode which was causing communications failures.

39.1

  • Bug fixes
    • impC001: improve ability to deal with corrupted responses from the cell-modem.
    • impC001: make modem startup (after brief shutdown) more reliable.

39.0

Note This release branches from impOS 38.3, so please see the 38 release notes for earlier changes.

  • Features
    • Temporarily reinstate preliminary and incomplete UDP support (see notes for 37.5).
  • Bug fixes
    • imp003 and imp004m: fix issue with rescue pin for units blessed on impOS 36 but running impOS 38 or later.
    • imp004m: fix issue with zombie PWM for units blessed on impOS 37 but running impOS 38 or later.