Commit graph

53 commits

Author SHA1 Message Date
jgromes
915f3780cc Reworked directory structure 2019-11-20 17:19:15 +01:00
jgromes
cd1c799a64 Updated macro names 2019-11-20 16:22:50 +01:00
jgromes
3db5134367 [SX126x] Fixed wakeup sequence - NSS first, BUSY second (#69) 2019-11-14 21:11:17 +01:00
Jan Gromeš
3dc3c92b19
Merge pull request #61 from BarryPSmith/sx1262_paclamping
Implemented TX PA Clamping, datasheet section 15.2
2019-11-13 19:10:23 +01:00
BarryPSmith
b8b05262bc Added PA Clamping fix to FSK and SX1268 2019-11-13 07:36:18 -08:00
Jan Gromeš
1ea77c9325
Merge pull request #64 from BarryPSmith/sx126x_noMemAllocations
Removed memory allocation and copying from SX126X
2019-11-13 15:43:42 +01:00
BarryPSmith
fb872dd413 Comment and error checking cleanup.
Fixed power adjustment for SX1261
2019-11-13 05:02:22 -08:00
BarryPSmith
25f4e775c9 Removed memory allocation and copying from SX126X read* and write* functions 2019-11-12 13:01:50 -08:00
BarryPSmith
621da8a11d Implemented optimal PA settings for SX1268.
Ensured OCP is always restored when changing power.
Slight refactor to avoid duplicated SX1262 / SX1268 code.
2019-11-12 10:28:14 -08:00
jgromes
b5f273b187 [SX126x] Moved debug output out of SPI transaction 2019-11-08 09:29:00 +01:00
jgromes
2c2fe8b20e [SX126x] Simplified debug output 2019-10-28 19:37:13 +01:00
jgromes
b8128c15a6 [SX126x] Moved standby call to readData 2019-10-02 19:34:48 +02:00
jgromes
f3ba8cf86a [SX126x] Fixed missing standby in blocking receive 2019-10-02 18:58:46 +02:00
jgromes
adcde6fb6c Added option to use only static allocations 2019-09-28 12:49:44 +02:00
jgromes
1ddc54c229 [SX126x] Added SX126X_STATUS_SPI_FAILED 2019-09-28 12:22:31 +02:00
jgromes
9ae3a22894 [SX126x] Fixed presence check 2019-09-28 11:58:06 +02:00
jgromes
c093d34c91 Updated debug macros 2019-09-28 10:30:50 +02:00
jgromes
5cf9c50b01 [SX126x] Added module presence check (#48) 2019-09-28 08:52:02 +02:00
mmrein
4388cfa06f SX126x whitening: solved 7 MSBs
Proper handling of the datasheet note for Whitening MSB register: "The user should not change the value of the 7 MSB's of this register"
2019-09-20 11:40:50 +02:00
mmrein
ad8c234343 SX126x FSK: Implement setWhitening method
Add setWhitening method for FSK modem for possibility to disable whitening (default enabled) or change whitening initial value.
2019-09-19 23:09:02 +02:00
mmrein
86ca029023
Update SX126x.cpp 2019-09-16 19:25:35 +02:00
mmrein
1046db24e4 Add setSyncBits for SX126x
Add setSyncBits for possibility to set the sync word length in bits
2019-09-12 10:16:36 +02:00
jgromes
a04a376afc [SX126x] Fixed waiting for BUSY pin in sleep mode (#42) 2019-09-11 12:29:02 +02:00
jgromes
629ac5585a [SX126x] Added method to get expected time-on-air 2019-07-26 09:43:24 +02:00
jgromes
ea1e6fea68 [SX126x] Added BUSY timeout 2019-07-07 19:48:55 +02:00
jgromes
b0cd4b5125 [SX126x] Removed redundant null terminator 2019-07-02 19:52:26 +02:00
jgromes
bd21ddb7d8 [SX126x] Fixed incorrect parameters 2019-06-22 16:50:44 +02:00
jgromes
e1c79af18b [SX126x] Added OCP config reset 2019-06-22 16:37:57 +02:00
jgromes
5527573692 [SX126x] Implemented getPacketLength 2019-06-16 14:34:19 +02:00
jgromes
eddf96bbb2 [SX126x] Changed CAD to only use DIO1 (#19) 2019-06-07 10:05:40 +02:00
jgromes
c9b68163d5 [SX126x] Added notes about DIO2 RF control 2019-06-04 10:13:04 +02:00
Bernd Giesecke
b8b20a3753 Corrected bug.
Signed-off-by: Bernd Giesecke <bernd@giesecke.tk>
2019-06-04 15:38:42 +08:00
Bernd Giesecke
8c0a7a2ea3 Moved DIO2 setting into begin()/beginFSK()
Signed-off-by: Bernd Giesecke <bernd@giesecke.tk>
2019-06-04 15:35:24 +08:00
Bernd Giesecke
23b0b9b25a Moved setDio2AsRfSwitch() from module to SX126x
Added new error code
Removed memory leak

Signed-off-by: Bernd Giesecke <bernd@giesecke.tk>
2019-06-04 14:28:33 +08:00
Bernd Giesecke
8fc323a900 Add function to set DIO2 of SX126x chips to be used as RF antenna switch (based on example design of Semtech and used in many modules).
This breaks the CAD function as DIO2 cannot be used as IRQ output.

Signed-off-by: Bernd Giesecke <bernd@giesecke.tk>
2019-06-04 13:13:00 +08:00
jgromes
5c2bd2bc32 [SX126x] Added SX1268 implementation 2019-06-03 10:41:39 +02:00
jgromes
ba5522981d [SX126x] Added debug output 2019-06-02 16:23:07 +02:00
jgromes
fe54a30819 [SX126x] Added missing length check 2019-06-01 20:46:55 +02:00
jgromes
ee7697e6dc [SX126x] Added standby overload 2019-05-28 19:22:22 +02:00
jgromes
6a4634fbb2 [SX126x] Added automatic block calibration 2019-05-21 13:41:13 +02:00
jgromes
943f591e92 [SX126x] Added status check for SPI transactions 2019-05-21 13:20:49 +02:00
jgromes
9d34a7aede [SX126x] Added FSK modulation parameters check 2019-05-21 11:19:16 +02:00
jgromes
e445888510 [SX126x] Fixed incorrect modem check 2019-05-21 11:05:24 +02:00
jgromes
e1f003f8f6 Added missing semicolons 2019-05-20 08:54:04 +02:00
jgromes
ccaf51a915 [SX126x] Added TCXO control method 2019-05-20 08:49:05 +02:00
jgromes
9f68933d0c [SX126x] Fixed warnings 2019-05-19 16:17:25 +02:00
jgromes
f0b9841cf6 [SX126x] Added FSK rx/tx, interrupt methods and CAD 2019-05-18 13:27:43 +02:00
jgromes
606e841aca [SX126x] Added RTTY support 2019-05-15 17:20:20 +02:00
jgromes
cfdd921984 [SX126x] Implemented LoRa receive method 2019-05-14 18:34:43 +02:00
jgromes
58d3ca3984 [SX126x] Implemented LoRa transmit method 2019-05-13 15:05:02 +02:00