BeeMobile4.net

From the monthly archives: September 2015

We are pleased to present below all posts archived in 'September 2015'. If you still can't find what you are looking for, try using the search box.

David Jones's avatar

Win 10 IoT Core: SysInfo: A Windows Universal App to get system info– OS Version 10.0.10531


A new version of Windows 10 IoT is available on Windows Dev Center. Version 5.x of SysInfo is now available on GitHub that addresses the OS changes in the web portal. This version has two versions of the commands in the JSON file. One for the new OS and one for the RTM version.
Version 5.0 Adds [Rename Device] and [Set Admin Password]. There are also some coding corrections for the generic [api] command.

Read the rest of entry »

David Jones's avatar

Win 10 IoT Core: SysInfo: A Windows Universal App to get system info–Take Two


Version 4.x of SysInfo is now available on GitHub. T)his version has much improved JSON processing and includes additional commands Startapp, StopApp, Shutdown and Reboot. A customisable JSON file is used to list the app commands and their relative URLs.Update Version 4.5 has “Uninstall Package” command.

Read the rest of entry »

David Jones's avatar

Win 10 IoT Core: SysInfo Commands.JSON file


This post shows (version 4.0) the JSON file that is loaded as start up and parsed to form a list of commands that is displayed in the left pane of the app’s UI

Read the rest of entry »

Bruce Eitman's avatar

Windows 10 IoT Core: Why is My App Package Name a GUID?


Question: I am using Visual Studio 2015 to create my Windows Universal Application and when I build and deploy it, I can’t find it listed on device or it is listed but with a GUID instead of the human readable name that I carefully gave it.  How can I fix this? How can I see this problem? The picture below shows the web access to a Raspberry Pi running Windows 10 IoT Core.  The highlighted item is the app that we will fix by giving it a human readable name. In Visual Studio, the Build output window shows: 1>Deployment complete (13982ms). Full package name: "77fae4cd-630a-45ec-9927-a72b8129f477_1.0.0.0_arm__j932756y98c8a"   How can I fix this problem? You can edit the Package Manifest file, Package.appxmanifest, to change the Identity Name:   Original      <Identity     Name="77fae4cd-630a-45ec-9927-a72b8129f477"     Publisher="CN=bruce.eitman"     Version="1.0.0.0" />   Modi ...

Read the rest of entry »

Bruce Eitman's avatar

Windows 10 IoT Core: Stop A Running Package


Building on my previous articles (Windows 10 IoT Core: Starting a Package on Raspberry Pi  and Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) the following shows how to stop a running package. We start with the function StopApp(), which can be called either of the following ways:   StopApp("PushButton", true); StopApp("PushButton", false);   private async void StopApp(string appName, bool Force) {     String FullName = await GetPackageFullName(appName);     byte[] toEncodeAsBytes = System.Text.ASCIIEncoding.ASCII.GetBytes(FullName);     string appName64 = System.Convert.ToBase64String(toEncodeAsBytes);     String URL = "http://localhost:8080/api/taskmanager/stop?" + (Force ? "?forcestop=true&" : "") + "package=" + appName64;     System.Diagnostics.Debug.WriteLine(URL);     StreamReader SR = await PostJsonStreamData(URL); }   To stop the package ...

Read the rest of entry »

Bruce Eitman's avatar

Windows 10 IoT Core: Shutdown and Reboot the Raspberry Pi


Building on my previous articles (Windows 10 IoT Core: Starting a Package on Raspberry Pi  and Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) the following functions will shutdown and reboot the Raspberry Pi running Windows 10 IoT Core.

private
async void ShutdownComputer()

{

String URL = "http://localhost:8080/api/control/shutdown";

System.Diagnostics.Debug.WriteLine(URL);

StreamReader SR = await PostJsonStreamData(URL);

}

private async void RebootComputer()

{

String URL = "http://localhost:8080/api/control/reboot";

System.Diagnostics.Debug.WriteLine(URL);

StreamReader SR = await PostJsonStreamData(URL);

}

The function PostJsonStreamData() can be found in Windows 10 IoT Core: Starting a Package on Raspberry Pi.

 

 

Copyright © 2015 – Bruce Eitman and Embedded101.com
All Rights Reserved

Bruce Eitman's avatar

Windows 10 IoT Core: Starting a Package on Raspberry Pi


Just for fun, I thought that I would build on my previous article (Windows 10 IoT Core: Getting the MAC Address from Raspberry Pi) and this time use POST to send data to the web server.  I decided on starting a package.   To start a package, we need a some information, this includes:         1. The URL, in the case of starting packages it is “api/taskmanager/start”          2. How to POST the app to start.  We do this with the parameter “appid” which requires a Base 64 string         3. The name of the app – surprisingly this was the most challenging.  This required that we get the Relative Package ID, which is a very odd name for the app, not a user friendly name. I started with an function that handles the items above.   private async void StartApp( string appName ) {   ...

Read the rest of entry »

David Jones's avatar

Win 10 IoT Core: SysInfo: A Windows Universal App (WebRest.js)


The Web Portal uses a number of JavaScript files that are embedded in it. The one listed here in full, WebRest.js, is used by a number of the API calls.

Read the rest of entry »

David Jones's avatar

Win 10 IoT Core: SysInfo: A Universal Windows App (Part 2): REST & JSON Code


This blog outlines the REST and JSON code used in the SysInfo Universal App that mimics the Web Portal to Windows 10 IoT devices. This portal is a web service running on the devices that permits examination of the aspects of a currently running system.

Read the rest of entry »

David Jones's avatar

Win 10 IoT Core: SysInfo: A Windows Universal App to get system info (as per the web portal) Updated


A Universal Windows App that mimics the web portal to a Windows 10 IoT Core device. Makes use of the web portal through REST and uses JSON to process the response for display. Can get ipconfig, processes, installed app, default app, OS info etc… All in an app.

Read the rest of entry »

Pages: Previous12NextReturn Top

Meta

Archive

Search

Recent Comments

  1. Re: SurfPad: Index

    this is a good post that you have written you can add more about the outlook or some other technology...

    -- Configure Outlook 2016

  2. Re: Azure Sphere - Hands on!!

    Cool

    -- David Jones

  3. Re: Windows 10 IoT Core: Shutdown and Reboot the Raspberry Pi

    Bruce, I noticed that you are sending a REST web request for controlling the pi. I looked online a for...

    -- Waleed Elmandouh

  4. Re: Strange HP Laptop Keyboard Fix–It worked for me.

    Eh its happened again! Yes [Fn] and [ctrl] keys are swapped. So time to shutdown and remove the battery...

    -- David Jones

  5. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    Thank you for the workaround. I just tried it on my Raspberry Pi 3 running Win 10 IoT. It solved the...

    -- Paul

  6. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    Thank you for the workaround. I just tried it on my Raspberry Pi 3 running Win 10 IoT. It solved the...

    -- Paul

  7. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    When the BLE dongle is inserted it shows up on the default startup app main page as two entries: USB...

    -- David Jones

  8. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    The above "comment" is the Device tree on Device Portal-Devices for the Bluetooth Driver/s with the ...

    -- David Jones

  9. Re: Win 10 IoT-Core - Raspberry Pi3 Bluetooth Driver Issue: Workaround

    >HTREE\ROOT\0 >ACPI ARM-based PC >Microsoft ACPI-Compiant System ...

    -- David Jones

  10. Re: Bluetooth Low Energy on Windows 10 Creators Edition and a RPi3 issue.

    FYI: On RPI2 ========== When my USB BLE Dongle is plugged in I get two entries on the main page for the...

    -- David Jones

Turkish porno izle video site in rokettubeporno izle