Patent ID: 8582591

Claim:
A method for improving wireless devices, the method comprising: in a first wireless mobile peer communication device: establishing a connection to a mesh network that comprises a plurality of wireless mobile peer communication devices when said first wireless mobile peer communication device is in operating proximity of one or more other wireless mobile peer communication devices in said mesh network, wherein, in said mesh network, the first wireless mobile peer communication device is capable of serving as a relay for said other wireless mobile peer communication devices, wherein a message is routed through the mesh network, from one wireless mobile peer communication device to another wireless mobile peer communication device, until a destination is reached; determining availability of queuing resources within said first wireless mobile peer communication device for queuing of received data sent from another wireless mobile peer communication device and destined to be forwarded to one or more remaining wireless mobile peer communication devices in said mesh network; and queuing in said first wireless mobile peer communication device based on said determined availability of said queuing resources, said received data sent from another wireless mobile peer communication device and destined to be forwarded to said one or more remaining wireless mobile peer communication devices in said mesh network, wherein a size limit for said received data that is allowed to be queued is further determined based on said determined availability of said queuing resources when the availability of said queuing resources is determined to be currently available for storing said received data sent from another wireless mobile peer communication device and destined to be forwarded to one or more remaining wireless mobile peer communication devices in said mesh network, wherein said received data is discarded when the availability of said queuing resources is determined to not be currently available for storing said received data sent from another wireless mobile peer communication device and destined to be forwarded to one or more remaining wireless mobile peer communication devices in said mesh network.