#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>
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 FLASH_SIZE (FLASH_PAGE_SIZE * (FLASH_MAX_PAGENO + 1) / 2) |
Definition at line 55 of file upload_mcs.cpp.
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.
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.