Commit graph

1737 commits

Author SHA1 Message Date
obones
bdb14b9e9d Implement setDIOMapping for RF69 family 2022-07-07 15:36:26 +02:00
obones
069428a9f6 Implement setDIOMapping for SX1278 family 2022-07-07 15:36:26 +02:00
obones
e1412108c1 Implement setDIOMapping for CC1101 2022-07-07 15:36:26 +02:00
obones
e421ab4272 Introduce setDIOMapping on the PhysicalLayer class which, by default, returns "not implemented" 2022-07-07 15:36:25 +02:00
jgromes
8ae092ac81 [MOD] Added regdump function 2022-07-04 15:30:37 +02:00
jgromes
907de02a79 [PHY] getMod moved to private and only acessible to friend classes 2022-07-04 15:28:26 +02:00
jgromes
701e2c4a21 [SX127x] Formatting fixes 2022-07-04 15:17:41 +02:00
jgromes
756125cd8b Merge branch 'master' of https://github.com/jgromes/RadioLib 2022-07-03 11:06:46 +02:00
jgromes
f8f73d2ccb [MOD] Added helper hexdump function 2022-07-03 11:05:56 +02:00
Jan Gromeš
f5d48770cd
Merge pull request #540 from Jaimi5/master
RadioLib - getTimeOnAir for SX127x modules
2022-07-02 08:33:40 +02:00
Jaimi5
46919cb249 RadioLib - FSK getTimeOnAir, crc bits and packet length configuration fixed 2022-07-01 17:03:02 +02:00
Jaimi5
3b305591d2 RadioLib - syncWord to bits 2022-06-26 23:49:15 +02:00
Jaimi5
de84410e69 RadioLib - type of packet length FSK mode getter changed. 2022-06-26 23:39:44 +02:00
Jaimi5
314fcb2d6e RadioLib - getTimeOnAir for FSK mode in module SX127x 2022-06-26 23:33:05 +02:00
Jaimi5
19715ef204 RadioLib - Now getTimeOnAir returns microseconds 2022-06-25 14:04:44 +02:00
Jaimi5
298dbe8e5c RadioLib - getTimeOnAir for SX127x modules 2022-06-24 17:38:31 +02:00
jgromes
e5e8947e94 [SX127x] Fixed incorrect packet length check in FSK mode 2022-06-19 16:10:33 +02:00
jgromes
ba67ce2720 [SX127x] Fixed RSSI offset not shifted (#538) 2022-06-15 19:31:53 +02:00
jgromes
0fab561713 Bump version to 5.2.0 2022-06-13 18:32:53 +02:00
Jan Gromeš
58075df54b
Merge pull request #534 from caveman99/patch-1
Allow SPIbeginTransaction and SPIendTransaction to be overridden by subclasses
2022-06-13 18:31:20 +02:00
Thomas Göttgens
1ebf420a86
change locking mechanism in patch to transactions 2022-06-12 21:20:48 +02:00
jgromes
6b83e08cfa Added support for Teensy (#175) 2022-06-12 19:31:15 +02:00
Thomas Göttgens
08989ff6fa
Allow SPItransfer to be overridden by subclasses
This allows API clients to provide 'smarter' versions of Module that can do things like add thread safety so that multiple devices (and service threads) can share the same SPI bus. i.e. a subclass would lock some sort of mutex.

This is used in the Radiolib Fork for Meshtastic to share an SPI bus with SD Card and TFT Display but we want to move back to upstream and not maintain our own fork.
2022-06-10 12:28:32 +02:00
jgromes
34a0d77998 Merge branch 'master' of https://github.com/jgromes/RadioLib 2022-06-05 11:16:00 +02:00
jgromes
05a4cf1ef1 [SX126x] Added LR-FHSS registers 2022-06-05 11:15:54 +02:00
Jan Gromeš
77c9a295ed
[SX127x] Fixed RF switch not actuated in continuous Rx mode (#531) 2022-05-30 10:49:55 +02:00
jgromes
3df3b092eb [SX126x] Fixed default frequency deviation for SX1262 (#522) 2022-05-28 18:22:03 +02:00
jgromes
a391318477 Merge branch 'master' of https://github.com/jgromes/RadioLib 2022-05-28 17:58:46 +02:00
jgromes
ed43f8062e [Hell] Added method to invert text color (#529) 2022-05-28 17:58:34 +02:00
jgromes
2faa4b5d71 [Morse] Use out of band tone for space in AFSK mode (#529) 2022-05-28 17:57:42 +02:00
Jan Gromeš
fe893cdb60
Merge pull request #527 from matthias-bs/master
[SX127x] added setCrcFiltering()
2022-05-24 11:05:10 +02:00
matthias-bs
76ddaf5f67
added setCrcFiltering() 2022-05-23 17:32:58 +02:00
matthias-bs
0a79f7fc22
added setCrcFiltering() 2022-05-23 17:30:40 +02:00
Jan Gromeš
9b392e349e
[CC1101] Fixed incorrect parameter documentation (#523) 2022-05-23 13:46:36 +02:00
jgromes
206d49f802 [CC1101] Fixed Tx buffer flushed on Rx timeout (#520) 2022-05-17 17:31:51 +02:00
jgromes
57dcf48f6b [SX126x] Fixed swapped IQ inversion fix branches (#516) 2022-05-03 18:46:56 +02:00
jgromes
7f09fc430a [SX126x] Enable timeout to generate IRQ event 2022-04-09 19:58:29 +02:00
jgromes
2e183d70bb [SX127x] Use RSSI interrupt and disable AFC (#505) 2022-04-03 12:14:26 +02:00
jgromes
3a55ad92e1 [CC1101] Fixed RSSI/LQI always returning incorrect values (#504) 2022-04-02 19:20:28 +02:00
Jan Gromeš
84dc43d1e1
Merge pull request #500 from loopj/rf69-ook-rxbw
[RF69] Set RX bandwidth correctly for OOK mode
2022-03-29 22:00:27 +02:00
James Smith
63ba279fd2 Call setRxBandwidth again if setOOK is called 2022-03-28 17:28:01 -07:00
James Smith
77fa0e83c0 Merge remote-tracking branch 'upstream/master' into rf69-ook-rxbw 2022-03-28 17:20:13 -07:00
jgromes
4f19d97f42 [SX126x] Set initial BW to 500 kHz for LLCC68 (#502) 2022-03-27 17:38:22 +02:00
Jan Gromeš
ed4de04afa
Merge pull request #501 from loopj/rf69-persist-bitsync
[RF69] Persist bit synchronization settings
2022-03-27 17:12:58 +02:00
James Smith
2b99b6ec86 Add enableOOK param to RF69::begin, false by default, mirrors SX127x 2022-03-26 14:45:54 -07:00
James Smith
eed4075cb1 [RF69] Persist bit synchronization settings 2022-03-26 13:08:46 -07:00
James Smith
361eba8ebc Set RX bandwidth correctly for OOK mode 2022-03-26 12:53:17 -07:00
Jan Gromeš
b832635927
Merge pull request #499 from loopj/patch-1
[CC1101] Data shaping and encoding params in right order
2022-03-24 18:37:37 +01:00
James Smith
e20058c93c
[CC1101] Data shaping and encoding params in right order
For some reason, the `RADIOLIB_SHAPING_NONE` was being passed to `setEncoding` and `RADIOLIB_ENCODING_NRZ` was being passed to `setDataShaping`. Flipped these to be passed to the correct functions.

Note: These are both defined as `0x00` so this should have no impact on functionality, just makes initialization less confusing.
2022-03-24 10:30:45 -07:00
Jan Gromeš
2264b04380
Merge pull request #498 from loopj/fix-rf69-setrxbandwidth
Fix setRxBandwidth by calculating mantissa and exponent, rather than comparing floats
2022-03-23 07:51:16 +01:00