[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/tos/lib/UIP ParamViewM.nc, 1.1, 1.2 WiredIPClientM.nc, 1.1, 1.2

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


Update of /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/UIP
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv16969/tos/lib/UIP

Modified Files:
	ParamViewM.nc WiredIPClientM.nc 
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: ParamViewM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/UIP/ParamViewM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ParamViewM.nc	29 Jul 2005 18:29:26 -0000	1.1
--- ParamViewM.nc	3 Aug 2006 19:16:50 -0000	1.2
***************
*** 111,114 ****
--- 111,115 ----
        case PARAM_TYPE_HEX8:
  	nchars = snprintf( out, len,"0x%02x", (*((int8_t *)p->ptr)) & 0x00ff);
+ 	break;
        case PARAM_TYPE_HEX16:
  	nchars = snprintf( out, len,"0x%04x", *((int16_t *)p->ptr));

Index: WiredIPClientM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/lib/UIP/WiredIPClientM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** WiredIPClientM.nc	29 Jul 2005 18:29:26 -0000	1.1
--- WiredIPClientM.nc	3 Aug 2006 19:16:50 -0000	1.2
***************
*** 88,91 ****
--- 88,94 ----
    command void     Client.insert_mac_address( struct Message *msg, uint8_t offset ) {}
    command int      Client.get_average_rssi() { return 0; }
+   command int      Client.get_ref_rssi() { return 0; }   // Return the reference RSSI value
+   command int      Client.get_channel() { return 1; }   // Return the channel number
+   command int      Client.get_pan_id() { return 1; }   // Return current pan id
  
    /*****************************************



More information about the Tinyos-contrib-commits mailing list