Wykres commitów

555 Commity (d1cbe133e236ac3a702e5ee5ca8aeaba23fb74cf)

Autor SHA1 Wiadomość Data
jgromes 2b61001f40 [CC1101] Added explicit default sync word config 2020-07-04 11:21:21 +02:00
jgromes a33a3a5389 [ESP8266] Added missing ESP8266 exclude 2020-06-30 11:17:21 +02:00
jgromes 0e120a760a [nRF24] Reworked driver exclusion 2020-06-30 10:44:41 +02:00
jgromes 78c1f94233 [XBee] Reworked driver exclusion 2020-06-30 10:44:33 +02:00
jgromes f05f1e9d82 [Si443x] Reworked driver exclusion 2020-06-30 10:44:22 +02:00
jgromes 515551e7bc [SX128x] Reworked driver exclusion 2020-06-30 10:44:08 +02:00
jgromes 3dd3a471e5 [SX127x] Reworked driver exclusion 2020-06-30 10:43:56 +02:00
jgromes 58ddfb8b51 [SX126x] Reworked driver exclusion 2020-06-30 10:43:41 +02:00
jgromes 893d8a905f [SX1231] Reworked driver exclusion 2020-06-30 10:43:26 +02:00
jgromes 04ea05c7ec [RFM9x] Reworked driver exclusion 2020-06-30 10:43:14 +02:00
jgromes e6657cf2f0 [RFM2x] Reworked driver exclusion 2020-06-30 10:43:00 +02:00
jgromes 984cfac319 [RF69] Reworked driver exclusion 2020-06-30 10:42:47 +02:00
jgromes 67e36f4ed9 [JDY08] Reworked driver exclusion 2020-06-30 10:42:37 +02:00
jgromes 535e35a3db [HC05] Reworked driver exclusion 2020-06-30 10:42:23 +02:00
jgromes 36a44ed44d [ESP8266] Reworked driver exclusion 2020-06-30 10:42:13 +02:00
jgromes 995d7054ef [CC1101] Reworked driver exlusion 2020-06-30 10:41:48 +02:00
jgromes aa4f4c9ab4 [SX126x] Added SPI delay for SAMD cores (#153) 2020-06-20 21:13:50 +02:00
jgromes 6bdef76031 [SX128x] Added SPI delay for SAMD cores 2020-06-20 21:09:12 +02:00
jgromes 06c254bc6e [SX126x] Added missing RF switch control 2020-06-20 17:04:17 +02:00
jgromes 3fe7da9788 [SX127x] Added missing RF switch control 2020-06-20 17:04:11 +02:00
jgromes 75197d78a0 [SX128x] Added missing RF switch control 2020-06-20 17:04:03 +02:00
jgromes 5f4481aef6 [Si443x] Added missing RF switch control 2020-06-20 17:03:55 +02:00
jgromes b68bd2f9f9 [RF69] Added missing RF switch control 2020-06-20 17:03:42 +02:00
jgromes 05f1e998d7 [CC1101] Added missing RF switch control 2020-06-20 17:03:34 +02:00
jgromes bb7108a52b [SX126x] Fixed RF switch state in Rx mode 2020-06-19 08:23:28 +02:00
jgromes d710a85985 [SX126x] Implemented RF switch control (#153) 2020-06-18 16:38:30 +02:00
jgromes 4ad82f1572 [SX127x] Implemented RF switch control 2020-06-18 16:36:11 +02:00
jgromes 5a3d7a7173 [SX128x] Implemented RF switch control 2020-06-18 16:36:02 +02:00
jgromes d1527b0d8c [Si443x] Implemented RF switch control 2020-06-18 16:32:52 +02:00
jgromes 0f287a53e7 [RF69] Implemented RF switch control 2020-06-18 16:32:30 +02:00
jgromes 3aafb2f5bf [CC1101] Implemented RF switch control 2020-06-18 16:32:11 +02:00
jgromes cec0c4d1e2 [SX127x] Added comment about op mode change 2020-06-01 16:14:33 +02:00
gozu42 f534185cfb
[SX127x] add getTempRaw method
Signed-off-by: gozu42 <tvguho-tbmh42-tct.76b2756e@hashmail.org>
2020-06-01 14:26:30 +02:00
jgromes f068a15029 [SX127x] Added getIRQFlags and getModemStatus methods (#145) 2020-05-28 21:07:23 +02:00
jgromes 3a15335b59 [RFM9x] Added 0x12 as valid device ID 2020-05-20 11:17:40 +02:00
jgromes bff077af3c [SX127x] Added interface argument to Module::term (#146) 2020-05-17 20:28:22 +02:00
jgromes 6e7554191f [SX1231] Added interface argument to Module::term 2020-05-17 20:28:05 +02:00
jgromes b0a6b1db08 [Si443x] Added interface argument to Module::term 2020-05-17 20:27:58 +02:00
jgromes e6caf3fc37 [nRF24] Added interface argument to Module::term 2020-05-17 20:27:51 +02:00
jgromes 657d7495cb [RF69] Added interface argument to Module::term 2020-05-17 20:27:42 +02:00
jgromes 3721d0a51b [CC1101] Added interface argument to Module::term 2020-05-17 20:27:34 +02:00
jgromes 7503604765 [SX127x] Fixed sprintf buffer size 2020-05-12 08:39:28 +02:00
jgromes 3aae02e4ea [nRF24] Added digital pin to interrupt macro 2020-05-11 20:33:02 +02:00
jgromes 8b12def14d [Si443x] Added digital pin to interrupt macro 2020-05-11 20:32:56 +02:00
jgromes e2689940a6 [SX128x] Added digital pin to interrupt macro 2020-05-11 20:32:47 +02:00
jgromes 9b0cf7abb2 [SX127x] Added digital pin to interrupt macro 2020-05-11 20:32:41 +02:00
jgromes d005112407 [SX126x] Added digital pin to interrupt macro 2020-05-11 20:32:32 +02:00
jgromes 19028b64e0 [RF69] Added digital pin to interrupt macro 2020-05-11 20:32:26 +02:00
jgromes f9c7e9e7f5 [CC1101] Added digital pin to interrupt macro 2020-05-11 20:32:17 +02:00
jgromes d609c8ba56 [CC1101] Lowered findChip delay to 10 ms 2020-05-01 20:53:50 +02:00
jgromes 078ec4d13e [RF69] Lowered findChip delay to 10 ms 2020-05-01 20:53:23 +02:00
jgromes 1fa483f98b [SX1231] Lowered findChip delay to 10 ms 2020-05-01 20:53:15 +02:00
jgromes 9119020d0d [Si443x] Lowered findChip delay to 10 ms 2020-05-01 20:53:08 +02:00
jgromes 305d880926 [Xbee] Lowered findChip delay to 10 ms 2020-05-01 20:52:59 +02:00
jgromes 601f6324e4 [SX128x] Fixed unitialized variable warning 2020-05-01 20:26:53 +02:00
Jan Gromeš 2b8a5e2ecf
Merge pull request #142 from meshtastic/probe
when probing for sx127xs don't wait so long between attempts.
2020-05-01 20:04:15 +02:00
geeksville 2c31adc401 Set the min/max ranges per the Semtech SX1278/SX1276 datasheet 2020-05-01 09:18:37 -07:00
geeksville e070cf9ef4 No reason to wait 1s between probes (for a 4MHz spi bus). Change
to 10ms so probing for parts doesn't slow our boot so much.
2020-05-01 09:17:26 -07:00
jgromes eccf6e3865 [ESP8266] Fixed format overflow warning 2020-05-01 13:50:29 +02:00
jgromes 332a981c23 [CC1101] Changed interrupt pin macro 2020-04-22 14:59:17 +02:00
jgromes 271f5bd62c [ESP8266] Replaced itoa() with sprintf() 2020-04-22 14:55:02 +02:00
jgromes bd5be7729e [RF69] Extended power configuration (#133) 2020-04-21 12:00:23 +02:00
jgromes 1aef03c473 [SX128x] Added missing BLE modem check 2020-04-17 07:51:29 +02:00
jgromes dcf31e481d [SX128x] Fixed BLE access address configuration (#135) 2020-04-17 07:51:06 +02:00
jgromes 9f8ec689dd [RF69] Replaced RSSI member variable with getRSSI method 2020-04-14 15:02:33 +02:00
jgromes e9f879aea6 [SX1231] Fixed typo in debug message 2020-04-14 15:01:39 +02:00
jgromes 1592831e0c [SX128x] Implemented ranging 2020-04-12 13:47:56 +02:00
jgromes a355a098e6 [SX128x] Added BLE modem support 2020-04-12 11:32:07 +02:00
jgromes ff3225cd19 [SX128x] Added FLRC modem support 2020-04-12 11:05:16 +02:00
jgromes 5c0c7f32c3 [SX128x] Set default regulator mode to DC-DC 2020-04-09 12:10:38 +02:00
jgromes 635c008e26 [SX128x] Fixed bug in ToA calculation for non-LoRa modems (#132) 2020-04-09 09:59:31 +02:00
jgromes f8c9b5d03a [SX128x] Fixed incorrect status code 2020-04-09 09:58:35 +02:00
jgromes 7c9f422e0c [SX128x] Fixed type conflict in max() 2020-04-07 13:42:30 +02:00
jgromes 55ad72e0e0 [SX128x] Added support for SX128x 2020-04-07 13:30:05 +02:00
jgromes cc90345342 [SX126x] Minor formatting fixes 2020-04-07 13:27:55 +02:00
jgromes 6a4fdd9a92 [nRF24] Added missing calls to yield 2020-04-01 14:02:06 +02:00
jgromes eb71582a96 [XBee] Added missing calls to yield 2020-04-01 14:01:57 +02:00
jgromes a7c4dd44ce [Si443x] Added missing calls to yield 2020-04-01 14:01:49 +02:00
jgromes 218587b887 [SX127x] Added missing calls to yield 2020-04-01 14:01:41 +02:00
jgromes a46a1f5f1c [SX126x] Added missing calls to yield 2020-04-01 14:01:27 +02:00
jgromes 901783cf39 [RF69] Added missing calls to yield 2020-04-01 14:01:18 +02:00
jgromes 7fec5e629b [ESP8266] Added missing calls to yield 2020-04-01 14:01:02 +02:00
jgromes 75b9395349 [CC1101] Using range check macro 2020-03-30 19:31:52 +02:00
jgromes 532c1e6fe9 [RF69] Using range check macro 2020-03-30 19:31:20 +02:00
jgromes 7f083bb083 [SX126x] Using range check macro 2020-03-30 19:31:02 +02:00
jgromes 08e4c3b13b [RFM9x] Using range check macro 2020-03-30 19:29:55 +02:00
jgromes 274b38d556 [SX127x] Using range check macro 2020-03-30 19:29:29 +02:00
jgromes d58a4c008e [nRF24] Using range check macro 2020-03-30 19:27:17 +02:00
jgromes 83b713b776 [Si443x] Added support for Si443x/RFM2x 2020-03-30 17:38:04 +02:00
jgromes 39c259848c Added support for Nano 33 BLE 2020-03-27 14:10:45 +01:00
jgromes fd6ef55a06 Simplified ESP8266 detection macro 2020-03-27 14:09:46 +01:00
jgromes 73d5a482d1 [nRF24] Fixed typos 2020-03-22 08:14:32 +01:00
jgromes 61bb57b9be [ESP8266] Fixed typos 2020-03-22 08:14:23 +01:00
jgromes caa05f8ad8 [SX127x] Fixed typos 2020-03-22 08:13:27 +01:00
jgromes f1f995e9d8 [SX126x] Fixed typos 2020-03-22 08:12:38 +01:00
jgromes 089d925f82 [RF69] Fixed typos 2020-03-22 08:11:32 +01:00
jgromes 28c12f4576 [CC1101] Fixed typos 2020-03-22 08:10:49 +01:00
Callan Bryant 6c99486343
Swap delayMicroseconds() to delay where appropriate
See https://github.com/jgromes/RadioLib/issues/126 for context.
2020-03-16 12:12:06 +00:00
jgromes 2cf4971c2d [SX127x] Set default FSK BT shaping to 0.5 for SX126x FSK (#123) 2020-03-14 13:44:50 +01:00
jgromes 898696fb52 [SX126x] Set default whitener initial value to 0x1FF for SX127x FSK 2020-03-14 13:34:31 +01:00
jgromes c1c991acc8 [SX127x] Fixed reset implementation for SX1272/73 2020-03-13 21:16:29 +01:00
Andrea Guglielmini b69437c48f [nRF24] Removed ambiguity, PR #119 2020-02-27 20:12:30 +01:00
Andrea Guglielmini ff7831655b [nRF24] Minor fixes 2020-02-26 16:03:06 +01:00
Andrea Guglielmini d1586449f4 [nRF24] Added "isCarrierDetected()" 2020-02-26 16:02:54 +01:00
4m1g0 4426c9174d [SX127x] Set OOK parameter before setting the bitrate to avoid reading undefined variable 2020-02-24 15:52:18 +01:00
jgromes 4459432998 [SX1231] Removed old call to SPI end 2020-02-20 12:19:16 +01:00
jgromes 3054d966a2 [RF69] Removed old call to SPI end 2020-02-20 12:19:00 +01:00
jgromes a60837bb9d [CC1101] Removed old call to SPI end 2020-02-20 12:18:52 +01:00
jgromes 885ca868a0 [CC1101] Removed redundant null terminator 2020-02-18 13:36:06 +01:00
jgromes 99a5a7d1e4 [nRF24] Removed redundant null terminator 2020-02-18 07:35:41 +01:00
jgromes 90944a5b00 [RF69] Removed redundant null terminator 2020-02-18 07:35:04 +01:00
Andrea Guglielmini 293fba2656 [CC1101] Added carrier sense as sync word qualifier 2020-02-16 15:09:39 +01:00
Andrea Guglielmini c0f5ef922c [CC1101] Update cached len value. 2020-02-16 14:50:23 +01:00
Andrea Guglielmini 13a77dff2a [CC1101] Persist modulation change after it's asserted 2020-02-16 14:49:41 +01:00
Andrea Guglielmini 9ca2499b45 [CC1101] Fixed setRxBandwidth() 2020-02-16 14:48:27 +01:00
jgromes 4f9b72f7f6 [CC1101] Fixed incorrect PA configuration in OOK mode 2020-02-16 12:33:57 +01:00
jgromes 4fa214a0fd [SX126x] Added data encoding method 2020-02-11 14:29:19 +01:00
jgromes c06d292bd2 [RF69] Added data shaping and encoding methods 2020-02-11 14:28:55 +01:00
jgromes 2a1b25ff61 [CC1101] Added data shaping and encoding methods 2020-02-11 14:28:42 +01:00
jgromes 13d7f9364c [nRF24] Added data shaping and encoding dummy methods 2020-02-11 14:28:23 +01:00
jgromes 32602307b7 [RF69] Swapped frequency deviation and rx bandwdith in begin method 2020-02-11 14:27:00 +01:00
jgromes 3bb70ff361 [CC1101] Swapped frequency deviation and rx bandwdith in begin method 2020-02-11 14:26:14 +01:00
jgromes 106012b323 [SX127x] Fixed incorrect OOK data shaping on SX1272 (#110) 2020-02-08 08:42:25 +01:00
jgromes 318de480ab Reworked PhysicalLayer to accept frequency step directly 2020-02-07 18:31:51 +01:00
jgromes d99e050b97 [SX126x] Fixed SNR calculation for SNR les than 0 2020-02-06 13:30:51 +01:00
jgromes 235fdb1637 [SX126x] Fixed implicit timeout workaround applied in explicit mode 2020-02-02 11:13:23 +01:00
Callan Bryant c49323fa78
Prevent spurious resets on some boards
My receiver was failing to receive after a random amount of time (2 - 60
seconds). I discovered some power supply issues (DC-DC converter
related) that turned out to be another cause of the same problem but
only on some boards.

The reset procedure for most of the boards that RadioLib can drive
changes the pin mode of the reset line to an input after reset,
effectively tri-stating the output. I had seen this but dismissed it
after checking that the SX126x has a pullup on NRST meaning this was not
an issue.

The receiver I have produced uses a level converter to translate the 5v0
signals to 3v3. The level converters are not themselves pulled up or
down, which means when a pin is connected in a high-impedance input
state it will float around possibly randomly.

This can cause spurious resets on my board, and possibly others. I
remembered the reset procedure when I realised I could reproduce the
problem by rubbing the board on my shirt, probably causing some ESD to
trigger a change on the reset line.

This PR simply removes the lines that change the pinmode to input after
reset leaving it as an output which is hard-driven and the safest way. I
assume that the current behaviour was chosen to decrease the chance of a
conflict if used incorrectly.
2020-01-29 15:00:36 +00:00
Callan Bryant ea85a66314
[SX126x] Pass useRegulatorLDO to SX1262/SX1261/SX1268 2020-01-28 15:01:14 +00:00
Callan Bryant 81fe2d09f8
[SX126x] Parameter to use LDO in begin()
See 4231edee70
for context.
2020-01-28 14:13:20 +00:00
jgromes ff97f3957b [SX126x] Added method to get currently configured OCP 2020-01-27 09:30:44 +01:00
jgromes f336922013 [SX126x] Added missing OCP range check 2020-01-27 09:13:39 +01:00
jgromes 362dde44b0 [SX126x] Added SPI transaction delay for fast platforms 2020-01-26 18:55:04 +01:00
jgromes 4231edee70 [SX126x] Added missing call to setRegulator 2020-01-26 18:54:38 +01:00
jgromes b93aa3f38e [SX126x] Added missing calls to setPaConfig 2020-01-26 18:53:46 +01:00
jgromes f316920bab [SX126x] Removed setOptimalHiPowerPaConfig 2020-01-26 15:19:08 +01:00
jgromes 2ef331ed9c [SX126x] Added public methods to set regulator mode 2020-01-26 15:11:41 +01:00
jgromes e800a0584c [SX126x] Added missing assertion 2020-01-26 09:06:09 +01:00
jgromes 58640e2801 [SX126x] Added option to read data even after CRC error 2020-01-21 15:29:05 +01:00
jgromes 75335bdff3 [SX126x] Added missing default packet mode in FSK 2020-01-21 14:48:52 +01:00
jgromes e890e4f474 [SX126x] Added missing calls to yield 2020-01-19 13:25:25 +01:00
jgromes b2b0511da3 [CC1101] Added missing calls to yield 2020-01-19 13:25:16 +01:00
jgromes d892320637 [SX126x] Added option to set LoRa sync word control bits 2020-01-14 18:08:45 +01:00
jgromes 204e1c7a0c [nRF24] Added assert macro 2020-01-13 16:37:44 +01:00
jgromes 016fb0d462 [XBee] Added assert macro 2020-01-13 16:37:37 +01:00
jgromes acd78cb6bb [SX127x] Added assert macro 2020-01-13 16:37:31 +01:00
jgromes 5728bf4124 [SX126x] Added assert macro 2020-01-13 16:37:21 +01:00
jgromes 65e1369697 [SX1231] Added assert macro 2020-01-13 16:37:08 +01:00
jgromes be701ed120 [RFM9x] Added assert macro 2020-01-13 16:37:01 +01:00
jgromes 751fb6431c [RF69] Added assert macro 2020-01-13 16:36:53 +01:00
jgromes ba1c483121 [CC1101] Added assert macro 2020-01-13 16:36:44 +01:00