The particle-api-js Javascript SDK now has improved event stream error handling.
If you have a server or browser application that subscribes to Particle events and there is a network error the subscription used to fail silently (no additional Particle events were received but no error was communicated to the customer application). Now it handles more types of errors. You have to upgrade the version of particle-api-js they use to take advantage of this.
More details on how to use the improved event streams in the Javascript SDK docs.
A new Release Candidate Device OS v1.3.1-rc.1 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
A new Release Candidate Device OS v1.4.0-rc.1 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
1.4.0-rc.1
FEATURES
[Gen 3] Introduces BLE.begin() and BLE.end() wiring APIs #1890
[Gen 3] Exposes POSIX select() and poll() from socket HAL dynalib #1895
ENHANCEMENTS
[Gen 3] Alternately broadcast user and Particle-specific BLE advertising data when the device is in the Listening mode #1882
Updates all third party dependencies (OpenThread, MbedTLS, FreeRTOS, etc.) #1864
BUGFIXES
[Gen 3] Fixes heap and application static RAM overlap introduced in 1.3.0-rc.1 #1898
[Gen 3] Fixes heap and application static RAM overlap introduced in 1.3.0-rc.1 #1898
Fixes tinker build errors when building with LOG_SERIAL=y#1898
Fixes dynalib alignment issue when compiling relatively large applications potentially due to an unconfirmed bug in GCC by moving the dynalib into a separate section (.dynalib) #1894
A new Release Candidate Device OS v1.4.1-rc.1 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
1.4.1-rc.1
FEATURES
[Gen 2] Adds support for serial number, NCP type and mobile secret in STM32F2 OTP area #1927#1931
ENHANCEMENTS
[Electron, Boron] Increase the PMIC input current limit from 900mA to 1500mA and limit charging current to 896mA to allow 2G/3G devices to function when powered by sufficient power supply through VIN without the battery #1921
DTLS handshake timeout increased to 24 seconds to allow 3 retransmission attempts #1914
BUGFIXES
[Electron] Fixes RSSI failing due to Power Saving mode active #1917#1892
[Gen 3] Fixes memory leak when scanning for BLE devices #1929#1926
[Gen 3] Fixes reporting of discovered BLE peer characteristic descriptors #1916
[Gen 3] Fixes BleCharacteristic::setValue() with default BLeTxRxType argument (BleTxRxType::AUTO) for characteristics with WRITE property #1915#1913#1924
A new Default Release Device OS v1.4.1 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
1.4.1
FEATURES
[Gen 2] Adds support for serial number, NCP type and mobile secret in STM32F2 OTP area #1927#1931
ENHANCEMENTS
Implements a command to reset all network interfaces of a device remotely #1943
[Electron] Disables usage of AT+UDNSRN on 2G/3G Electrons in favor of a standalone socket-based DNS client #1940
[Electron, Boron] Increase the PMIC input current limit from 900mA to 1500mA and limit charging current to 896mA to allow 2G/3G devices to function when powered by sufficient power supply through VIN without the battery #1921
DTLS handshake timeout increased to 24 seconds to allow 3 retransmission attempts #1914
BUGFIXES
[Photon / P1] Limits maximum TLS version to TLS1.1 for WPA Enterprise authentication as TLS1.2 seems to be broken in WICED 3.7.0-7 #1945
[Boron] Fixes attachInterrupt(D7, ...) not working due to a constraint introduced previously for cellular devices (Electron) #1939#1944
Send safe mode event when the session is resumed #1935
[LTE, u-blox] adds a mitigation to keep DNS Client responsive ch38990 #1938
[Electron] Fixes RSSI failing due to Power Saving mode active #1917#1892
[Gen 3] Fixes memory leak when scanning for BLE devices #1929#1926
[Gen 3] Fixes reporting of discovered BLE peer characteristic descriptors #1916
[Gen 3] Fixes BleCharacteristic::setValue() with default BLeTxRxType argument (BleTxRxType::AUTO) for characteristics with WRITE property #1915#1913#1924
A new Default Release Device OS v1.4.2 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
This release resolves a critical issue affecting Gen 3 bootloaders in DeviceOS releases 1.2.1 - 1.4.1, which may leave the device in a boot/crash-loop with a faint flickering white LED state.
So far, the issue has been confirmed on a number of Borons only, but other Gen 3 platforms may be presenting it as well.
1.4.2
BUGFIXES
[Gen 3] Fixes a boot/crash-loop due to a POWER_CLOCK_IRQn firing in between the jump into the system firmware from the bootloader #1948
A new Default Release Device OS v1.4.3 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
This release resolves a thread-safety issue on Gen 2 devices (Photon, P1, Electron), affecting non-reentrant C standard library functions requiring temporary non-stack storage. It is recommended to update any Gen 2 devices to this release.
1.4.3
BUGFIXES
[Photon/P1/Electron] Fixes thread-safety issues with non-reentrant C standard library functions requiring temporary thread-local storage #1970
A new Default Release Device OS v1.4.4 is available now on https://build.particle.io for Core/Photon/P1/Electron/Argon/Boron/Xenon/A SoM/B SoM/X SoM.
This release resolves a bug in handling of incorrectly initialized WiFi credentials list, resulting in crashes on a number of Photons and P1s manufactured with DeviceOS 1.2.1 - 1.4.2. It is recommended to update Photons and P1s with factory 1.2.1 - 1.4.2 DeviceOS to this release.
1.4.4
BUGFIXES
[Photon/P1] Fixes handling of invalid WiFi access point config entries in DCT #1976
A new Release Candidate Device OS v1.5.4-rc.1 is available now on https://build.particle.io for Photon/P1/Electron/Argon/Boron/Xenon/B SoM/B5 SoM/Tracker.
1.5.4-rc.1
BUGFIXES
[Electron] Fixes buffer overrun in modem HAL #2115
[Electron] Process βCEREG: 0β URCs on R410M #2119
A new Release Candidate Device OS v2.0.0-rc.1 is available now on https://build.particle.io for Photon/P1/Electron/Argon/Boron/B SoM/B5 SoM.
Highlights
BREAKING CHANGES
DeviceOS no longer supports Xenon platform and Mesh connectivity in general
Minimum ARM GCC version has been updated to 9.2.1
SPISettings class is available even without Arduino compatibility layer
Some HAL APIs have changed names, be sure to check the deprecation warnings when compiling the applications. Eventually, calling some HAL functions by old names will not be supported
FEATURES
OTA improvements (compression, combined updates)
[Gen 3] Cellular modem warm bootup, improving connection times when the modem is already registered on the network
New sleep mode and wake up options and sleep improvements in general
[Gen 3] Power-loss resistant bootloader updates
Device-initiated describe messages. Timing issues should no longer affect variable/function registration
As well as 54 enhancements and bugfixes in total and some other features! Be sure to read the full collection of release notes Particle Device OS Updates Thread.
A new Release Candidate Device OS v2.0.0-rc.2 is available now on https://build.particle.io for Photon/P1/Electron/Argon/Boron/B SoM/B5 SoM.
Highlights
DEPRECATIONS
CellularSignal::rssi and CellularSignal::qual when used now generate deprecation warnings. These APIs will be removed in the next major release line (3.x). Make sure to check the documentation for the new API
FEATURES
Sleep 2.0 feature parity between Gen 2 and Gen 3 (wake-up by analog value, USART, cellular)
ftruncate() / truncate()
ENHANCEMENTS
Better power loss resiliency of OTA updates
Cellular stability improvements
Recovery mechanics for cases where Electron/E Series modem becomes unresponsive