Commit graph

571 commits

Author SHA1 Message Date
Andrea Guglielmini
53893a6fe1 Merge remote-tracking branch 'upstream/master' 2019-11-18 17:03:11 +01:00
Andrea Guglielmini
7d7af7ac0b Variable PreambleLength for CC1101 2019-11-18 17:01:37 +01:00
jgromes
3db5134367 [SX126x] Fixed wakeup sequence - NSS first, BUSY second (#69) 2019-11-14 21:11:17 +01:00
jgromes
300e7f48fd Updated comments 2019-11-14 15:33:14 +01:00
Jan Gromeš
e48275e998
Merge pull request #66 from rfquack/master
Revisioned promiscious-mode implementation for CC1101 and RF69 #63
2019-11-13 19:18:20 +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
5acaf1dfb6 Fixed a conflict with return brackets. 2019-11-13 09:00:02 -08:00
BarryPSmith
b8b05262bc Added PA Clamping fix to FSK and SX1268 2019-11-13 07:36:18 -08:00
BarryPSmith
078641d64d Implemented TX PA Clamping, datasheet section 15.2 2019-11-13 07:36:18 -08:00
Federico Maggi
2a09dc302a sync word length check + removed else if 2019-11-13 16:34:47 +01:00
Federico Maggi
f9a746cf82 Merge branch 'master' of https://github.com/jgromes/RadioLib
* 'master' of https://github.com/jgromes/RadioLib:
  Comment and error checking cleanup. Fixed power adjustment for SX1261
  Removed memory allocation and copying from SX126X read* and write* functions
  Implemented optimal PA settings for SX1268. Ensured OCP is always restored when changing power. Slight refactor to avoid duplicated SX1262 / SX1268 code.
  Fixed link to ESP32 package index
  Implemented power scaling in setOutputPower, in accordance with datasheet.
  Missed SX1261 PA Config flag in previous commit
  Adjusted setPaConfig in SX126x setOutputPower.
2019-11-13 16:28:23 +01:00
Federico Maggi
c56a76d296 enable/disable to set + bool 2019-11-13 16:27:39 +01: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
Federico Maggi
36979d81ec Merge branch 'master' of https://github.com/jgromes/RadioLib
* 'master' of https://github.com/jgromes/RadioLib:
  Fixed keyword separator
  Fixed SoftwareSerial for ESP8266 core 2.6.0
  [SX126x] Moved debug output out of SPI transaction
2019-11-12 17:56:55 +01:00
Federico Maggi
35361ce198 Implemented promiscuous mode for CC1101 and RF69 2019-11-12 17:56:36 +01:00
BarryPSmith
5b04badb36 Implemented power scaling in setOutputPower, in accordance with datasheet. 2019-11-11 11:26:41 -08:00
BarryPSmith
fedbbcf931 Merge branch 'master' into sx126x_txpower 2019-11-10 09:13:57 -08:00
Jan Gromeš
e61e9afbe5
Merge pull request #56 from rfquack/master
Variable/fixed packet length mode config for RF69/SX1231
2019-11-08 18:47:26 +01:00
Federico Maggi
39a4614a77 Call _mod->SPIwriteRegister() not SPIwriteRegister() 2019-11-08 18:07:36 +01:00
BarryPSmith
111d9fa625 Missed SX1261 PA Config flag in previous commit 2019-11-08 08:44:42 -08:00
BarryPSmith
da6072cf73 Adjusted setPaConfig in SX126x setOutputPower. 2019-11-08 08:20:52 -08:00
Federico Maggi
a5295432d7 Variable/fixed packet length mode config for RF69/SX1231 2019-11-08 16:43:23 +01:00
Jan Gromeš
e8702a4953
Merge pull request #55 from rfquack/master
Using defined debug port and not Serial + CC1101 length mode config options
2019-11-08 16:29:04 +01:00
Federico Maggi
a2e64f1645 Added to keywords.txt, comments, reading fixed len properly 2019-11-08 15:58:13 +01:00
jgromes
b5f273b187 [SX126x] Moved debug output out of SPI transaction 2019-11-08 09:29:00 +01:00
Federico Maggi
87bf46ed34 CC1101::fixedPacketFormat now correctly sets _packetLengthConfig 2019-11-07 20:14:29 +01:00
Federico Maggi
47a45fa009 Moving CC1101::variablePacketLengthMode and CC1101::fixedPacketLengthMode before CC1101::config so as to maintain the same order as in the header file 2019-11-07 20:07:31 +01:00
Federico Maggi
121110d9f4 Update CC1101.cpp
Updating _packetLengthConfig and _packetLength properly
2019-11-07 17:02:32 +01:00
Federico Maggi
7e42f77c95 Added length mode configuration methods and handling 2019-11-06 02:34:40 +01:00
Federico Maggi
b599a35879 Using defined debug port and not Serial 2019-11-06 01:41:08 +01:00
jgromes
2c2fe8b20e [SX126x] Simplified debug output 2019-10-28 19:37:13 +01:00
jgromes
f0d9fdda11 [SX127x] Added missing standby command 2019-10-27 17:12:59 +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
jgromes
9fa039549d [nRF24] Fixed fallthrough 2019-09-19 08:21:45 +02:00
jgromes
2ce9246053 [SX126x] Fixed doxygen param name 2019-09-17 08:37:31 +02:00
mmrein
a810a31c5f
setSyncBits: *sync changed to *syncWord, added note
setSyncBits: Update *sync to *syncWord, add note about bits of syncWord being used if less than 64 bits.
2019-09-16 20:10:59 +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