1. 当接收方调用RFM2gWaitForEvent函数后,将挂起当前线程。直到有事件发生或
等待超时才能恢复,因此接收部分的代码应采用多线程编程; 2. RFM2gSendEvent需要指定接收设备的NodeID,该参数由板卡上的跳线决定(Each
RFM2g device on an RFM2g network is uniquely identified by its node ID, which is manually set by jumpers on the device when the RFM2g network is installed. The driver determines the node ID when the device is initialized)。本机的NodeID可以通过API RFM2gNodeID获取;如果采取广播方式,则参数NodeID应指定为宏定义RFM2G_NODE_ALL; 3. 数据读写有两种方式:直接读写和内存映射。直接读写的相关函数有:RFM2gRead