X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2FDeluge%2FFlashVolumeManager%2FFlashVolumeManagerP.nc;fp=tos%2Flib%2Fnet%2FDeluge%2FFlashVolumeManager%2FFlashVolumeManagerP.nc;h=c728b11faf15da81030cff2baa12a35b02f2aabe;hb=36379087c4459259cb05c00f0b9f125adf7b7266;hp=bf29d2b3bc273eaede1bf54402c11d6dbb922526;hpb=83ce21e0fe78d87c918df5acd17955749b99cfeb;p=tinyos-2.x.git diff --git a/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc b/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc index bf29d2b3..c728b11f 100644 --- a/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc +++ b/tos/lib/net/Deluge/FlashVolumeManager/FlashVolumeManagerP.nc @@ -223,6 +223,12 @@ implementation signal ReprogNotify.notify(img_num); sendReply(SUCCESS, sizeof(SerialReplyPacket)); break; + case SERIALMSG_IDENT: + // This is not send using nx_uint32 in order to maintain + // consistency with data from the Deluge image. + *(uint32_t*)(&serialMsg_payload->data) = IDENT_UID_HASH; + sendReply(SUCCESS, sizeof(SerialReplyPacket) + 4); + break; #endif } } else {