Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Detect Hardware

Hardware

Best Answer CW2, 27 August 2013 - 11:39 AM

A: Inspect SystemInfo.SystemID properties, the values should be OEM = 0x22, Model = 0xB1 (Secret Labs VID) and SKU

  • 0x1000 ... Netduino,
  • 0x1001 ... Netduino Plus,
  • 0x1002 ... Netduino Mini,
  • 0x1003 ... Netduino Go,
  • 0x1004 ... Netduino Shield Base,
  • 0x1005 ... Netduino 2,
  • 0x1006 ... Netduino Plus 2.
Go to the full post


  • Please log in to reply
4 replies to this topic

#1 stotech

stotech

    Advanced Member

  • Members
  • PipPipPip
  • 143 posts
  • LocationAustralia

Posted 27 August 2013 - 08:30 AM

Hi, I've been looking for hours and can't figure any of these out. How would one go about detecting the next three questions.

 

A: What is the hardware the code is running on at the moment. standard or plus. Like "if (hardware == plus) { }".

 

B: Is the network cable plugged in.

 

C: Is there an sd card inserted [plus].

 

Thanks,

 

I really appreciate any help. 



#2 Frode

Frode

    Advanced Member

  • Members
  • PipPipPip
  • 202 posts
  • LocationNorway

Posted 27 August 2013 - 09:34 AM

c: http://forums.netdui...l=+detect +card



#3 stotech

stotech

    Advanced Member

  • Members
  • PipPipPip
  • 143 posts
  • LocationAustralia

Posted 27 August 2013 - 09:58 AM

Thanks! That's the SD-Card out of the way. Now are there any takers on the other two?



#4 CW2

CW2

    Advanced Member

  • Members
  • PipPipPip
  • 1592 posts
  • LocationCzech Republic

Posted 27 August 2013 - 11:39 AM   Best Answer

A: Inspect SystemInfo.SystemID properties, the values should be OEM = 0x22, Model = 0xB1 (Secret Labs VID) and SKU

  • 0x1000 ... Netduino,
  • 0x1001 ... Netduino Plus,
  • 0x1002 ... Netduino Mini,
  • 0x1003 ... Netduino Go,
  • 0x1004 ... Netduino Shield Base,
  • 0x1005 ... Netduino 2,
  • 0x1006 ... Netduino Plus 2.


#5 stotech

stotech

    Advanced Member

  • Members
  • PipPipPip
  • 143 posts
  • LocationAustralia

Posted 28 August 2013 - 02:10 AM

Found this thread which answers the third question. Thanks for all the help.

 

http://forums.netdui...?showtopic=3420







0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.