notes/9100a IP Camera Server Notes-wUwzw8Bu.sh
Helpful sites:
http://www.benlo.com/ip9100a/
http://www.campworld.net/thewiki/pmwiki.php/HWHacking/Aviosys9100


Get Image:
http://192.168.1.3/Jpeg/CamImg.jpg

Stream Video:
vlc http://192.168.1.3/GetData.cgi

Change Resolution:
http://URL/ChangeResolution.cgi?ResType=3

Choose Input (0-3):
http://192.168.1.3/SetChannel.cgi?Channel=0


Others:
GetStatus.cgi 
GetChannel.cgi 
GetCapability.cgi

Code to retrieve images
--------------------------------
#!/bin/sh


while [ 1 ];
do

    x="$(date +"%m-%d-%y-%H")"
    [ ! -d "$x" ]&& mkdir "$x"

    wget -q "http://192.168.1.180/Jpeg/CamImg.jpg" -O "$x/$(date +%s).jpg"
    sleep 2 
done
--------------------------------

Serial/UART 
==================
32 bit ARM7TDMI-based CPU, 8MB of DRAM and 2MB of flash ROM
---------------------------------
Pinout:
Grnd ----------------
Rx ----------------
Tx ---------------
5v ---------------
##5v needs to be connected


---------------screen command to connect --------------------
screen /dev/ttyUSB0 115200
Or 
screen /dev/ttyUSB0 115200,cs8,-parenb,-cstopb,-hupcl

==============image files for FLASHING========
#http://support.yoics.com/files/9100_repair/

#TO FLASH filesystem

#press ‘ESC’ while bootloader starts

#press ‘h’ for help
#you can delete a partition with this command,
#but the ft command will do it anyway, so no need to
del 6


#make sure the network cable is connected and:

ft 6 romfs 0x7f0c0000 0x7f0c0000 -a 
#this will delete the partition and start an FTP server on the device
#now connect from your desktop computer like so

tftp 192.168.1.180 #use the ip address of the 9100a

  tftp> binary
  tftp> put romfs.img
  Sent 1001472 bytes in 1.5 seconds
  tftp> quit

#now back in serial terminal

boot

syntax highlighted by Code2HTML, v. 0.9.1