00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef WaspBTConstants_h
00025 #define WaspBTConstants_h
00026
00027
00028 #define BT_SERVICE_NAME "LIBELIUM"
00029 #define BT_SERVICE_CHANNEL 2
00030 #define BT_SERVICE_COD "111111"
00031
00032
00033 #define BT_SECURITY_PREDEFINED 1
00034 #define BT_SECURITY_NONE 2
00035 #define BT_SECURITY_ON_DEMAND 3
00036 #define BT_PIN "1111"
00037
00038
00039 #define BT_AUTO_ACC 1
00040 #define BT_MANUAL_ACC 0
00041
00042
00043 #define BT_NO_DISC 0
00044 #define BT_INQ_EN 1
00045 #define BT_PAGE_EN 2
00046 #define BT_DISCOVERABLE 3
00047
00048
00049 #define BT_PUBLIC_NAME "waspmote_bt"
00050
00051
00052 #define BT_MAX_DEVICES 8
00053
00054
00055 #define BT_MAX_DATA 400
00056
00057
00058 #define BT_AT_SECURITY "AT+JSEC="
00059 #define BT_AT_PUBLIC_NAME "AT+JSLN="
00060 #define BT_AT_AUTO_ACCEPT "AT+JAAC="
00061 #define BT_AT_DISCOV_OPT "AT+JDIS="
00062 #define BT_AT_PIN_REQUEST "AT+JPCR="
00063 #define BT_AT_ACCEPT_CONN "AT+JACR="
00064 #define BT_AT_SERVICE_PAR "AT+JRLS="
00065 #define BT_AT_RESET "AT+JRES"
00066 #define BT_AT_DISCOVER "AT+JDDS="
00067 #define BT_AT_DISCOVER_DEV "AT+JSDS="
00068 #define BT_AT_CONNECT "AT+JCCR="
00069 #define BT_AT_OWN_MAC "AT+JRBD="
00070 #define BT_AT_DELETE_TD "AT+JRTD="
00071 #define BT_AT_SEND_DATA "AT+JSDA="
00072 #define BT_AT_DISCONNECT "AT+JSDR"
00073 #define BT_AT_STREAM_CONN "AT+JSCR"
00074
00075
00076 #endif