ev3duder  0.3.0
EV3 Downloader/Uploader
packets.c File Reference

contains inital values for all these packets More...

#include "packets.h"

Go to the source code of this file.

Variables

const BEGIN_DOWNLOAD BEGIN_DOWNLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x92 }
 
const CONTINUE_DOWNLOAD CONTINUE_DOWNLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x93}
 
const CONTINUE_DOWNLOAD_REPLY CONTINUE_DOWNLOAD_REPLY_SUCCESS = {.packetLen = 6, .type = 0x03, .cmd = 0x93, .ret = 0x08}
 
const BEGIN_UPLOAD BEGIN_UPLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x94 }
 
const CONTINUE_UPLOAD CONTINUE_UPLOAD_INIT = { .hidLayer = 0x00, .packetLen = sizeof (CONTINUE_UPLOAD) - PREFIX_SIZE, .replyType = 0x01, .cmd = 0x95}
 
const LIST_FILES LIST_FILES_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x99 }
 
const CONTINUE_LIST_FILES CONTINUE_LIST_FILES_INIT = {.hidLayer =0x00, .packetLen =7, .replyType = 0x01, .cmd = 0x9A}
 
const BEGIN_GETFILE BEGIN_GETFILE_INIT = {.hidLayer =0x00, .replyType = 0x01, .cmd = 0x96 }
 
const CREATE_DIR CREATE_DIR_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9B }
 
const DELETE_FILE DELETE_FILE_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9C }
 
const BLUETOOTHPIN BLUETOOTHPIN_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9F}
 
const ENTERFWUPDATE ENTERFWUPDATE_INIT = {.hidLayer = 0x00, .replyType = 0x00, .cmd = 0xA0}
 
const EXECUTE_FILE EXECUTE_FILE_INIT = {.hidLayer = 0x00, .replyType = 0x00, .alloc = 0x0800}
 
const VM_REPLY EXECUTE_FILE_REPLY_SUCCESS = {.packetLen = 3, .replyType = 0x02}
 

Detailed Description

contains inital values for all these packets

Author
Ahmad Fatoum

Definition in file packets.c.

Variable Documentation

const BEGIN_DOWNLOAD BEGIN_DOWNLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x92 }

Definition at line 10 of file packets.c.

const BEGIN_GETFILE BEGIN_GETFILE_INIT = {.hidLayer =0x00, .replyType = 0x01, .cmd = 0x96 }

Definition at line 31 of file packets.c.

const BEGIN_UPLOAD BEGIN_UPLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x94 }

Definition at line 19 of file packets.c.

const BLUETOOTHPIN BLUETOOTHPIN_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9F}

Definition at line 40 of file packets.c.

const CONTINUE_DOWNLOAD CONTINUE_DOWNLOAD_INIT = { .hidLayer = 0x00, .replyType = 0x01, .cmd = 0x93}

Definition at line 13 of file packets.c.

const CONTINUE_DOWNLOAD_REPLY CONTINUE_DOWNLOAD_REPLY_SUCCESS = {.packetLen = 6, .type = 0x03, .cmd = 0x93, .ret = 0x08}

Definition at line 16 of file packets.c.

const CONTINUE_LIST_FILES CONTINUE_LIST_FILES_INIT = {.hidLayer =0x00, .packetLen =7, .replyType = 0x01, .cmd = 0x9A}

Definition at line 28 of file packets.c.

const CONTINUE_UPLOAD CONTINUE_UPLOAD_INIT = { .hidLayer = 0x00, .packetLen = sizeof (CONTINUE_UPLOAD) - PREFIX_SIZE, .replyType = 0x01, .cmd = 0x95}

Definition at line 22 of file packets.c.

const CREATE_DIR CREATE_DIR_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9B }

Definition at line 34 of file packets.c.

const DELETE_FILE DELETE_FILE_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x9C }

Definition at line 37 of file packets.c.

const ENTERFWUPDATE ENTERFWUPDATE_INIT = {.hidLayer = 0x00, .replyType = 0x00, .cmd = 0xA0}

Definition at line 43 of file packets.c.

const EXECUTE_FILE EXECUTE_FILE_INIT = {.hidLayer = 0x00, .replyType = 0x00, .alloc = 0x0800}

Definition at line 46 of file packets.c.

const VM_REPLY EXECUTE_FILE_REPLY_SUCCESS = {.packetLen = 3, .replyType = 0x02}

Definition at line 49 of file packets.c.

const LIST_FILES LIST_FILES_INIT = {.hidLayer = 0x00, .replyType = 0x01, .cmd = 0x99 }

Definition at line 25 of file packets.c.