simulating WSN using C++

Hi

sorry for my poor english

I have a project in Wireless Sensor Networks
I defined the sensors by using 2d Array
now, How can I define a mobile sink?
( mobile sink is responsible about collecting the data from the sensors?

also, what is the appropriate approach or technique for generate a key pair between the sink and each sensor node?

I appreciate your helping

Thank you
Topic archived. No new replies allowed.