Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Nik - Shahriar Nikkhah
    @SQLDataSide
    @danielburt0803 please tell us what sample/test are you running? is it a MXCHip Devkit? what is it?
    Daniel Burt
    @danielburt0803
    @SQLDataSide Yes, it's an MXChip devkit. So I get the problem with both the DevKitTranslator and DevKitState samples, the GetStarted sample deploys fine. The process terminates pretty much immediately after attempting to deploy to Azure, then just hangs. In the previous Provision to Azure step, the final step was to choose between .Net, Java or JavaScript. I assumed the problem was because I was choosing the wrong option here so I deployed three times with each to test but still get the process terminating with each. HTH.
    Renhe Li
    @lirenhe
    @danielburt0803 , please use '.NET' for the app runtime and follow https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions to install prerequisites for your platform.
    Nik - Shahriar Nikkhah
    @SQLDataSide
    @danielburt0803 Hi Daniel the MXChip document for the translation is spot on except one step and that is you will have to select the S1 tier, you can not use/select the free version for the translation sample.
    Are you using S1 in you IoT Hub ? please check the properties of the IoT Hub properties.
    Chandra Mohan Rayaprol
    @Raysapps
    @ArthurMa1978 Yes, it worked with a new cable. Not sure what was wrong with the all 5 cables i tried with.
    Daniel Burt
    @danielburt0803
    @SQLDataSide @lirenhe Thanks - got it figured it out now. Seems like it was two problems, I already had Azure Functions installed but missed some of the prerequisites (Core Tools) and their prerequisites (.Net). Then the Terminal in Visual Studio Code was using Bash, so couldn't read the dotnet command. I changed this to use .cmd in VSC Settings, Terminal>Integrated>Shell:Windows and then it worked.
    tuhin's public repo
    @tsghosh
    Hi @ArthurMa1978 can you help me to onboard mxchip using group enrollment ?
    The question is open to anyone who has some exposure to mxchip and azure dps
    Chandra Mohan Rayaprol
    @Raysapps
    @tsghosh : There is a MxChip DPS sample in iot workbench vscode extension .
    tuhin's public repo
    @tsghosh
    @Raysapps The example is for individual enrollment. I am looking for group one with X509 certificate.
    ajreply
    @ajreply
    I have just started with the IOT kit and hit some issues: Connected to Wifi. Setup SID and password. Unit resets and connects. I can then test the sensors but with in 30 secods programming led flashes and Intializing Wifi is dispklyed. Anybody have thoughts or help on this please!
    Nik - Shahriar Nikkhah
    @SQLDataSide
    Hi take a look at a short film that Deepk and I (Nik) have made in LinkedIn
    Please check #iotc2c or #iotCoast2Coast in linkedIn
    https://www.linkedin.com/company/azure-iot-coast-2-coast
    Please follow because we will be posting more samples and short film
    @ajreply Hi
    soon IoTCoast2Coast will publish a shrt film on how we have set up IoT devices like MXChip to a Wifi
    ajreply
    @ajreply
    @ajreply Hi IoTCoast2Coast sounds good.
    John Lian
    @jlian
    image.png
    In the remote monitoring example, it uses psig for pressure unit
    I'm pretty sure the pressure unit is "hPa"
    Can someone point me to the repo? I can submit a PR to fix
    lowndesc
    @lowndesc
    I have written a sample application for the IoTKit capturing ALL sensor data but with a focus on dead-reckoning of motion. It is still in late-stage development, but I would like to share it soon. How would I go about doing that?
    lowndesc
    @lowndesc
    In order to demonstrate the AZ3166 in a portable device scenario, I needed to find a suitable portable power source. I have settled on a small-form-factor USB power supply (the Cheero CHE-056 Power Plus 3000mAh 1A model). Main features which make this suitable:
    • exactly same size (WxH) as the AZ3166 and only 12mm deep
    • the low-power cut-off threshold is only ~70mA, which means so long as the board is connected to wifi, the power supply does not switch off. Otherwise it switches off after 30 seconds
    • holds sufficient charge to run prototype applications for more than 36 hours - more if my programming were focused on power conservation
    • limiting factor is the sole USB micro B power supply to the board. If there were a LiPo-friendly connector (e.g as with Arduino MKR1000), then options for portable power would be much greater
    Renhe Li
    @lirenhe
    Arthur Ma
    @ArthurMa1978
    @tsghosh it's in our backlog
    IoTCoast2Coast is awesome! thanks @SQLDataSide
    Renhe Li
    @lirenhe
    @lowndesc , you could follow https://github.com/microsoft/vscode-iot-workbench#contributing to contribute new example for IoT Devkit. You could also check the existing contributed example: https://github.com/jimbobbennett/InternetConnectedFan/
    Nik - Shahriar Nikkhah
    @SQLDataSide
    @lowndesc you can start by sharing in this page if you like
    @ArthurMa1978 Thank you
    Xavier Mignot
    @xaviermignot
    Hello, I have followed the MSBuild announcements and would like to play with the IoT plug and play feature.
    I know that the MXCHIP can be easily integrated in IoT Central, but I would like to test the code-generating feature presented at Build this month.
    Can I do this with the MXCHIP ?
    According to the Azure Iot Solutions catalog it is not "IoT Plug and Play certified" (link here) but there is a new ESP32 board pictured among the certified devices. Maybe I should get one of these new boards...
    Arthur Ma
    @ArthurMa1978
    @xaviermignot PnP is announced at //BUILD, but currently it's still private preview and only can share with under-NDA customers
    MXChip is definite the preferred device, and it's the only MCU device we used for service and tooling development now
    Xavier Mignot
    @xaviermignot
    ok thanks @ArthurMa1978, I'll wait for the public preview then :)
    Charlie
    @misterfoo
    Quick question from a new guy: I'm working with an MXChip and a very slightly modified version of the firmware from IoT Central, and finding that the board is randomly rebooting itself (presumably crashing?) every 30-60 seconds. Edits to the code were to change the duration of the telemetry uploads and to add a few Serial.print statements with no formatting (i.e. no opportunity for format bugs). I can see the output from the Serial monitor but so far I can't figure out what's causing the reboots. Can anyone point me to troubleshooting resources or techniques? Is there any way to get a crash dump or get the debugger to break in when the crash happens?
    Arthur Ma
    @ArthurMa1978
    @misterfoo does the default firmware work well?
    Jani Turunen
    @Janisku7
    I got latest: N/A to my mx ship
    Dan Shoubridge
    @danshoubs
    I would like to make a direct method call to the device (DeviceMethodCallback)
    how can I display the payload that is received on the device? I can see a payload variable, but not sure how to use it. (I know zero c++, which doesn't help)
    I tried Screen.print(1, *payload, true);
    Xavier Mignot
    @xaviermignot
    @danshoubs have you tried Screen.print(1, payload, true); ? (without the *)
    Dan Shoubridge
    @danshoubs
    @xaviermignot yes, tried a few combinations, without the *, I get:
     initializing argument 2 of 'virtual int OLEDDisplay::print(unsigned int, const char*, bool)'
         virtual int print(unsigned int line, const char *s, bool wrap = false);
                     ^`
    ideally, I want to convert it from json to an struct and output specific values, but just displaying whatever raw text I send to it would be a good start.
    Xavier Mignot
    @xaviermignot
    @danshoubs if it's just for debugging purpose I'll suggest to use Serial.print and from VS Code see what is sent to the Serial Monitor.
    Xavier Mignot
    @xaviermignot
    Or if you want to stick with the screen, I have looked into the samples for some code who display variables on the screen, I have found this in the translator sample:
    char temp[33];
    int end = min(length, sizeof(temp) - 1);
    memcpy(temp, text, end);
    temp[end] = '\0';
    Screen.print(2, temp, true);
    And that in the Shake for a tweet sample:
    Screen.print(1, &msgBody[msgStart], true);
    Where msgBody is a char array and msgStart is an int
    Dan Shoubridge
    @danshoubs
    @xaviermignot that was a compile error, rather than a log whilst it was running, but I am logging in the way you suggest to help me, e.g. LogInfo("Message recieved from IoTHub");
    I managed to get the following working now, but thanks anyway:
    ...
    JSON_Value *root_value=NULL;
        root_value = json_parse_string((const char*)payload);
        JSON_Object *root_object;
        if(json_value_get_type(root_value) == JSONObject)
        {
            root_object = json_value_get_object(root_value);
            const char *message = json_object_get_string(root_object, "message");
    ...
    Sam Listopad
    @samlii
    Hmm does anyone know about the free MXChip DevKit, I got an email about one but only see links to purchase from Seeed
    rbeyea
    @rbeyea
    @samlii same here. got an email that says "Sign up for a free IoT MxChip DevKit and start simplifying your processes." but I see no where to sign up. Just the link to purchase a kit.