[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/apps/AccessPoint/daemon zattach.c, 1.2, 1.3

steve ayer ayer1 at users.sourceforge.net
Thu Aug 3 12:16:51 PDT 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/AccessPoint/daemon
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16969/apps/AccessPoint/daemon

Modified Files:
	zattach.c 
Log Message:

added shimmer platform, including programming mods to bsl.py
interface and lib updates to DMA->ADC machinery, test code
added SD lib module, test code
updates telos_ap.c/Makefile to handle old (pre-2.6.15) and new kernel ip api 
commented out interrupt flag clearing in setmodespi in hplusart[0-1]m.nc, because this breaks some spi comm initializations
added telosb platform to handle interface skew between new (shimmer) and old (telosb) platforms


Index: zattach.c
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/apps/AccessPoint/daemon/zattach.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** zattach.c	18 Aug 2005 12:15:29 -0000	1.2
--- zattach.c	3 Aug 2006 19:16:49 -0000	1.3
***************
*** 49,52 ****
--- 49,53 ----
  #include <termios.h>
  #include <unistd.h>
+ #include <string.h>
  
  #include <sys/types.h>
***************
*** 642,646 ****
  
    addr_len = sizeof(rth->local);
!   if (getsockname(rth->fd, (struct sockaddr *)&rth->local, &addr_len) < 0) {
      perror("Can't get sockname");
      return -1;
--- 643,647 ----
  
    addr_len = sizeof(rth->local);
!   if (getsockname(rth->fd, (struct sockaddr *)&rth->local, (socklen_t *)&addr_len) < 0) {
      perror("Can't get sockname");
      return -1;



More information about the Tinyos-contrib-commits mailing list