ev3duder  0.3.0
EV3 Downloader/Uploader
info.c File Reference

info function - beeps and prints info More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <hidapi/hidapi.h>
#include "tcp.h"
#include "ev3_io.h"
#include "defs.h"
#include "packets.h"
#include "error.h"
#include "funcs.h"

Go to the source code of this file.

Macros

#define MAX_STR   256
 

Functions

int info (const char *arg)
 cause a beep and print HID information if applicable More...
 

Detailed Description

info function - beeps and prints info

Author
Ahmad Fatoum

Definition in file info.c.

Macro Definition Documentation

#define MAX_STR   256

Definition at line 28 of file info.c.

Function Documentation

int info ( const char *  arg)

cause a beep and print HID information if applicable

print connection information, beep and exit

Return values
err_codeAn error code according to enum ERR
Bug:
needs more detailed information for bluetooth/wlan should print COM port, device name

Definition at line 36 of file info.c.