Lines Matching refs:radio
42 System.out.println("to query the radio configuration and output it. NOTE: the");
43 System.out.println("radio must be in CONFIG mode for this to work.");
46 System.out.println("another radio.");
51 // Instantiate a HMTRP radio device on uart 0
52 upm_hmtrp.HMTRP radio = new upm_hmtrp.HMTRP(0);
55 if (!radio.setupTty()) {
61 // By default, this radio simply transmits data sent via writeData()
71 // configuration query and output the results. The radio must be in·
83 if (radio.getConfig(freq, dataRate, rxBandwidth, modulation, txPower, uartBaud)) {
84 System.out.println("Radio configuration:");
90 System.err.println("getConfig() failed. Make sure the radio is in CONFIG mode.");
103 if (radio.dataAvailable()) {
104 int rv = radio.readData(radioBuffer);
124 radio.writeData(hello);