Bricked Netduino 3 WIFI & Netduino Plus 2 - c#

I hope someone here can help me. I've managed to brick two Netduinos today. It happens when I run the following code: http://pastebin.com/DjUbM3hN
I found the code example here and from what people say, it should be working just fine. I don't know if my hardware setup can have caused any issues?
But the problem is, when I run the code, then Visual Studio isnt able to find the debugger engine, and after that I cant do anything on either device. I've tried to ping it with MFDeploy, but no luck there either. I am really unsure what happened and what to do from here.
Let me know if anymore details are needed in order to help me. Any help is highly appreciated!

I found a solution here. Really easy. Takes about 2 minutes to reset it with this guide: http://forums.netduino.com/index.php?/topic/11842-how-to-recover-non-responding-netduino-3/#entry62928

Related

How to check if android system is register with Knox

I'm currently working on an application (c# and Xamarin) and within it, I have a part that is checking our servers for if there are any updates available. However, I want to have a check at this point and see if the device is managed by Samsun Knox, which would change the message/action that would occur depending. I have the logic and everything for the update figured out, but have been unable to figure out how to check this permission. I believe this information is stored on the device, but I don't know how to access it. I attached an example of what how I know it is here.
Any help your can give on how to get this would be greatly appreciated :)
I have been researching the Samsung Knox SDK, but haven't found anything useful.

How to send a message on SNMP trap protocol from C# app?

How to send a message on SNMP trap protocol from C# app?
What's the best way to do that and how? someone did it before and can give me instructions please?
I have looked around the net for a guide in c#, but I found nothing. I would like to have an easy to understand explanation of how to do it.
Whenever someone clicks on a button or does something important, I just want to be able to write a log entry for it. So, really all I need is an example on how you send entries.
I don't have any example code of what I already did because I found nothing that I can show off. I hope that i don't break the rules of this site by not showing any code already. But believe me, I tried to look around the net for it.
Thanks a lot for your help guys!

Error building project after uploading UI to tfs

I'm very confused and i was hoping to get some insight into this. I have been working on a project for a few months and everything was going great until i decided to upload the UI to TFS for a front-end dev to work on.
This is multi layered project consisting of Data, Business and UI. I have uploaded many projects before but never had this issue. I have taken a screen capture to help explain the problem. As it's my first time running into this issue, I'm not sure how to explain.
Any help on this would be great, thank you in advanced.
Check your check in files, looks like the build templates have been accidentally included.

Modified/remove entries not working on Xbox? XNA

Ever since I ported my game to Xbox with XNA the code that's supposed to modify and remove entries on the as such as chests, NPC ect hasn't been working. It worked while I was testing on the PC but now it isn't. I double checked over a previous build and it's all the same so I can't reason out what's wrong, I've also debugged the hell out of it but everything returns as it should be.
Here is the code that modifies/removes content: http://pastebin.com/9QKEhAM3
I think if anything that's where the hiccup will be at I just can't find it. I definitely think it's something to do with the one of the quirks of PC/XBOX differences because when I create another windows version of my game Chests and NPC disappear as they should.
If you could help it would be much appreciated.
You have to add some try... catch statements...
I'm sure you have a problem with an uncontrolled exception.
You can use this extended game class too, I've used it in my games and is very effective.
http://blog.nickgravelyn.com/2009/07/a-more-robust-exception-system/
I managed to fix it! It's a really ugly fix but a fix never the less. What I did was simply removed the if removedEntries > 0 conditional. Works like a charm! I'd really like to thank #Blau for all your help as well :)

To Develop an Application:Using Mobile Camera as a Web Cam

I have been tasked with doing this application:
So far: I have a J2SE application which builds a bluetooth service and waits for an incoming connection.
A J2ME application which searches for the service and when a match is found, it streams images clicking continuously with the phone's camera. The J2SE app accepts the images and displays them on the desktop machine.
But according to my project specification, I need the desktop application to be developed in C#.
What I tried?
I tried to read the J2SE code line by line and reproduce the same in C#. After googling around I found that 32Feet library was a good choice. So I went ahead and read the documentation which has code samples in VB, and tried to implement it in C#. It started well with me discovering the local device successfully but eventually i got stuck in the part related to the creation of Bluetooth service.
While most of the terminology is same with ServiceRecord, UUID/GUID etc...but I have failed miserably. Moreover I tested some code which works in VB but fails in C#. Even I tried OBEX...(a small file transfer test) which worked yesterday but fails today with an exception.
Now I am contemplating of starting from scratch all over again. Can someone help me please in suggesting ways to proceed further. I mean in what tools/library/environment should i opt for. What is the best and reliable way to develop the desktop app in C# with the J2ME app already developed.
Help required please. All suggestions even small ones are welcome. I am relatively new to both Bluetooth and C#. I have some experience in Java and J2ME.
Its sad to see that you wish to leave back those libraries you did used and spend alot worty time tinkering with it.
Rather than leaving that effort, try to resolve it. Let us know what exceptions/errors your facing with those libs.
Many experts here shall surely help you with it. Or talk to the developer of those libs for any help needed.
Hope this kind of helps Bluetooth in C#, Which stack, Which SDK?

Categories