The following forum(s) are migrating to a new home on Microsoft Q&A (Preview): Developing Universal Windows apps!

Ask new questions on Microsoft Q&A (Preview).
Interact with existing posts until December 13, 2019, after which content will be closed to all new and existing posts.

Learn More

 none
[WP8.1]How to control the GPIO with WP8.1 application? RRS feed

  • Question

  • Hello.

    i'm jack

    i wan't development WP8.1 application for GPIO control

    but I con not use the DeviceIoControl function within my application.

    How to control the GPIO with my WP8.1 application?


    • Edited by Krunal Parekh Tuesday, January 12, 2016 7:46 AM subject
    Monday, January 11, 2016 8:13 AM

Answers

  • From what I can tell unfortunately no  you wont be able to using WP8.1. There is an interesting video from Channel 9 which talks about the new USB Scenarios on Windows Phone 10.

    https://channel9.msdn.com/Events/WinHEC/2015/WHT200

    I don't think this solves your problem because it wont install drivers for you but interesting non the less. Please mark as answered if this answers your question.

    • Proposed as answer by Krunal Parekh Thursday, January 21, 2016 10:43 AM
    • Marked as answer by Krunal Parekh Friday, January 22, 2016 2:16 AM
    Monday, January 11, 2016 12:37 PM

All replies

  • Hi Jack

    Windows Phone 8.1 will not give you access to GPIO functionality unfortunately. If you want to build a custom driver and interact with it using Windows 8 you can look at this sample:

    https://code.msdn.microsoft.com/windowsapps/Custom-device-access-sample-43bde679

    Additionally you might want to have a look at the IoT options available in the Windows Universal Platform which is supported on Windows 10 which will give you a namespace to access GPIO, i2c etc if a platform supports it.

    I hope this has helped you.

    Monday, January 11, 2016 8:47 AM
  • From what I can tell unfortunately no  you wont be able to using WP8.1. There is an interesting video from Channel 9 which talks about the new USB Scenarios on Windows Phone 10.

    https://channel9.msdn.com/Events/WinHEC/2015/WHT200

    I don't think this solves your problem because it wont install drivers for you but interesting non the less. Please mark as answered if this answers your question.

    • Proposed as answer by Krunal Parekh Thursday, January 21, 2016 10:43 AM
    • Marked as answer by Krunal Parekh Friday, January 22, 2016 2:16 AM
    Monday, January 11, 2016 12:37 PM