Comments (10)
Hi - you need to configure the app to work with your IoT Central or to work with your IoT Hub.
If you switch to the "Output -> Build" panel in Visual Studio, you will see this advice:
1>------ Build started: Project: AzureIoT, Configuration: Debug ARM ------
1>Validating project app_manifest.json
1>CmdArgs is empty, this needs to contain the ScopeId for your IoT Hub/Central application
1>The app_manifest.json 'AllowedConnections' needs to contain:
1> Your IoT Hub/Central application Endpoint address
1>The app_manifest.json file contains a placeholder 'DeviceAuthentication'
1>this needs to be replaced with your Azure Sphere Tenant Id
1>This can be obtained using the Azure Sphere Developer Command Prompt
1>'azsphere tenant show-selected'
...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Please let us know if this solves the problem, thanks.
from azure-sphere-samples.
from azure-sphere-samples.
Hi - are you having problems at steps 11 and 12 of the IoT Central configuration? Note the need to run a powershell command to convert the device ID into lower case letters. If this doesn't work, please send a screenshot of the error you see, or of your successfully created 'real' device in IoT Central. Thanks.
from azure-sphere-samples.
from azure-sphere-samples.
from azure-sphere-samples.
The component ID is not the same as a device ID.
- You do not need to change the component ID in the app manifest. The existing value of "819255ff-8640-41fd-aea7-f85d34c491d5" will work fine.
- You do need to use your device ID (128 hex digits in lower case) to create a real device in Azure IoT Central (steps 11 and 12). Does this work for you?
- Once you have a real device, you can run "ShowIoTCentralConfig". It will tell you what you need to put in your manifest.
If this still doesn't work, to help us to help you further, please could you attach:
- a screenshot of your device created in IoT Central
- the output from running "ShowIoTCentralConfig"
- the output from the "Output -> Build" panel in Visual Studio
Thanks.
from azure-sphere-samples.
Hi, here the result following your instructions (Please see the screenshots).
If your MT3260 is really working, please make the screenshot that you make on your side.
Thank you.
from azure-sphere-samples.
Thanks for the additional information. There may be an issue with creating devices in IoT Central, which is impacting you. We are investigating and will update here as soon as we can.
from azure-sphere-samples.
I am having the same issue where I have created "real" devices in my IoT Central application but the ShowIoTCentralConfig.exe fails to find them. Please keep us updated on the resolution. Thank you.
from azure-sphere-samples.
Hi @piercalderan , @m-chau - some fixes have been made to IoT Central and to the "ShowIoTCentralConfig" tool. Please can you pull the latest, retry, and let us know if any further problems in getting this app to run. Thanks.
from azure-sphere-samples.
Related Issues (20)
- Azure sphere Hub authentication issue HOT 2
- Device is not responding when deploying HOT 13
- Possible Memory Leak in get_device_id.c example HOT 2
- Default Interface HOT 9
- This repo is missing important files
- Get the OS Version of the Device using Azure Sphere Device REST API HOT 5
- How to setup Development Env in Mac HOT 1
- This repo is missing a license file HOT 2
- VSCode: Wi-Fi details not showing up HOT 13
- Reference Code Example for Azure IoT/Tools HOT 4
- Azure sphere Uart baud rate change HOT 7
- Exit EventLoop and restart device after DFU HOT 2
- Azure sphere cloud to device message receiving in device HOT 2
- 3rd party library works on Azure uart sample but doesnt work on Azure Iot sample HOT 4
- Is it possible to clear Uart in azure HOT 5
- Problems with PowerManagement_ForceSystemPowerDown (Powerdown sample) HOT 3
- How to change UART baud rate on Azure after DFU HOT 1
- Deprecated SDK for WifiSetupAndDeviceControlViaBle/Nrf52App
- Wifi Ble Sample Pair key Issue HOT 2
- Wifi disabled automatically in azure sphere HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sphere-samples.