示例#1
0
文件: rfhw.cpp 项目: MadsGadeberg/P5
	bool phy_sendWait(const uint8_t buffer[], uint8_t len) {
		if(phy_send(buffer, len) == false)
			return false;
			
		while (phy_state != STATE_IDLE);
		return true;
	}
示例#2
0
文件: dummy_mod.c 项目: Greeshma/DFS
int my_send(COMMCTX* ctx, char* buf, int len) {
	return phy_send(ctx, buf, len);
}
示例#3
0
文件: rfhw.cpp 项目: MadsGadeberg/P5
	bool phy_send(uint8_t byte) {
		uint8_t data[] = { byte };
		return phy_send(data, 1);
	}
示例#4
0
uint16_t phy_send_cca(uint8_t* data, uint16_t length, uint16_t *timestamp) {
	// TODO real cca
	return phy_send(data, length, timestamp);
}