Re: [Tutor] connecting to USB

2012-06-06 Thread BILAL Mustapha
Le 06/06/2012 11:02, BILAL Mustapha a écrit : Hello, I am working to connect to a serial link (USB). In order to do that I have to write this command: sudo ../../tools/stm32w/serialdump-linux -b115200 -d1 (keeping in mind dat*serialdump-linux*, which is in the path, is not a folder

[Tutor] connecting to USB

2012-06-06 Thread BILAL Mustapha
Hello, I am working to connect to a serial link (USB). In order to do that I have to write this command: sudo ../../tools/stm32w/serialdump-linux -b115200 -d1 (keeping in mind dat*serialdump-linux*, which is in the path, is not a folder, it's an executable) To get to the root, I have

Re: [Tutor] error_connection_refused

2012-06-06 Thread BILAL Mustapha
Hello, Thank you for your reply. Please read underlines. Le 05/06/2012 23:12, Alan Gauld a écrit : On 05/06/12 12:53, BILAL Mustapha wrote: Hello, Hi, Its best not to hijack somebody else's thread coz it messes up all the threaded mail/news readers out there. (At least you change

[Tutor] error_connection_refused

2012-06-05 Thread BILAL Mustapha
Hello, I am trying to lunch a small python program but I am always getting this error: s.connect((IP, PORT)) File "/usr/lib/python2.7/socket.py", line 224, in meth return getattr(self._sock,name)(*args) socket.error: [Errno 111] Connection refused What's weird that it doesn't even prin

Re: [Tutor] packets_USB_python

2012-06-04 Thread BILAL Mustapha
Le 04/06/2012 16:10, Alan Gauld a écrit : On 04/06/12 14:58, BILAL Mustapha wrote: - Process 2 receives icmpv6 (or any packet) from process1 and retransmit it to a serial link (USB) - Process 2 receives icmpv6 (or any packet) from the serial link (USB) and restransmit it to process 1. Oddly

[Tutor] packets_USB_python

2012-06-04 Thread BILAL Mustapha
Hello, I am beginner with python and I recently started to use it in order to achieve a small part of something I am working on. I have 2 processes (process 1 and process 2). I am wondering if you can provide me with some example or sample code of how I can do the following: - Process 2