[Tinyos-contrib-commits]
CVS: tinyos-1.x/contrib/rincon/apps/Blackbook5/apps/BlackbookDictionaryConnect
BlackbookDictionaryConnectM.nc, 1.1,
1.2 BlackbookDictionaryConnect.h, 1.1, 1.2
dmm
rincon at users.sourceforge.net
Thu Sep 28 10:32:19 PDT 2006
Update of /cvsroot/tinyos/tinyos-1.x/contrib/rincon/apps/Blackbook5/apps/BlackbookDictionaryConnect
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv14770/contrib/rincon/apps/Blackbook5/apps/BlackbookDictionaryConnect
Modified Files:
BlackbookDictionaryConnectM.nc BlackbookDictionaryConnect.h
Log Message:
Updated to Blackbook v.5.2
Index: BlackbookDictionaryConnectM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/rincon/apps/Blackbook5/apps/BlackbookDictionaryConnect/BlackbookDictionaryConnectM.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BlackbookDictionaryConnectM.nc 18 May 2006 22:34:20 -0000 1.1
--- BlackbookDictionaryConnectM.nc 28 Sep 2006 17:32:13 -0000 1.2
***************
*** 159,163 ****
if((nodeTosPtr = call NodeTransceiver.requestWrite()) != NULL) {
nodeOutMsg = (BlackbookNodeMsg *) nodeTosPtr->data;
! memcpy(&nodeOutMsg->focusedNode, call NodeMap.getNodeAtIndex(inMsg->focusedNode.state), sizeof(node));
call NodeTransceiver.sendUart(sizeof(BlackbookNodeMsg));
}
--- 159,163 ----
if((nodeTosPtr = call NodeTransceiver.requestWrite()) != NULL) {
nodeOutMsg = (BlackbookNodeMsg *) nodeTosPtr->data;
! memcpy(&nodeOutMsg->focusedNode, call NodeMap.getNodeAtIndex(inMsg->focusedNode.state), sizeof(flashnode));
call NodeTransceiver.sendUart(sizeof(BlackbookNodeMsg));
}
***************
*** 488,491 ****
--- 488,493 ----
}
+ event void BDictionary.totalKeys(uint16_t totalKeys) {
+ }
/***************** Functions ****************/
Index: BlackbookDictionaryConnect.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/rincon/apps/Blackbook5/apps/BlackbookDictionaryConnect/BlackbookDictionaryConnect.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** BlackbookDictionaryConnect.h 18 May 2006 22:34:20 -0000 1.1
--- BlackbookDictionaryConnect.h 28 Sep 2006 17:32:13 -0000 1.2
***************
*** 35,39 ****
typedef struct BlackbookNodeMsg {
! struct node focusedNode;
} BlackbookNodeMsg;
--- 35,39 ----
typedef struct BlackbookNodeMsg {
! struct flashnode focusedNode;
} BlackbookNodeMsg;
More information about the Tinyos-contrib-commits
mailing list