KMK Electronic Notebook
Electronic Notebook
2010Oct06
Set up wiki pages. Met Xiao. Saw iPad.
2010Oct12
Customized mac mini dock
Tried compiling "Hello, world" application: NEED PASSWORD from user in group "Developer Tools"
2010Oct14
Looking over TELNET protocol specifications. Confused.
Investigating use of PuTTY or other TELNET client code. Equally confusing
NOTE: The PuTTY license gives total freedom to take, copy, and sell their code. Good news!
In Lab:
Assembled ethernet controller (8752) and intelligent driver (8753) on mount
Working on finding a C/Objective-C telnet library
-Looking into libcurl (http://curl.haxx.se/libcurl/)
2010Oct19
The new book is much better for Objective-C. Finally getting a decent grasp on what everything is here
Lots of reading ahead on the plane back to MI, then looking to write some code for practice.
May also put gobjc on my laptop for experimenting w/o nearby Mac.
2010Oct21
Working with networking code. It's all very confusing.
WireShark installed to allow me to see whether I'm sending network traffic.
WireShark can't capture because I can't run it as superuser.
Currently attempting to use Objective-C's built in streams for network communication.
Working with hand terminal:
-IP Address (dynamic): 141.211.198.201
-Hostname: monnierpico1.astro.lsa.umich.edu
Working with telnet:
-use chl <driver>=<motor> where driver is a1 through a31 and motor is 0,1, or 2 before trying to move motor
2010Oct26
telnetlib.py : a resource (possibly to use as a template for C)
http://www.koders.com/python/fid811ECD13FF344C935A679825C9AD2D03AACD6D0F.aspx
2010Oct28
Resources (I'll put the best ones outside this folder eventually)
- http://www.sciencedirect.com/science/book/9780123745408
- fromUMich Library
- http://developer.apple.com/library/ios/#referencelibrary/GettingStarted/GS_Networking_iPhone/
- Basic overview of iPhone networking + good links
- http://mobileorchard.com/tutorial-networking-and-bonjour-on-iphone/
- http://homepages.ius.edu/rwisman/C490/html/TCP.htm
- long, but good, detailed explanations, socket basics
- long, but good, detailed explanations, socket basics
Now have a simple client/server program that can exchange data between computers. The motor does not respond to the program yet, just to the telnet application. The program is in ~/Desktop/iOS/kevin/socketTesting/
http://cvsweb.netbsd.org/bsdweb.cgi/src/include/arpa/telnet.h?rev=1.11&content-type=text/x-cvsweb-markup
- found this a few minutes ago, and now I'm frustrated / confused as to why I haven't seen it before!
2010Nov02
- Seems like the python code merely sends the command with a newline. However, this doesn't seem to work with the C code.
- TO DO tomorrow/Thursday: implement a recv() in clientBackup.c so I can tell what the picomotor controller is sending back (if anything)
2010Nov04
- I can now send commands over the network via C! the client is located at /Users/monnierlab/Desktop/iOS Development/kevin/socketTesting/clientBackup.c
- after using CHL, use REL <driver>=<value> then GO a1
- Going to start moving the more useful stuff closer to the front of the wiki. I might also post clientBackup.c just in case. Also: I need to figure out whether I can ssh/vnc into this machine