{"id":76,"date":"2011-08-14T11:59:27","date_gmt":"2011-08-14T09:59:27","guid":{"rendered":"http:\/\/jcoder.me\/blog\/?p=76"},"modified":"2011-08-14T11:59:27","modified_gmt":"2011-08-14T09:59:27","slug":"networking-with-the-fez-panda-ii","status":"publish","type":"post","link":"https:\/\/jcoder.me\/blog\/2011\/08\/14\/networking-with-the-fez-panda-ii\/","title":{"rendered":"Networking with the FEZ Panda II"},"content":{"rendered":"<p>First of all: using the ethernet connection with the FEZ Panda II works well if you follow the steps from GHIElectronic&#8217;s eBook &#8220;FEZ Internet of Things&#8221;. You just set up MAC, IP, netmask, gateway and DNS server settings and you are ready to go.<\/p>\n<p>But, there is actually a drawback: although the FEZ Panda II uses the .NET Microframework 4.x (NETMF), it does not fully support the <code>System.Net<\/code> namespace due to resource limitations of the device!<\/p>\n<p>This means that all code using <code>System.Net<\/code> from the NETMF will not work, giving you a <code>System.NotSupportedException<\/code>. One disadvantage of this is, that most 3rd party NETMF projects using networking will not work as well.<\/p>\n<p>The workaround to this problem is to use the network classes provided by GHIElectronics. In detail, it helps to add the following references to your project:<\/p>\n<ul>\n<li><code>GHIElectronics.NETMF.Net<\/code><\/li>\n<li><code>GHIElectronics.NETMF.W5100<\/code><\/li>\n<li><code>GHIElectronics.NETMF.W5100.Http<\/code><\/li>\n<\/ul>\n<p>Those references provide all the classes used to successfully establish network connections via TCP or UDP. As said above, the examples in the eBook are very useful, so I&#8217;ll not go into detail here ;)<\/p>\n<p>Now that I basically got the network connection working I&#8217;m going to think about some example usages and over the course of the next weeks I&#8217;ll share my observations (and maybe some code too) here.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First of all: using the ethernet connection with the FEZ Panda II works well if you follow the steps from GHIElectronic&#8217;s eBook &#8220;FEZ Internet of Things&#8221;. You just set up MAC, IP, netmask, gateway and DNS server settings and you &hellip; <a href=\"https:\/\/jcoder.me\/blog\/2011\/08\/14\/networking-with-the-fez-panda-ii\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,6,4],"tags":[7,51,52,17,18],"class_list":["post-76","post","type-post","status-publish","format-standard","hentry","category-coding","category-netduino","category-netmf","tag-fez","tag-netduino","tag-netmf","tag-network","tag-panda-ii"],"_links":{"self":[{"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/posts\/76","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/comments?post=76"}],"version-history":[{"count":3,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions"}],"predecessor-version":[{"id":79,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/posts\/76\/revisions\/79"}],"wp:attachment":[{"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/media?parent=76"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/categories?post=76"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jcoder.me\/blog\/wp-json\/wp\/v2\/tags?post=76"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}