GithubHelp home page GithubHelp logo

iot-utilities's Introduction

Windows 10 IoT Utilities

Welcome to the Windows 10 IoT Core Utilities

Please download, build, use, and contribute!! For more information and descriptions about the utilities found here, see:

For more information about Windows 10 IoT Core, see our online documentation here

We are working hard to improve Windows 10 IoT Core and deeply value any feedback we get.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

iot-utilities's People

Contributors

alecont avatar bfjelds avatar cobracmder avatar fgenolini avatar mahmoudgsaleh avatar mikehall-ms avatar neilsh-msft avatar ooeygui avatar rachitb777 avatar tony979 avatar unixorn avatar vminute avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iot-utilities's Issues

Errors at line 329 and 498

After building and running the IoTAPIPortingTool.exe in the Visual Studio command prompt against a Windows CE project I am getting the following error(s):

Unhandled Exception: System.Data.SQLite.SQLiteException: SQL logic error or miss
ing database
no such column: LocalAllocTrace
at System.Data.SQLite.SQLite3.Prepare(SQLiteConnection cnn, String strSql, SQ
LiteStatement previous, UInt32 timeoutMS, String& strRemain)
at System.Data.SQLite.SQLiteCommand.BuildNextCommand()
at System.Data.SQLite.SQLiteCommand.GetStatement(Int32 index)
at System.Data.SQLite.SQLiteDataReader.NextResult()
at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavi
or behave)
at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.SQLite.SQLiteCommand.ExecuteReader()
at IoTAPIPortingTool.Program.ProcessLines(String[] lines, Boolean isUAP, Stri
ng filename, StringBuilder outputBuilder) in c:\DownLoads\MSFT\IoT\iot-utilities
-master\IoTAPIPortingTool\Program.cs:line 329
at IoTAPIPortingTool.Program.Main(String[] args) in c:\DownLoads\MSFT\IoT\iot
-utilities-master\IoTAPIPortingTool\Program.cs:line 498

Any insight as to why I getting this error would be appreciated.
Thanks

System.IndexOutOfRangeException for IoTAPIPortingTool

hello
when I use the IoTAPIPortingTool to index al.exe(an exe of Windows Assessment and Deployment Kit),the result is "System.IndexOutOfRangeException: IoTAPIPortingTool.Program.ProcessLines(String[] lines, Boolean isUAP, String filename, StringBuilder outputBuilder)", the source of error is no dll found in
al.exe. dumpbin the al.exe , return
console : Microsoft (R) COFF/PE Dumper Version 14.16.27024.1
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file al.exe
File Type: EXECUTABLE IMAGE
Summary
14000 .rsrc
2E000 .text
so in Program.cs line 254 "var currentLine = lines[index].ToLower().Trim();"
index = lines.length, it cause the error.
I do not know the code of al.exe, yet i do not know why there is no dll in it.
but i think it shoud check the index before use it in line 254.

MBBConnect Problem

Hello,
With guide of document, i want to use MBBConnect. My Steps are like:

Open MBBConnect, this is CPP project,
Debug mode, set the platform ARM.
After Rebuild, copy MBBConnect.exe to Iot Core Device "C:\Data\Users\administrator\Documents"
after over Power shell run the MBBConnect but gettin this error.

The term 'MBBConnect.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
+ CategoryInfo : ObjectNotFound: (MBBConnect.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

What is my wrog ?
Could someone help me .
Thanks

Unable to Build ProcessLauncherWhitelist for ARM

Whenever I try to build ProcessLauncherWhitelist with ARM configuration, I get the following error:

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\ARM\PlatformToolsets\v140\Toolset.targets(53,5): error MSB8022: Compiling Desktop applications for the ARM platform is not supported.

MBBConnect Connect Failure: error 0x139F

Hi, I'm trying to connect to the AT&T network using my AT&T SIM card and Vodafone (Huawei) K5150 modem on a Raspberry Pi 3 Model B running Windows IoT Core. The problem is my output looks like this:

image

I know my APN name is correct because I have tested it on my Windows 10 PC with this modem and everything worked. So I'm not sure why I am getting an error here.

invalid SQL for SQLLite in program.cs

[Edit: pull request added]
program.cs in lines 24 and 25 generate invalid SQL syntax:

private const string functionSelect = "SELECT * FROM FUNCTION WHERE F_NAME = '{0}';"; private const string functionSelectWithDll = functionSelect + "AND F_DLL_NAME = '{1}';";

line 24 must not have a semi-colon, and therefore the code should be instead:

private const string functionSelect = "SELECT * FROM FUNCTION WHERE F_NAME = '{0}'"; private const string functionSelectWithDll = functionSelect + " AND F_DLL_NAME = '{1}';";

Many valid Win32 APIs are listed as incompatible, but they are not

Many essential low level Win32 API calls are reported as incompatible with Win 10 IoT Core by this tool, but they should instead be correctly found to be recognised and supported by the operating system (Win 10 IoT Core on Raspberry Pi 2B in my case).

Try a very simple C++ Win32 application that only prints out values returned by GetCurrentProcessId or GetCurrentThreadId, compile in Visual Studio 2015 for ARM, deploy to Raspberry Pi 2, run using ssh (PUTTY), and you will see that the command line application runs and returns valid values.
Yet the IOT API Porting Tool - Scan results list both functions as not compatible (misspelt in the tool as comptible).

The problem comes from the file IoTDLLs.txt, which is very incomplete.
I have manually edited this file (my additions are in the file Extra-IoTDLLs.txt) in Visual Studio 2015 and redeployed it, and then called the tool with the generate option again. Now the tool correctly recognises low level C Win32 APIs that I know for certain are present and working on Windows 10 IoT Core for ARM (Raspberry Pi 2). This is a lot of work however, to test every single low level Win32 API call. Surely this should be documented somewhere in the Microsoft web site and included in this app?

IoTAPIPortingTool: "All dll's are compatible" but how can I run Win32 app?

Hello!
I am trying to use IoTAPIPortingTool on my Win32 WinForms app and it says
"All DLL's are compatible
Number of functions incompatible: 1"
This incompatible function is:
_CorDllMain from mscoree.dll

What does it means? How can I run (even with some modifications) my app on Windows IoT Core?
I can't even compile my code for UWP app in Visual Studio because it can't find many namespaces and classes. For example System.Net.Sockets.Socket or System.Threading.Thread. But IoTAPIPortingTool says "all right".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.