byteradio.java
来自「传感器网络操作系统contiki。 被广泛应用于环境检测、结构健康监测等等。包」· Java 代码 · 共 41 行
JAVA
41 行
package se.sics.cooja.interfaces;/** * A byte radio is able to transmit and receive radio data on a byte level. * * The byte radio is a lower abstraction level than the packet radio and should, * according to the bottom-up abstraction policy, implement the packet * abstraction level. * * @author Fredrik Osterlind */public interface ByteRadio extends PacketRadio { /** * Radio receives given byte. * * @param b * Byte * @param delay * Delay cycle information */ public void receiveByte(byte b, long delay); /** * @return Last byte transmitted by radio */ public byte getLastByteTransmitted(); /** * Returns number of cycles since last byte was transmitted. * * @return Timestamp info */ public long getLastByteTransmittedDelay(); /** * @return Last byte received by radio */ public byte getLastByteReceived();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?