bugfix
This commit is contained in:
parent
15709add91
commit
e9c033688b
|
@ -74,7 +74,7 @@
|
|||
#endif
|
||||
|
||||
/* TODO: This server address is hard-coded for Cooja. */
|
||||
#define SERVER_NODE(ipaddr) uip_ip6addr(ipaddr, 0xfe80, 0, 0, 0, 0x0221, 0x2eff, 0xff00, 0x26D0) /* cooja2 */
|
||||
#define SERVER_NODE(ipaddr) uip_ip6addr(ipaddr, 0xfe80, 0, 0, 0, 0x0221, 0x2eff, 0xff00, 0x270d) /* cooja2 */
|
||||
|
||||
#define LOCAL_PORT UIP_HTONS(COAP_DEFAULT_PORT+1)
|
||||
#define REMOTE_PORT UIP_HTONS(COAP_DEFAULT_PORT)
|
||||
|
@ -127,7 +127,7 @@ PROCESS_THREAD(coap_client_example, ev, data)
|
|||
/* send a request to notify the end of the process */
|
||||
|
||||
PRINTF("--Toggle --\n");
|
||||
//leds_toggle(LEDS_RED);
|
||||
leds_toggle(LEDS_RED);
|
||||
/* prepare request, TID is set by COAP_BLOCKING_REQUEST() */
|
||||
|
||||
coap_init_message(request, COAP_TYPE_CON, COAP_POST, 0 );
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
//#define PARAMETER_STORAGE 2
|
||||
#define PARAMETER_STORAGE 2
|
||||
#else
|
||||
//#define PARAMETER_STORAGE 1
|
||||
#define PARAMETER_STORAGE 0
|
||||
#define PARAMETER_STORAGE 1
|
||||
//#define PARAMETER_STORAGE 0 // get mac form boolaoder, need bootlaoder bonsai, PARAMETER_STORAGE 0
|
||||
#endif
|
||||
|
||||
/* Include settings.h, then dummy out the write routines */
|
||||
|
@ -81,7 +81,7 @@ extern uint8_t eemem_domain_name[30];
|
|||
#if UIP_CONF_LL_802154
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN, 0xNN}
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0x00, 0x00, 0xff, 0xfe, 0x00, 0x00, 0x01}
|
||||
#define PARAMS_EUI64ADDR {0x00, 0x21, 0x2e, 0xff, 0xff, 0x00, 0x26, 0xd0}
|
||||
#define PARAMS_EUI64ADDR {0x00, 0x21, 0x2e, 0xff, 0xff, 0x00, 0x27, 0x0d}
|
||||
//#define PARAMS_EUI64ADDR {0x00, 0x21, 0x2e, 0xff, 0xff, 0x00, 0x1E, 0xFB}
|
||||
#else
|
||||
//#define PARAMS_EUI64ADDR {0x02, 0xNN, 0xNN, 0xff, 0xfe, 0xNN, 0xNN, 0xNN}
|
||||
|
|
Loading…
Reference in a new issue