public boolean sendPocsagMessage(PocsagMessage message) {
		
		String tmp;
		
		
		if (serialPort == null ) {
			serialPort = openConnection(Config.btsPort, Config.btsBauds);
			if (serialPort == null) {
				return true;
			}
				
		}
		
		try {
			BufferedReader in = new BufferedReader(new InputStreamReader(serialPort.getInputStream()));
			PrintStream out = new PrintStream(serialPort.getOutputStream());
			
			out.println("CONFIG FREQ " + message.getFrequency());
			System.out.println("CONFIG FREQ " + message.getFrequency());
			tmp = in.readLine();
			if ("OK".equals(tmp) == false) { 
				throw new IOException("Imposible to set the frequency " + message.getFrequency());
			}
			
			out.println("CONFIG BAUDS " + message.getBauds());
			System.out.println("CONFIG BAUDS " + message.getBauds());
			tmp = in.readLine();
			if ("OK".equals(tmp) == false) { 
				throw new IOException("Imposible to set the baud rate " + message.getBauds());
			}
			
			String s = "SEND " + message.getMsgType().toString().charAt(0) + " " + message.getRIC() + " " + message.getMessage();
			out.println(s);
			System.out.println(s);
			
			
			// Skip the debug info with the data sent through the radio interface and search for the OK
			while ((tmp = in.readLine()) != null)
			if ("OK".equals(tmp) == true) { 
				break;
			}
			if (tmp == null)
				throw new IOException("Imposible to send command " + s);
			
			
			
		} catch (Exception e) {
			LOGGER.severe("Error sending data to BTS: " + e);
		} finally {
			closeConnection();
		}
	
		return false;
		
	}