[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/handhelds/tos/interfaces Bluetooth.nc, 1.1, 1.2

steve ayer ayer1 at users.sourceforge.net
Mon Mar 19 12:20:41 PDT 2007


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

Modified Files:
	Bluetooth.nc 
Log Message:

added to interface setServiceClass, setDeviceClass; added comments to same

Index: Bluetooth.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/handhelds/tos/interfaces/Bluetooth.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Bluetooth.nc	9 Mar 2007 20:18:49 -0000	1.1
--- Bluetooth.nc	19 Mar 2007 19:20:38 -0000	1.2
***************
*** 55,64 ****
     command result_t connect(uint8_t * addr);
  
!    command void setRadioMode(uint8_t mode);
     command void setDiscoverable(bool disc);
     command void setEncryption(bool enc);
     command void setAuthentication(bool auth);
!    command void setName(char * name);
!    command void setPIN(char * name);
     command void resetDefaults();
  
--- 55,68 ----
     command result_t connect(uint8_t * addr);
  
!    // enum SLAVE_MODE, MASTER_MODE, TRIGGER_MASTER_MODE, AUTO_MASTER_MODE
!    command void setRadioMode(uint8_t mode);           
! 
     command void setDiscoverable(bool disc);
     command void setEncryption(bool enc);
     command void setAuthentication(bool auth);
!    command void setName(char * name);                  // max 16 chars
!    command void setPIN(char * name);                   // max 16 chars
!    command void setServiceClass(char * class);         // max 4 chars (hex word)
!    command void setDeviceClass(char * class);         // max 4 chars (hex word)
     command void resetDefaults();
  



More information about the Tinyos-contrib-commits mailing list