General Availability: Azure Sphere version 21.07 new and updated features

Published Jul 21 2021 02:10 PM 1,540 Views
Regular Visitor

The Azure Sphere 21.07 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, tutorials, gallery items, and 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 21.07 release

The 21.07 release includes an improvement to how time sync is handled, the ability to track shared library heap memory usage during development, and new ways to authenticate using Azure Active Directory. This release also includes some debugging improvements in the Visual Studio and Visual Studio Code extensions, expanded support of the --output parameter in the CLI, and the ability to get additional device information from some commands in the CLI and Public API (PAPI).

 

Time sync changes

The time sync process has changed in the 21.07 release to provide a more robust process when the primary time server fails or cannot be reached. Previously, services that depend on completion of time sync could fail to start if time-sync retries prevented time sync from completing. The change adds a fallback mechanism for obtaining accurate time so that time-sync retries do not continue indefinitely.

 

Heap memory allocation tracking

The heap memory allocation tracking feature provides developers with a convenient way to see memory allocations from libraries included with the Azure Sphere SDK during development of an application. The feature adds a new application capability, HeapMemStats, and a new Azure Sphere SDK library, libmalloc. The feature also includes changes to the output of the Azure Sphere CLI command azsphere device app show-memory-stats and the Visual Studio extension. With these changes, developers can add the HeapMemStats capability to their high-level application, deploy the app to a development-enabled device, and use Visual Studio's Performance Profiler to view the memory used by the SDK libraries called by their app.

 

Authentication methods using Azure Active Directory

The Azure Sphere Public API (PAPI) supports multiple methods of user authentication and authorization in Azure Active Directory (AAD).

With Azure Active Directory, an application token can be used to authenticate and grant access to specific Azure resources from a user app, service, or automation tool by using the service principal or managed identity method for authentication.

The following authentication methods are now supported using Azure Active Directory:

 

Additional update status details from CLI and PAPI commands

The Azure Sphere Public API has been extended to include additional device details about the operating system and update status. You can now see the version of the system OS installed on the device, the latest available OS version, when the device was last updated, and when the device last checked for updates. The additional information can be helpful to manage updates to your devices.

The following Azure Sphere API reference pages explain the API response changes in more detail:

Command

Description

Devices - Get

Gets details for a device.

Devices - List

Gets all devices that are claimed to the specified tenant.

Devices - List In Group

Gets all devices that are assigned to the specified device group.

Devices - List In Product

Gets all devices that belong to the specified product.

 

In addition, the Azure Sphere CLI has been updated to include these additional device details in the azsphere device list, azsphere device show, and azsphere device update commands using the --query parameter or the supported output formats. For example, azsphere device show --output json.

 

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

The Visual Studio and Visual Studio Code extensions include more descriptive names for debug targets. The Visual Studio extension also includes support for heap memory allocation tracking.

 

More descriptive names for debug targets

The Visual Studio extension now uses the project name for the debug target name. The Visual Studio Code extension shows the project name as before but simplifies the descriptive text.

 

Support for other output formats

Additional Azure Sphere CLI commands now support the --output (--out or -o) parameter to specify the format of the CLI output. For more information see, Supported commands.

 

New and updated commands and parameters

For more information on updates to commands and parameters, see a list of updates in the customer documentation.

 

New and updated samples and Gallery items

The 21.07 release includes an updated memory usage tutorial, updates to the Azure IoT sample, and three new/updated projects in the Azure Sphere Gallery.

 

Updated memory usage tutorial

The MemoryUsage tutorial has been updated to demonstrate heap memory allocation tracking.

 

Updated Azure IoT sample

We made some minor refinements to the Azure IoT sample, including changing the polling rate of IoTHubDeviceClient_LL_DoWork to every 100ms rather than every 1s, following this IoT Hub client best practice. We recommend that you adopt this change in your existing apps.

 

New or updated Gallery samples

The following new sample was added to the Azure Sphere Gallery , a collection of unmaintained scripts, utilities, and functions:

 

For more information on Azure Sphere OS feeds and setting up an evaluation device group, see Azure Sphere OS feeds and Set up devices for OS evaluation.

 

For self-help technical inquiries, please visit Microsoft Q&A or Stack Overflow. If you require technical support and have a support plan, please submit a support ticket in Microsoft Azure Support or work with your Microsoft Technical Account Manager. If you would like to purchase a support plan, please explore the Azure support plans.

