implement explicitHeader/implicitHeader
This commit is contained in:
parent
7ab5bf7328
commit
28671fb01a
1 changed files with 8 additions and 0 deletions
|
@ -1170,6 +1170,14 @@ uint32_t SX126x::getTimeOnAir(size_t len) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int16_t implicitHeader() {
|
||||||
|
return setHeaderType(SX126X_LORA_HEADER_IMPLICIT);
|
||||||
|
}
|
||||||
|
|
||||||
|
int16_t explicitHeader() {
|
||||||
|
return setHeaderType(SX126X_LORA_HEADER_EXPLICIT);
|
||||||
|
}
|
||||||
|
|
||||||
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
|
int16_t SX126x::setTCXO(float voltage, uint32_t delay) {
|
||||||
// set mode to standby
|
// set mode to standby
|
||||||
standby();
|
standby();
|
||||||
|
|
Loading…
Add table
Reference in a new issue