Forum Replies Created
-
AuthorPosts
-
Anders SøborgKeymasterPlease post complete errors message
Anders
Anders SøborgKeymasterHi
Thanks for trying MonoBrick Communication library
What errors are you getting exactly…
Anders
Anders SøborgKeymasterHi Again
There are no such things as dumb questions! I am just happy that people are using me software…
Should it be my phone name or my ev3 brick name? And does it matter if I turn on bluetooth and pair devices before I run the app on my phone?
Yes you need to pair you phone with the brick before running the program…
Just quoting what I wrote above
Once Bluetooth has been turned on use the following code to get a list of paired devices
MonoBrick.Bluetooth.BondDevices
If you know the device name you can also callMonoBrick.Bluetooth.GetBondDevice(string deviceName);
Anders SøborgKeymasterHi Kjell
Thanks a lot for finding a bug….
Anders
Anders SøborgKeymasterHi Kjell
Great to hear that you are enjoying the first release of the firmware. We are working on getting USB support so transfering programs can be made easy for people without a WiFi connection. But for now let us try to fix your problem.
Please be aware that WiFi networks SSID’s and passwords are case sensitive. If you are still not able to get a working connection try to enable encryption with WPA2 (and password) – this is how I am using it so this should definitely work… please post the results of your test so we can fix potential bugs.
Anders
Anders SøborgKeymasterHi Martin
I can’t wait to try your program
Anders
Anders SøborgKeymasterHi Mike
We’ve made great progress with our PC app to manage competitions between up to 4 bots at once
Great news – I would be great to see a screenshot
One issue which has cropped up is the bricks going to sleep. Do any of the commands sent via Bluetooth to EV3 bricks and/or NXT bricks reset the internal brick sleep timer?
If I remember correctly the NXT does not allow you to set the timeout. There is a function to see what its value is. The function is called
keep aliveThe EV3 works the same way – and I also think there is a function to see the value – but it has not been implemented.
Anders
Anders SøborgKeymasterHi Marcin
You need to use the Android DLL. This DLL has another implementation of the Bluetooth connection. One of the differences is the GetBondDevice…
Anders
Anders SøborgKeymaster
Anders SøborgKeymasterI think that you might have misunderstood the guide. You only need to use the part of the guide that shows how to connect the EV3 to your WiFi network. Once connected you can use the Communication library to connect to the EV3.
Anders
Anders SøborgKeymasterHi Matin
I think your project is really exciting.
still fighting with Lcd: I cannot convert the byte-array to an image/bitmap.
Since Width=178 and Height=128, why is the dispbuffer-size = 2944 bytes, when 178*128/8 = 2848 bytes?The buffer size is not 2944 since each pixel is masked. bytesPrLine=(178+7)/8 = 23. So the buffer is 23*128=4096. This is taken from the following code:
public const int Width = 178; public const int Height = 128; const int bytesPrLine = (Width+7)/8; const int bufferSize = bytesPrLine * Height; const int hwBufferLineSize = 60; const int hwBufferSize = hwBufferLineSize*Height;
Also you should have a look at the set and get pixel functions…
Maybe I don’t understand your question
Anders
Anders SøborgKeymasterHi Martin
Everything looks good – We are using Mono Version 2.10 (we will update at some point but this requires a new Linux kernel hence a new image). Mono 2.10 has support for .NET 4.0. Let me know how it goes – maybe a screen shot 🙂
Anders
Anders SøborgKeymasterHi
To make the 4G thing work you need to make the phone connect to the PC – look at the section Running the tunnel over a 3G network for step by step instructions. Try to make this work on your local network first. Are you able to do that?
Anders
Anders SøborgKeymasterHi Oscar
Have you tried to follow the “Running the tunnel over a 3G network” steps found here. It should also work over 4G. If you are unable to get it to work, then you probably didn’t configure your router to “forward” UDP traffic on the the image port (that you selected on the phone) to your PC.
Anders
Anders SøborgKeymasterHi
This is great info – and will for sure be valuable for others – so thanks for the followup…
Anders
-
AuthorPosts
Follow