upload_mcs.cpp File Reference

#include <assert.h>
#include <iostream>
#include <fstream>
#include <memory>
#include <string.h>
#include <stdlib.h>
#include <ros/time.h>
#include <wge100_camera/ipcam_packet.h>
#include <wge100_camera/host_netutil.h>
#include <wge100_camera/wge100lib.h>
#include <boost/format.hpp>
Include dependency graph for upload_mcs.cpp:

Go to the source code of this file.

Defines

#define FLASH_SIZE   (FLASH_PAGE_SIZE * (FLASH_MAX_PAGENO + 1) / 2)

Functions

void bitswap ()
int hexval (char c)
int main (int argc, char **argv)
int read_mcs (std::string fname)
int write_flash (char *camera_url)

Variables

uint8_t firmware [FLASH_SIZE]
int firmwarelen = 0

Define Documentation

#define FLASH_SIZE   (FLASH_PAGE_SIZE * (FLASH_MAX_PAGENO + 1) / 2)

Definition at line 55 of file upload_mcs.cpp.


Function Documentation

void bitswap (  ) 

Definition at line 199 of file upload_mcs.cpp.

int hexval ( char  c  ) 

Definition at line 59 of file upload_mcs.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 337 of file upload_mcs.cpp.

int read_mcs ( std::string  fname  ) 

Definition at line 73 of file upload_mcs.cpp.

int write_flash ( char *  camera_url  ) 

Definition at line 220 of file upload_mcs.cpp.


Variable Documentation

uint8_t firmware[FLASH_SIZE]

Definition at line 56 of file upload_mcs.cpp.

int firmwarelen = 0

Definition at line 57 of file upload_mcs.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wge100_camera
Author(s): Blaise Gassend, Patrick Mihelich, Eric MacIntosh, David Palchak
autogenerated on Fri Jan 11 09:52:26 2013