topikachu/python-ev3

any solutions for wireless connections?

Closed this issue · 9 comments

hey, thx for this great project. i am making some applications upon it.

but.. seems current usage still need a usd connection. is there any solutions for wireless?

i mean no matter wifi or bluetooth.

and i'd love to contribute :)

Hi WIFI is possible when you have a usb wifi dongle and the right driver.
I also tried bluetooth network(pan). However, with the latest emdebian, the bluez package chang a lot so I don't know how to start a stable pan service.
Another possible solution is to use the stock firmware and ev3 bluetooth command protocol. http://legoev3.codeplex.com/ is an implementation by c#.
However, this means the application is run on a pc than ev3 itself.
Any idea?

i think the most practical way is by port a python version from the node guy..

i mean, been able to remote control really matters.

take a look at rpyc. It's akready in the sd image. That means if you have a network, you are able to control the brick remotely.

I have the edimax micro wifi dongle

lsusb

Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]

A bit of googling tells me I need the firmware-realtek package from the non-free package lsit
I followed this installation guide https://wiki.debian.org/rtl819x#Installation

aaand now what? I've rebooted, removed and reinserted the dongle, etc. It doesn't power on from what I can tell, and there aren't any new modules loaded with lsmod, just g_ether, and modprobe -l throws an error invalid option

because the kernel is modified by lego. Also.the required driver is not in the image. dont use the debian's firmware. download and compile one from http://www.realtek.com.tw
or I can build one for you.

I'd appreciate it if you could build one for me. This is a widely-owned
dongle, and is the LeJOS dongle of choice (why I picked this one in the
first place). I'm not too good at compiling drivers, and I want something
that will work properly, especially for people who are trying out python as
a breath of fresh air from Java.

On Tue, Mar 25, 2014 at 7:04 PM, GongYi notifications@github.com wrote:

because the kernel is modified by lego. Also.the required driver is not in
the image. dont use the debian's firmware. download and compile one from
http://www.realtek.com.tw
or I can build one for you.

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-38632509
.

np. I will work on this issue this week end.

I was hoping for something before thursday, so I went ahead and tried to compile the drivers myself. It turns out I'm worse at compiling drivers than I thought, as I couldn't figure out how to configure make properly.

root@python-ev3:~/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911# make
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -C /usr/src/linux-2.6.34.1 M=/root/rtl8188C_8192C_usb_linux_v4.0.2_9000.20130911  modules
make: *** /usr/src/linux-2.6.34.1: No such file or directory.  Stop.
make: *** [modules] Error 2

It occurs to me that I'm probably supposed to be cross-compiling on a different host system, such as ubuntu, but I'm still unsure how I would configure for that either.

No apply to new python-ev3 release