%3CLINGO-SUB%20id%3D%22lingo-sub-2571761%22%20slang%3D%22en-US%22%3EGeneral%20Availability%3A%20Azure%20Sphere%20version%2021.07%20new%20and%20updated%20features%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2571761%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20Azure%20Sphere%2021.07%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%20tutorials%2C%20gallery%20items%2C%20and%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.%20You'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%3Fpivots%3Dvisual-studio%22%20target%3D%22_self%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%3Fpivots%3Dvs-code-linux%22%20target%3D%22_self%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%3CH1%20id%3D%22toc-hId-1389037178%22%20id%3D%22toc-hId-1389036501%22%3E%3CFONT%20size%3D%225%22%3ENew%20and%20changed%20features%20in%20the%2021.07%20release%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EThe%2021.07%20release%20includes%20an%20improvement%20to%20how%26nbsp%3Btime%20sync%26nbsp%3Bis%20handled%2C%20the%20ability%20to%26nbsp%3Btrack%20shared%20library%20heap%20memory%20usage%26nbsp%3Bduring%20development%2C%20and%20new%20ways%20to%26nbsp%3Bauthenticate%20using%20Azure%20Active%20Directory.%20This%20release%20also%20includes%20some%26nbsp%3Bdebugging%20improvements%26nbsp%3Bin%20the%20Visual%20Studio%20and%20Visual%20Studio%20Code%20extensions%2C%26nbsp%3Bexpanded%20support%20of%20the%26nbsp%3B--output%26nbsp%3Bparameter%26nbsp%3Bin%20the%20CLI%2C%20and%20the%20ability%20to%20get%20additional%20device%20information%20from%20some%20commands%20in%20the%20CLI%20and%20Public%20API%20(PAPI).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-2079598652%22%20id%3D%22toc-hId-2079597975%22%3E%3CFONT%20size%3D%224%22%3ETime%20sync%20changes%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%20time%20sync%20process%20has%20changed%20in%20the%2021.07%20release%20to%20provide%20a%20more%20robust%20process%20when%20the%20primary%20time%20server%20fails%20or%20cannot%20be%20reached.%20Previously%2C%20services%20that%20depend%20on%20completion%20of%20time%20sync%20could%20fail%20to%20start%20if%20time-sync%20retries%20prevented%20time%20sync%20from%20completing.%20The%20change%20adds%20a%20fallback%20mechanism%20for%20obtaining%20accurate%20time%20so%20that%20time-sync%20retries%20do%20not%20continue%20indefinitely.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-272144189%22%20id%3D%22toc-hId-272143512%22%3E%3CFONT%20size%3D%224%22%3EHeap%20memory%20allocation%20tracking%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%20heap%20memory%20allocation%20tracking%20feature%20provides%20developers%20with%20a%20convenient%20way%20to%20see%20memory%20allocations%20from%20libraries%20included%20with%20the%20Azure%20Sphere%20SDK%20during%20development%20of%20an%20application.%20The%20feature%20adds%20a%20new%20application%20capability%2C%20HeapMemStats%2C%20and%20a%20new%20Azure%20Sphere%20SDK%20library%2C%20libmalloc.%20The%20feature%20also%20includes%20changes%20to%20the%20output%20of%20the%20Azure%20Sphere%20CLI%20command%20azsphere%20device%20app%20show-memory-stats%20and%20the%20Visual%20Studio%20extension.%20With%20these%20changes%2C%20developers%20can%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fapp-development%2Fapplication-memory-usage%23add-heap-memory-allocation-tracking%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eadd%20the%20HeapMemStats%20capability%20to%20their%20high-level%20application%3C%2FA%3E%2C%20deploy%20the%20app%20to%20a%20development-enabled%20device%2C%20and%20use%20Visual%20Studio's%20Performance%20Profiler%20to%20view%20the%20memory%20used%20by%20the%20SDK%20libraries%20called%20by%20their%20app.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1535310274%22%20id%3D%22toc-hId--1535310951%22%3E%3CFONT%20size%3D%224%22%3EAuthentication%20methods%20using%20Azure%20Active%20Directory%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Freference%2Fpublic-api-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Sphere%20Public%20API%20(PAPI)%3C%2FA%3E%26nbsp%3Bsupports%20multiple%20methods%20of%20user%20authentication%20and%20authorization%20in%20Azure%20Active%20Directory%20(AAD).%3C%2FP%3E%0A%3CP%3EWith%20Azure%20Active%20Directory%2C%20an%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Factive-directory%2Fdevelop%2Fmsal-overview%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eapplication%20token%26nbsp%3B%3C%2FA%3Ecan%20be%20used%20to%20authenticate%20and%20grant%20access%20to%20specific%20Azure%20resources%20from%20a%20user%20app%2C%20service%2C%20or%20automation%20tool%20by%20using%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdevblogs.microsoft.com%2Fdevops%2Fdemystifying-service-principals-managed-identities%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Eservice%20principal%20or%20managed%20identity%20method%20for%20authentication%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EThe%20following%20authentication%20methods%20are%20now%20supported%20using%20Azure%20Active%20Directory%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fauthenticate-managed-id%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAccess%20Azure%20Sphere%20Public%20API%20with%20AAD%20managed%20identity%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fauthenticate-service-principal%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAccess%20Azure%20Sphere%20Public%20API%20with%20AAD%20application%20service%20principal%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fauthenticate-user-based%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAccess%20Azure%20Sphere%20Public%20API%20with%20your%20AAD%20user%20identity%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-952202559%22%20id%3D%22toc-hId-952201882%22%3E%3CFONT%20size%3D%224%22%3EAdditional%20update%20status%20details%20from%20CLI%20and%20PAPI%20commands%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%20Azure%20Sphere%20Public%20API%20has%20been%20extended%20to%20include%20additional%20device%20details%20about%20the%20operating%20system%20and%20update%20status.%20You%20can%20now%20see%20the%20version%20of%20the%20system%20OS%20installed%20on%20the%20device%2C%20the%20latest%20available%20OS%20version%2C%20when%20the%20device%20was%20last%20updated%2C%20and%20when%20the%20device%20last%20checked%20for%20updates.%20The%20additional%20information%20can%20be%20helpful%20to%20manage%20updates%20to%20your%20devices.%3C%2FP%3E%0A%3CP%3EThe%20following%20Azure%20Sphere%20API%20reference%20pages%20explain%20the%20API%20response%20changes%20in%20more%20detail%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%3CP%3E%3CSTRONG%3ECommand%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486%22%3E%3CP%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Frest%2Fapi%2Fazure-sphere%2Fdevices%2Fget%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDevices%20-%20Get%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486%22%3E%3CP%3EGets%20details%20for%20a%20device.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Frest%2Fapi%2Fazure-sphere%2Fdevices%2Flist%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDevices%20-%20List%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486%22%3E%3CP%3EGets%20all%20devices%20that%20are%20claimed%20to%20the%20specified%20tenant.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Frest%2Fapi%2Fazure-sphere%2Fdevices%2Flist-in-group%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDevices%20-%20List%20In%20Group%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486%22%3E%3CP%3EGets%20all%20devices%20that%20are%20assigned%20to%20the%20specified%20device%20group.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22138%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Frest%2Fapi%2Fazure-sphere%2Fdevices%2Flist-in-product%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EDevices%20-%20List%20In%20Product%3C%2FA%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22486%22%3E%3CP%3EGets%20all%20devices%20that%20belong%20to%20the%20specified%20product.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20addition%2C%20the%20Azure%20Sphere%20CLI%20has%20been%20updated%20to%20include%20these%20additional%20device%20details%20in%20the%26nbsp%3Bazsphere%20device%20list%2C%26nbsp%3Bazsphere%20device%20show%2C%20and%26nbsp%3Bazsphere%20device%20update%26nbsp%3Bcommands%20using%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Freference%2Fazsphere-cli%23query-cli-command-output%22%20target%3D%22_self%22%20data-linktype%3D%22relative-path%22%20rel%3D%22noopener%20noreferrer%22%3E--query%26nbsp%3Bparameter%26nbsp%3B%3C%2FA%3Eor%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Freference%2Fazsphere-ps-format-output%22%20target%3D%22_self%22%20data-linktype%3D%22relative-path%22%20rel%3D%22noopener%20noreferrer%22%3Esupported%20output%20formats%3C%2FA%3E.%20For%20example%2C%26nbsp%3Bazsphere%20device%20show%20--output%20json.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-941699455%22%20id%3D%22toc-hId-941698778%22%3E%3CFONT%20size%3D%225%22%3ENew%20and%20changed%20features%20in%20Visual%20Studio%20or%20Visual%20Studio%20Code%20extensions%20for%20Azure%20Sphere%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EThe%20Visual%20Studio%20and%20Visual%20Studio%20Code%20extensions%20include%20more%20descriptive%20names%20for%20debug%20targets.%20The%20Visual%20Studio%20extension%20also%20includes%20support%20for%26nbsp%3Bheap%20memory%20allocation%20tracking.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1632260929%22%20id%3D%22toc-hId-1632260252%22%3E%3CFONT%20size%3D%224%22%3EMore%20descriptive%20names%20for%20debug%20targets%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%20Visual%20Studio%20extension%20now%20uses%20the%20project%20name%20for%20the%20debug%20target%20name.%20The%20Visual%20Studio%20Code%20extension%20shows%20the%20project%20name%20as%20before%20but%20simplifies%20the%20descriptive%20text.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId-1621757825%22%20id%3D%22toc-hId-1621757148%22%3E%3CFONT%20size%3D%225%22%3ESupport%20for%20other%20output%20formats%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EAdditional%20Azure%20Sphere%20CLI%20commands%20now%20support%20the%26nbsp%3B--output%26nbsp%3B(--out%26nbsp%3Bor%26nbsp%3B-o)%20parameter%20to%20specify%20the%20format%20of%20the%20CLI%20output.%20For%20more%20information%20see%2C%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Freference%2Fazsphere-ps-format-output%23supported-commands%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ESupported%20commands%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--185696638%22%20id%3D%22toc-hId--185697315%22%3E%3CFONT%20size%3D%225%22%3ENew%20and%20updated%20commands%20and%20parameters%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EFor%20more%20information%20on%20updates%20to%20commands%20and%20parameters%2C%20see%20a%20list%20of%20updates%20in%20the%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fproduct-overview%2Fwhats-new%3Fbranch%3Drelease%23new-and-updated-commands-and-parameters%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ecustomer%20documentation%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH1%20id%3D%22toc-hId--1993151101%22%20id%3D%22toc-hId--1993151778%22%3E%3CFONT%20size%3D%225%22%3ENew%20and%20updated%20samples%20and%20Gallery%20items%3C%2FFONT%3E%3C%2FH1%3E%0A%3CP%3EThe%2021.07%20release%20includes%20an%20updated%20memory%20usage%20tutorial%2C%20updates%20to%20the%20Azure%20IoT%20sample%2C%20and%20three%20new%2Fupdated%20projects%20in%20the%20Azure%20Sphere%20Gallery.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-371180112%22%20id%3D%22toc-hId-371179435%22%3E%3CFONT%20size%3D%224%22%3EUpdated%20memory%20usage%20tutorial%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-samples%2Ftree%2Fmaster%2FTutorials%2FMemoryUsage%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMemoryUsage%20tutorial%26nbsp%3B%3C%2FA%3Ehas%20been%20updated%20to%20demonstrate%26nbsp%3Bheap%20memory%20allocation%20tracking.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1436274351%22%20id%3D%22toc-hId--1436275028%22%3E%3CFONT%20size%3D%224%22%3EUpdated%20Azure%20IoT%20sample%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EWe%20made%20some%20minor%20refinements%20to%20the%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-samples%2Ftree%2Fmaster%2FSamples%2FAzureIoT%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20IoT%20sample%3C%2FA%3E%2C%20including%20changing%20the%20polling%20rate%20of%20IoTHubDeviceClient_LL_DoWork%20to%20every%20100ms%20rather%20than%20every%201s%2C%20following%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure%2Fiot-hub%2Fiot-c-sdk-ref%2Fiothub-device-client-ll-h%2Fiothubdeviceclient-ll-dowork%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3Ethis%20IoT%20Hub%20client%20best%20practice%3C%2FA%3E.%20We%20recommend%20that%20you%20adopt%20this%20change%20in%20your%20existing%20apps.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1051238482%22%20id%3D%22toc-hId-1051237805%22%3E%3CFONT%20size%3D%224%22%3ENew%20or%20updated%20Gallery%20samples%3C%2FFONT%3E%3C%2FH2%3E%0A%3CP%3EThe%20following%20new%20sample%20was%20added%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-gallery%23azure-sphere-gallery%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20Sphere%20Gallery%3C%2FA%3E%26nbsp%3B%2C%20a%20collection%20of%20unmaintained%20scripts%2C%20utilities%2C%20and%20functions%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-gallery%2Ftree%2Fmain%2FVS1053AudioStreaming%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EVS1053AudioStreaming%3C%2FA%3E%26nbsp%3B%26nbsp%3Bshows%20how%20to%20play%20audio%20through%20a%20VS1053%20codec%20board.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-gallery%2Ftree%2Fmain%2FWebHookPublicAPIServicePrincipal%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EWebHookPublicAPIServicePrincipal%3C%2FA%3E%26nbsp%3B%26nbsp%3Bshows%20how%20to%20use%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fauthenticate-service-principal%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EService%20Principal%20based%20authentication%3C%2FA%3E%26nbsp%3Bfor%20the%20Azure%20Sphere%20Security%20Service%20Public%20API.%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2Fazure-sphere-gallery%2Ftree%2Fmain%2FAzureSphereTenantDeviceTwinSync%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzureSphereTenantDeviceTwinSync%3C%2FA%3E%26nbsp%3B%26nbsp%3Bwas%20updated%20to%20utilize%20new%20Azure%20Sphere%20Public%20API%20support%20for%26nbsp%3Bquerying%20the%20OS%20version%20for%20devices.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EFor%20more%20information%20on%20Azure%20Sphere%20OS%20feeds%20and%20setting%20up%20an%20evaluation%20device%20group%2C%26nbsp%3Bsee%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fdeployment-microsoft-feeds%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3E%3CSPAN%3EAzure%20Sphere%20OS%20feeds%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%20and%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fazure-sphere%2Fdeployment%2Fset-up-evaluation-device-group%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3ESet%20up%20devices%20for%20OS%20evaluation%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20self-help%20technical%20inquiries%2C%20please%20visit%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fanswers%2Fsearch.html%3Fc%3D%26amp%3BincludeChildren%3D%26amp%3Bf%3D%26amp%3Btype%3Dquestion%2BOR%2Bidea%2BOR%2Bkbentry%2BOR%2Banswer%2BOR%2Btopic%2BOR%2Buser%26amp%3Bredirect%3Dsearch%252Fsearch%26amp%3Bsort%3Drelevance%26amp%3Bq%3Dazure%2520sphere%2520OS%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EMicrosoft%20Q%26amp%3BA%3C%2FA%3E%3CSPAN%3E%20o%3C%2FSPAN%3Er%20%3CA%20href%3D%22https%3A%2F%2Fstackoverflow.com%2Fsearch%3Fq%3Dazuresphere%26amp%3Bs%3D23550afd-6ece-47d5-a84f-2d0dc6fc9cf5%26amp%3Bs%3D3b14b5b6-0179-4a03-ac51-bc826cc46fb1%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EStack%20Overflow%3C%2FA%3E.%20If%20you%20require%20technical%20support%20and%20have%20a%20support%20plan%2C%20please%20submit%20a%20support%20ticket%20in%20%3CA%20href%3D%22https%3A%2F%2Fms.portal.azure.com%2F%3Fquickstart%3Dtrue%26amp%3BCAF%3Dtrue%23blade%2FMicrosoft_Azure_Support%2FHelpAndSupportBlade%2Foverview%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3EMicrosoft%20Azure%20Support%3C%2FA%3E%20or%20work%20with%20your%20Microsoft%20Technical%20Account%20Manager.%20If%20you%20would%20like%20to%20purchase%20a%20support%20plan%2C%20please%20explore%20the%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fazuresupport%2F%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%22%3EAzure%20support%20plans%3C%2FA%3E.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2571761%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-and-female-manufacturing-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%2F297432iB0F865182D3C3C4E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22male-and-female-manufacturing-setting.jpg%22%20alt%3D%22male-and-female-manufacturing-setting.jpg%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%2021.07%20release%20includes%20an%20improvement%20to%20how%26nbsp%3Btime%20sync%26nbsp%3Bis%20handled%2C%20the%20ability%20to%26nbsp%3Btrack%20shared%20library%20heap%20memory%20usage%26nbsp%3Bduring%20development%2C%20and%20new%20ways%20to%26nbsp%3Bauthenticate%20using%20Azure%20Active%20Directory.%3C%2FP%3E%3C%2FLINGO-TEASER%3E
Co-Authors
Version history
Last update:
‎Jul 21 2021 02:49 PM
Updated by:
www.000webhost.com