General Availability: Azure Sphere version 22.02

Published Feb 28 2022 02:02 PM 1,266 Views
Regular Visitor

The Azure Sphere 22.02 feature release is now available and includes the following components:

  • Updated Azure Sphere OS
  • Updated Azure Sphere SDK for Windows and for Linux
  • Updated Azure Sphere extensions for Visual Studio and for Visual Studio Code
  • Updated samples, code snippets, and gallery projects
  • Updated documentation

If your devices are connected to the internet, they will receive the updated OS from the cloud. You'll be prompted to install the updated SDK on next use, or you can install it now. To install the latest SDK, see the installation Quickstart for Windows or Linux:

 

New and changed features in the 22.02 OS

The 22.02 release of the Azure Sphere OS includes an upgrade to the Linux kernel (5.10.70), and support for DHCP release and renew.

 

DHCP release & renew

The Azure Sphere OS now supports DHCP release & renew through new APIs so that high-level apps can control their device IP leases.

The new DHCP sample demonstrates the use of these new APIs.

 

New and changed features in the 22.02 SDK

The 22.02 release of the Azure Sphere SDK includes support for Windows 11, updates to 64-bit time support, a change to the default logging behavior of the CLI, and an authentication library update to the CLI.

 

Support for Windows 11

Windows 11 is now supported for Azure Sphere development. If you're using Windows 11, install the 22.02 (or later) SDK.

 

64-bit Time Support

The 22.02 SDK release updates support for 64-bit time for high level apps. This update fixes unexpected behaviors introduced with support for 64-bit time in the 20.10 release.

 

Application code that makes no assumptions about the size of a time_t value is not affected. However, application code that explicitly or implicitly expects time_t to be 32-bit need to be rewritten to use time32_t instead.

 

Tip

To ensure your applications continue to work as expected after rebuild, check stack and heap usage, and binary size in your applications. They might grow, as time_t is now 8 bytes instead of 4.

 

See the C type time_t section of the Base APIs topic for more detailed information.

 

 

Configure Azure Sphere CLI logging

The Azure Sphere CLI no longer writes log files to the local disk by default. See Manage log files for details about how to enable and configure logging.

 

Azure Sphere CLI authentication migrated from ADAL to MSAL

The Azure Sphere CLI now uses the Microsoft Authentication Library (MSAL) rather than the Active Directory Authentication Library (ADAL), which is being retired. There is no change in the usage of the Azure Sphere CLI as a result of the migration to MSAL, and no customer action is required.

 

The Azure Sphere Classic CLI still uses ADAL, but will be updated before the ADAL retirement date of June 30, 2022. We continue to recommend that you migrate to the new Azure Sphere CLI.

 

New and changed features in 22.02 for Visual Studio or Visual Studio Code extensions for Azure Sphere

An Azure Sphere extension for Visual Studio 2022 is now available in addition to the existing extension for Visual Studio 2019. The minimum supported version of Visual Studio 2019 is now 16.11.

 

The Visual Studio and Visual Studio Code extensions for Azure Sphere now provide these capabilities:

  • Configure Wi-Fi in Azure Sphere Explorer.
  • View deployment history in Azure Sphere Explorer.
  • Open disassembly view in Visual Studio Code while debugging.

 

Configure Wi-Fi in Azure Sphere Explorer

You can now add Wi-Fi networks, connect to them, enable, or disable them, and forget them from the graphical interface of Azure Sphere Explorer.

 

View deployment history

You can now view all the deployments for a given device group using Azure Sphere Explorer, including the date and component ID of each deployment.

 

Open disassembly view while debugging

The disassembly view provides a low-level view of your native code and augments the usual step-through debugger. This change in the Visual Studio Code extension now provides the same disassembly experience as in Visual Studio.

 

New and updated samples, code snippets, and Gallery projects for 22.02

  • The new DHCP sample demonstrates how to use the new APIs to release or renew the IP address that a DHCP server has assigned to a device.
  • The DNS service discovery sample was updated to be more resilient to network disconnection.
  • The Inter-core communication sample was updated so that it does not show an additional dialog box when you open it with newer versions of Visual Studio.
  • The new Get Azure Sphere Device ID code snippet shows how to use the Azure Sphere API to get the device ID in a high-level application.
  • The new Industrial Device Controller project in the Azure Sphere Gallery demonstrates how to connect Azure Sphere to various downstream Modbus devices to gather real-time telemetry data.

 

