SmartGateway for wsn on wince