code: function sendStoredDeviceMessages( oWs, sDeviceAddress )
  {
  	db.query
  	(
  		"SELECT message_hash, message FROM device_messages WHERE device_address=? ORDER BY creation_date LIMIT 100",
  		[ sDeviceAddress ],
  		( arrRows ) =>
  		{
  			arrRows.forEach
  			(
  				( oRow ) =>
  				{
  					sendJustsaying
  					(
  						oWs,
  						'hub/message',
  						{
  							message_hash	: oRow.message_hash,
  							message		: JSON.parse( oRow.message )
  						}
  					);
  				}
  			);
  
  			sendInfo( oWs, arrRows.length + " messages sent" );
  			sendJustsaying( oWs, 'hub/message_box_status', ( arrRows.length === 100 ) ? 'has_more' : 'empty' );
  		}
  	);
  }
docs: ////////////////////////////////////////////////////////////////////////////// hub //////////////////////////////////////////////////////////////////////////////