Example #1
0
	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;
	}
Example #2
0
int my_send(COMMCTX* ctx, char* buf, int len) {
	return phy_send(ctx, buf, len);
}
Example #3
0
	bool phy_send(uint8_t byte) {
		uint8_t data[] = { byte };
		return phy_send(data, 1);
	}
Example #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);
}