More information

%3CLINGO-SUB%20id%3D%22lingo-sub-3222241%22%20slang%3D%22en-US%22%3EGeneral%20Availability%3A%20Azure%20Sphere%20version%2022.02%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3222241%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Azure%20Sphere%2022.02%20feature%20release%20is%20now%20available%20and%20includes%20the%20following%20components%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EUpdated%20Azure%20Sphere%20OS%3C%2FLI%3E%0A%3CLI%3EUpdated%20Azure%20Sphere%20SDK%20for%20Windows%20and%20for%20Linux%3C%2FLI%3E%0A%3CLI%3EUpdated%20Azure%20Sphere%20extensions%20for%20Visual%20Studio%20and%20for%20Visual%20Studio%20Code%3C%2FLI%3E%0A%3CLI%3EUpdated%20samples%2C%20code%20snippets%2C%20and%20gallery%20projects%3C%2FLI%3E%0A%3CLI%3EUpdated%20documentation%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EIf%20your%20devices%20are%20connected%20to%20the%20internet%2C%20they%20will%20receive%20the%20updated%20OS%20from%20the%20cloud.%26nbsp%3BYou'll%20be%20prompted%20to%20install%20the%20updated%20SDK%20on%20next%20use%2C%20or%20you%20can%20install%20it%20now.%20To%20install%20the%20latest%20SDK%2C%20see%20the%20installation%20Quickstart%20for%20Windows%20or%20Linux%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Finstall%2Finstall-sdk%22%20target%3D%22_self%22%20data-linktype%3D%22relative-path%22%20rel%3D%22noopener%20noreferrer%22%3EQuickstart%3A%20Install%20the%20Azure%20Sphere%20SDK%20for%20Windows%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Finstall%2Finstall-sdk-linux%22%20target%3D%22_self%22%20data-linktype%3D%22relative-path%22%20rel%3D%22noopener%20noreferrer%22%3EQuickstart%3A%20Install%20the%20Azure%20Sphere%20SDK%20for%20Linux%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-389078800%22%20id%3D%22toc-hId-389107695%22%3ENew%20and%20changed%20features%20in%20the%2022.02%20OS%3C%2FH2%3E%0A%3CP%3EThe%2022.02%20release%20of%20the%20Azure%20Sphere%20OS%20includes%20an%20upgrade%20to%20the%20Linux%20kernel%20(5.10.70)%2C%20and%20support%20for%20DHCP%20release%20and%20renew.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1079640274%22%20id%3D%22toc-hId-1079669169%22%3EDHCP%20release%20%26amp%3B%20renew%3C%2FH3%3E%0A%3CP%3EThe%20Azure%20Sphere%20OS%20now%20supports%20DHCP%26nbsp%3Brelease%26nbsp%3B%26amp%3B%26nbsp%3Brenew%26nbsp%3Bthrough%20new%20APIs%20so%20that%20high-level%20apps%20can%20control%20their%20device%20IP%20leases.%3C%2FP%3E%0A%3CP%3EThe%20new%26nbsp%3BDHCP%20sample%26nbsp%3Bdemonstrates%20the%20use%20of%20these%20new%20APIs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1069137170%22%20id%3D%22toc-hId-1069166065%22%3ENew%20and%20changed%20features%20in%20the%2022.02%20SDK%3C%2FH2%3E%0A%3CP%3EThe%2022.02%20release%20of%20the%20Azure%20Sphere%20SDK%20includes%20support%20for%20Windows%2011%2C%20updates%20to%2064-bit%20time%20support%2C%20a%20change%20to%20the%20default%20logging%20behavior%20of%20the%20CLI%2C%20and%20an%20authentication%20library%20update%20to%20the%20CLI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1759698644%22%20id%3D%22toc-hId-1759727539%22%3ESupport%20for%20Windows%2011%3C%2FH3%3E%0A%3CP%3EWindows%2011%20is%20now%20supported%20for%20Azure%20Sphere%20development.%20If%20you're%20using%20Windows%2011%2C%26nbsp%3Binstall%20the%2022.02%20(or%20later)%20SDK.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--47755819%22%20id%3D%22toc-hId--47726924%22%3E64-bit%20Time%20Support%3C%2FH3%3E%0A%3CP%3EThe%2022.02%20SDK%20release%20updates%20support%20for%2064-bit%20time%20for%20high%20level%20apps.%20This%20update%20fixes%20unexpected%20behaviors%20introduced%20with%20support%20for%2064-bit%20time%20in%20the%2020.10%20release.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EApplication%20code%20that%20makes%20no%20assumptions%20about%20the%20size%20of%20a%26nbsp%3Btime_t%26nbsp%3Bvalue%20is%20not%20affected.%20However%2C%20application%20code%20that%20explicitly%20or%20implicitly%20expects%26nbsp%3Btime_t%26nbsp%3Bto%20be%2032-bit%20need%20to%20be%20rewritten%20to%20use%26nbsp%3Btime32_t%26nbsp%3Binstead.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%3CSTRONG%3ETip%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3ETo%20ensure%20your%20applications%20continue%20to%20work%20as%20expected%20after%20rebuild%2C%20check%20stack%20and%20heap%20usage%2C%20and%20binary%20size%20in%20your%20applications.%20They%20might%20grow%2C%20as%20time_t%20is%20now%208%20bytes%20instead%20of%204.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3ESee%20the%20C%20type%20time_t%20section%20of%20the%20Base%20APIs%20topic%20for%20more%20detailed%20information.%3C%2FP%3E%0A%3CP%20style%3D%22%20padding-left%20%3A%2030px%3B%20%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--1855210282%22%20id%3D%22toc-hId--1855181387%22%3EConfigure%20Azure%20Sphere%20CLI%20logging%3C%2FH3%3E%0A%3CP%3EThe%20Azure%20Sphere%20CLI%20no%20longer%20writes%20log%20files%20to%20the%20local%20disk%20by%20default.%20See%20Manage%20log%20files%20for%20details%20about%20how%20to%20enable%20and%20configure%20logging.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-632302551%22%20id%3D%22toc-hId-632331446%22%3EAzure%20Sphere%20CLI%20authentication%20migrated%20from%20ADAL%20to%20MSAL%3C%2FH3%3E%0A%3CP%3EThe%20Azure%20Sphere%20CLI%20now%20uses%20the%20Microsoft%20Authentication%20Library%20(MSAL)%20rather%20than%20the%20Active%20Directory%20Authentication%20Library%20(ADAL)%2C%20which%20is%26nbsp%3Bbeing%20retired.%20There%20is%20no%20change%20in%20the%20usage%20of%20the%20Azure%20Sphere%20CLI%20as%20a%20result%20of%20the%20migration%20to%20MSAL%2C%20and%20no%20customer%20action%20is%20required.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Azure%20Sphere%20Classic%20CLI%20still%20uses%20ADAL%2C%20but%20will%20be%20updated%20before%20the%20ADAL%20retirement%20date%20of%20June%2030%2C%202022.%20We%20continue%20to%20recommend%20that%20you%26nbsp%3Bmigrate%20to%20the%20new%20Azure%20Sphere%20CLI.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-621799447%22%20id%3D%22toc-hId-621828342%22%3ENew%20and%20changed%20features%20in%2022.02%20for%20Visual%20Studio%20or%20Visual%20Studio%20Code%20extensions%20for%20Azure%20Sphere%3C%2FH2%3E%0A%3CP%3EAn%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3DAzureSphereTeam.AzureSphereSDKforVisualStudio2022%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Sphere%20extension%20for%20Visual%20Studio%202022%3C%2FA%3E%20is%20now%20available%20in%20addition%20to%20the%20existing%20extension%20for%20Visual%20Studio%202019.%20The%20minimum%20supported%20version%20of%20Visual%20Studio%202019%20is%20now%2016.11.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20Visual%20Studio%20and%20Visual%20Studio%20Code%20extensions%20for%20Azure%20Sphere%20now%20provide%20these%20capabilities%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EConfigure%20Wi-Fi%20in%20Azure%20Sphere%20Explorer.%3C%2FLI%3E%0A%3CLI%3EView%20deployment%20history%20in%20Azure%20Sphere%20Explorer.%3C%2FLI%3E%0A%3CLI%3EOpen%20disassembly%20view%20in%20Visual%20Studio%20Code%20while%20debugging.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1312360921%22%20id%3D%22toc-hId-1312389816%22%3EConfigure%20Wi-Fi%20in%20Azure%20Sphere%20Explorer%3C%2FH3%3E%0A%3CP%3EYou%20can%20now%26nbsp%3Badd%20Wi-Fi%20networks%2C%20connect%20to%20them%2C%20enable%2C%20or%20disable%20them%2C%20and%20forget%20them%20from%20the%20graphical%20interface%20of%20Azure%20Sphere%20Explorer.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId--495093542%22%20id%3D%22toc-hId--495064647%22%3EView%20deployment%20history%3C%2FH3%3E%0A%3CP%3EYou%20can%20now%26nbsp%3Bview%20all%20the%20deployments%26nbsp%3Bfor%20a%20given%20device%20group%20using%20Azure%20Sphere%20Explorer%2C%20including%20the%20date%20and%20component%20ID%20of%20each%20deployment.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1297255812%22%20id%3D%22toc-hId-1297284707%22%3EOpen%20disassembly%20view%20while%20debugging%3C%2FH3%3E%0A%3CP%3EThe%20disassembly%20view%20provides%20a%20low-level%20view%20of%20your%20native%20code%20and%20augments%20the%20usual%20step-through%20debugger.%20This%20change%20in%20the%20Visual%20Studio%20Code%20extension%20now%20provides%20the%20same%20disassembly%20experience%20as%20in%20Visual%20Studio.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--639281370%22%20id%3D%22toc-hId--639252475%22%3ENew%20and%20updated%20samples%2C%20code%20snippets%2C%20and%20Gallery%20projects%20for%2022.02%3C%2FH2%3E%0A%3CUL%3E%0A%3CLI%3EThe%20new%26nbsp%3BDHCP%20sample%20demonstrates%20how%20to%20use%20the%20new%20APIs%20to%20release%20or%20renew%20the%20IP%20address%20that%20a%20DHCP%20server%20has%20assigned%20to%20a%20device.%3C%2FLI%3E%0A%3CLI%3EThe%26nbsp%3BDNS%20service%20discovery%20sample%20was%20updated%20to%20be%20more%20resilient%20to%20network%20disconnection.%3C%2FLI%3E%0A%3CLI%3EThe%26nbsp%3BInter-core%20communication%20sample%20was%20updated%20so%20that%20it%20does%20not%20show%20an%20additional%20dialog%20box%20when%20you%20open%20it%20with%20newer%20versions%20of%20Visual%20Studio.%3C%2FLI%3E%0A%3CLI%3EThe%20new%26nbsp%3BGet%20Azure%20Sphere%20Device%20ID%20code%20snippet%20shows%20how%20to%20use%20the%20Azure%20Sphere%20API%20to%20get%20the%20device%20ID%20in%20a%20high-level%20application.%3C%2FLI%3E%0A%3CLI%3EThe%20new%26nbsp%3BIndustrial%20Device%20Controller%20project%20in%20the%26nbsp%3BAzure%20Sphere%20Gallery%20demonstrates%20how%20to%20connect%20Azure%20Sphere%20to%20various%20downstream%20Modbus%20devices%20to%20gather%20real-time%20telemetry%20data.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMore%20information%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EFor%20more%20information%20on%20version%2022.02%2C%20visit%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fproduct-overview%2Fwhats-new%23whats-new-in-the-2202-feature-release%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EWhat%E2%80%99s%20new%20in%20the%2022.02%20feature%20release%3C%2FA%3E%20in%20the%20Azure%20Sphere%20documentation.%3C%2FLI%3E%0A%3CLI%3EFor%26nbsp%3Binformation%20on%20support%20options%20available%20or%20to%20provide%20product%20feedback%2C%20visit%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fresources%2Fsupport%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ESupport%3C%2FA%3E%20page.%3C%2FLI%3E%0A%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3222241%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22male-developer-enterprise-setting.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F351771i84259AA346CDCE40%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22male-developer-enterprise-setting.jpg%22%20alt%3D%22male-developer-enterprise-setting.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%2022.02%20release%20includes%20an%20upgrade%20to%20the%20Linux%20kernel%20(5.10.70)%2C%20support%20for%20DHCP%20release%20%26amp%3B%20renew%2C%20and%20new%20and%20changed%20features%20in%20the%20SDK.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Feb 28 2022 02:02 PM
Updated by: