ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Examples / common / common.h
1 // ----------------------------------------------
2 //
3 //  Author : <sylvain.gaeremynck@parrot.fr>
4 //  Date   : 03/01/2007
5 //
6 //  Parrot Video SDK : Examples/common
7 //
8 // ----------------------------------------------
9
10 #ifndef _COMMON_H_
11 #define _COMMON_H_
12
13 #define BTADDR_SERVER   /* "AE:11:A5:22:DE:DE" */ "00:0A:3A:6B:DB:B9"
14 #define BTADDR_SCN      9
15 #define BTADDR_PORT     5555
16
17 #define SERVERHOST      "192.168.2.2"
18 #define CLIENTHOST      "192.168.2.1"
19 #define LOCALHOST       "192.168.2.2"
20 #define SUBMASK         "255.255.255.0"
21
22 #define PIN_CODE        "1234"
23
24 #ifdef _WIN32
25 #define DEVICENAME      "Bluetooth Network"
26 #endif
27
28 #ifdef __linux__
29 #define DEVICENAME      "hci0"
30 #endif
31
32 #include <VP_Os/vp_os_types.h>
33
34 void deviceinquiry_df(bdaddr_t* address,const char* name);
35 void adapterinquiry_df(const char* name);
36
37 #endif // _COMMON_H_