How we want to communicate between WSN motes and computers will determine what kind of communication model we use. As we know, each WSN mote usually has network capability so it can exchange data with WSN motes and computers.
A communication model for Contiki-NG. Some WSN motes have the capability to connect to servers directly, but other motes may not, so those motes use a hub/gateway/middleware
to communicate with servers.