diff --git a/examples/z1/example2/example-unicast2.c b/examples/z1/example2/example-unicast2.c index 85555fe5c..10ec10c33 100644 --- a/examples/z1/example2/example-unicast2.c +++ b/examples/z1/example2/example-unicast2.c @@ -66,7 +66,7 @@ PROCESS_THREAD(example_unicast_process, ev, data) PROCESS_BEGIN(); - unicast_open(&uc, 133, &unicast_callbacks); + unicast_open(&uc, 199, &unicast_callbacks); while(1) { static struct etimer et; @@ -76,12 +76,12 @@ PROCESS_THREAD(example_unicast_process, ev, data) PROCESS_WAIT_EVENT_UNTIL(etimer_expired(&et)); - packetbuf_copyfrom("Enric Here!", 12); - addr.u8[0] = 200; - addr.u8[1] = 0; - if(!rimeaddr_cmp(&addr, &rimeaddr_node_addr)) { - unicast_send(&uc, &addr); - } + //packetbuf_copyfrom("Enric Here!", 12); + //addr.u8[0] = 200; + //addr.u8[1] = 0; + //if(!rimeaddr_cmp(&addr, &rimeaddr_node_addr)) { + //unicast_send(&uc, &addr); + //} } diff --git a/platform/z1/Makefile.common b/platform/z1/Makefile.common index 3596a352b..07d048aa0 100644 --- a/platform/z1/Makefile.common +++ b/platform/z1/Makefile.common @@ -12,7 +12,8 @@ ARCH=msp430.c leds.c watchdog.c xmem.c \ node-id.c sensors.c button-sensor.c cfs-coffee.c \ radio-sensor.c uart0x.c uart0-putchar.c uip-ipchksum.c \ checkpoint-arch.c slip.c slip_uart0.c \ - z1-phidgets.c sht11.c sht11-sensor.c light-sensor.c battery-sensor.c sky-sensors.c + z1-phidgets.c sht11.c sht11-sensor.c light-sensor.c \ + battery-sensor.c sky-sensors.c tmp102.c CONTIKI_TARGET_DIRS = . dev apps net ifndef CONTIKI_TARGET_MAIN