Wykres commitów

487 Commity (master)

Autor SHA1 Wiadomość Data
jgromes 24ffbfc284 Added ESP IRAM attribute to examples (#1010) 2024-03-10 20:40:41 +01:00
Nick McCloud a926d5e13a Change the names to protect the innocent 2024-03-02 14:01:32 +00:00
Nick McCloud 3d8c2e866d WIP Starter for preview 2024-03-02 13:54:49 +00:00
Nick McCloud ec9126dae0 Added last updated dates & corresponding RadioLib version number 2024-03-01 09:48:55 +00:00
Nick McCloud 7389d74e69 Update the reference version to latest LW code base 2024-03-01 09:46:38 +00:00
Nick McCloud 22045d7189 Range of tweaks & dutycycle / FUP 2024-02-28 20:46:47 +00:00
StevenCellist 5766d386af
[LoRaWAN] Improve persistence behaviour, add dwell time error, clear up debug output (#980)
* [LoRaWAN] Improve examples, add getter for DevAddr

* [ArduinoHAL] Only (over)write new values

* [HAL] Fix comment

* [TypeDef] Introduce error for LoRaWAN dwell time

* [LoRaWAN] Improve persistence behaviour, add dwell time error, clear up debug output

* [LoRaWAN] Prevent incorrect behaviour in restore()

* [LoRaWAN] Improve example comments and persistence

* [LoRaWAN] Fix DeviceTime and LinkCheck, fix FcntUp offset

* [LoRaWAN] Fix example incorrectly processing MAC commands

* [LoRaWAN] Fix downlink port, Fcnt 'underflow', user MAC processing

* [LoRaWAN] Add simple receive methods

* [LoRaWAN] Add co-author

Co-Authored-By: HeadBoffin <60431281+HeadBoffin@users.noreply.github.com>

* [LoRaWAN] Fix example output

* [LoRaWAN] Improve persistence behaviour, bugfix subband

* [LoRaWAN] Prevent useless rejoin during nonpersistent session

* [LoRaWAN] Graciously block an uplink if not joined

---------

Co-authored-by: HeadBoffin <60431281+HeadBoffin@users.noreply.github.com>
2024-02-27 17:29:45 +01:00
StevenCellist 0ea00fad44
[LoRaWAN] Improve examples, add getter for DevAddr (#974) 2024-02-15 20:36:03 +01:00
jgromes eaa42b0d6b Update RPi Pico SDK example 2024-01-27 14:03:40 +01:00
Cameron Goddard e558f541e1 add Pico HAL 2024-01-21 15:39:28 -05:00
StevenCellist 598228fba0 [LoRaWAN] Fix session restore throwing unnecessary error 2024-01-20 11:03:54 +01:00
StevenCellist 3338034ac7 [LoRaWAN] Update examples 2024-01-13 00:15:52 +01:00
StevenCellist 7c676f9393 [LoRaWAN] Implement requested changes 2024-01-08 22:33:34 +01:00
StevenCellist 2da09b5adc [LoRaWAN] Convert setDatarate() and setTxPower() to internal MAC; improve ADR 2024-01-06 15:03:55 +01:00
StevenCellist 574555ca09 [LoRaWAN] Revamp internal processing, key checking, new MAC commands, implement DutyCycle & DwellTime 2024-01-05 11:06:24 +01:00
jgromes c0d8d7871e [SX123x] Added support for SX1233 (#898) 2023-12-09 15:34:56 +01:00
StevenCellist b6f6718f1f
[LoRaWAN] Add datarate into event structure (#885)
* [LoRaWAN] Move TX power logic to function

* Update keywords

* [LoRaWAN] Add datarate into event structure
2023-11-27 16:43:56 +01:00
jgromes 7d57a5f6c7 [LoRaWAN] Fixed example naming 2023-11-18 16:27:29 +01:00
jgromes c96dd51f57 [LoRaWAN] Fixed inconsistent naming 2023-11-18 16:27:05 +01:00
jgromes 75a9420552 [LoRaWAN] Added event struct to pass extra info (#821) 2023-11-12 17:53:05 +01:00
StevenCellist 82258105b7
[LoRaWAN] Rework bands, official Rx windows, support ADR, confirm frames, improve EEPROM handling, support clock drift (#867)
* [LoRaWAN] rework bands, add ADR, partial MAC support

Known problem: terribly bad at receiving downlinks
Mask-list bands (e.g. US915) untested, likely a few bugs

* [LoRaWAN] Change Rx windows from CAD to RxSingle

* [LoRaWAN] improve persistence, better Rx windows, wear leveling, confirmed frames

* [LoRaWAN] Module-independent (OTAA) Rx windows, fix confirming downlinks

* [LoRaWAN] Implement SX127x support, fix MAC uplinking, support clock drift

* [ArduinoHal] fix clock drift calculation

* [LoRaWAN] Improve band & ADR logic, allow setting ADR, DR, subband, update examples

* [LoRaWAN] Fix EU868 coding rate, improve example

* [LoRaWAN] fix unused channel index

* [LoRaWAN] fix merge issue (deleted line)

* [LoRaWAN] fix CSMA calling now incorrect function

* [LoRaWAN] fix include logic

* [LoRaWAN] fix warnings, remove duplicate function

* [LoRaWAN] improve examples, add unified sendReceive, bugfixes, add FSK

* [LoRaWAN] improve examples

* [LoRaWAN] add new keywords, add debug guard

* [SX127x] Updated startReceive interface to be more in line with SX126x

* [SX127x] Added public method to convert from bytes to symbols

* [LoRaWAN] Update start receive for SX127x

* Added note about LoRaWAN beta

* [SX127x] Fixed potential float overflow

---------

Co-authored-by: jgromes <jan.gromes@gmail.com>
2023-11-12 14:02:39 +01:00
jgromes 3055613b6d [LoRaWAN] Added support for US bands and reworked channel selection process (#814) 2023-09-12 19:10:44 +02:00
Alistair Francis ffbcbdfc84 Tock: toolchain: Try to be smarter about finding toolchains
Instead of hard coding paths, let's instead try to find the toolchain
from the users PATH.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-09-08 19:29:49 +10:00
Alistair Francis 7e9e7ba7be Tock: Fixup build failure
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-08-29 21:00:47 +10:00
jgromes b54aa77b42 [LoRaWAN] Fixed incorrect example name 2023-08-26 20:35:48 +02:00
jgromes 95e3839342 [LoRaWAN] Represent keys as byte arrays (#58) (#811) 2023-08-24 17:54:49 +02:00
jgromes 16f0ba7cce [LoRaWAN] Implemented MAC command support 2023-08-23 19:22:23 +02:00
jgromes cbd15192bc [SX126x] Fixed example path 2023-08-12 19:52:41 +02:00
jgromes cd9ac9916c [LoRaWAN] Added support for 1.1 and downlink (#58) 2023-08-12 19:49:37 +02:00
jgromes 23fbd87d14 [SX126x] Added Rx after CAD example 2023-08-12 18:58:11 +02:00
Alistair Francis 87200bd312 Tock: Use the default radio begin()
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-24 21:10:23 +10:00
Jan Gromeš 12387daba0
Merge pull request #801 from alistair23/alistair/fixes
Tock: A few more cleanups and fixes
2023-07-22 19:14:24 +02:00
jgromes 7de2996505 [APRS] Added APRS over LoRa example 2023-07-21 18:35:48 +02:00
Alistair Francis fe892ecd31 Tock: Fixup the radio setup
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-21 22:03:45 +10:00
Alistair Francis 6234a84ac9 Tock: Build libtock-c lib with the build script
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-21 22:01:56 +10:00
Jan Gromeš 3a365a364a
Merge pull request #799 from alistair23/alistair/tock-fixes
Tock: Fixup the time calculations and call non-blocking yield
2023-07-20 16:23:54 +02:00
Alistair Francis 377385fb13 Tock: Don't call blocking yield
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-20 21:42:51 +10:00
Alistair Francis 2edbe9cd57 Tock: Fixup time calculation
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-20 21:42:51 +10:00
jgromes 5e9b60a4b4 [LoRaWAN] Added APB example 2023-07-16 16:54:13 +02:00
jgromes 76ac7d3dad [STM32WL] Fixed output power for modules without LP (#798) 2023-07-16 15:50:26 +02:00
jgromes 5f2e5a1997 Added getPacketLength to examples (#214) 2023-07-15 19:36:23 +02:00
Alistair Francis bb61063810 Tock: Expand the .gitignore
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-13 22:43:22 +10:00
Alistair Francis 3c7dc7acba Tock: README: Initial commit
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-13 22:43:22 +10:00
Alistair Francis 5750d88797 Tock: Use \r\n for all new lines
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-11 13:27:04 +10:00
Alistair Francis 6a6bb8526b Tock: Update Radio config for SparkFun LoRa Thing Plus - expLoRaBLE
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-11 13:24:19 +10:00
Alistair Francis a72b549450 Tock: Implement yield()
Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-11 13:23:48 +10:00
Alistair Francis ae05a4283e Tock: Use Tock's libgcc
The Tock specific version of libgcc is built to be position independent,
so use that instead of the one supplied by the compiler. This fixes a
few odd corner cases when using printf().

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-07-11 13:23:34 +10:00
jgromes 0d2ef419bf [LoRaWAN] Added basic LoRaWAN support (#58) 2023-07-06 13:41:31 +02:00
Alistair Francis a8172308fe examples: NonArduino: Tock: Initial commit
Add support for running RadioLib on Tock.

Tock is an embedded operating system designed for running multiple
concurrent, mutually distrustful applications on Cortex-M and RISC-V
based embedded platforms (https://github.com/tock/tock).

This PR uses libtock-c (https://github.com/tock/libtock-c) to add
support to running RadioLib as a Tock userspace application.

This has been tested on the SparkFun LoRa Thing Plus - expLoRaBLE board
(https://github.com/tock/tock/tree/master/boards/apollo3/lora_things_plus)
but will work on any LoRa compatible Tock board (currently only the
expLoRaBLE board).

Signed-off-by: Alistair Francis <alistair@alistair23.me>
2023-06-29 09:54:30 +10:00
jgromes 58c9e9fe03 Fixed String counters in examples (CI_BUILD_ALL) 2023-06-26 20:39:33 +02:00
jgromes a4dbae03a3 [MOD] Fixed missing cast (#776) 2023-06-26 19:41:12 +02:00
jgromes f4f11a35d3 [Mod] Updated examples to use buffered SPI (#776) 2023-06-26 19:39:10 +02:00
jgromes 43ff5906c2 [SX127x] Added missing counter 2023-06-24 22:24:49 +02:00
jgromes 2dafa83058 [SX1231] Renamed basic examples to _Blocking 2023-06-24 22:18:59 +02:00
jgromes 3a07f0aa02 [SX128x] Renamed basic examples to _Blocking 2023-06-24 22:17:13 +02:00
jgromes c919185849 [SX127x] Renamed basic examples to _Blocking 2023-06-24 22:12:53 +02:00
jgromes 24be1747d0 [SX126x] Renamed basic examples to _Blocking 2023-06-24 22:12:11 +02:00
jgromes 9bad00ed39 [STM32WL] Renamed basic examples to _Blocking 2023-06-24 22:03:28 +02:00
jgromes 06529844c3 [Si443x] Renamed basic examples to _Blocking 2023-06-24 21:59:18 +02:00
jgromes 18307f478d [RF69] Renamed basic examples to _Blocking 2023-06-24 21:55:20 +02:00
jgromes be97ba8543 [nRF24] Added packet counter 2023-06-24 21:51:20 +02:00
jgromes 4981ce9934 [CC1101] Added packet counter 2023-06-24 21:50:30 +02:00
jgromes 90368db27a [nRF24] Renamed basic examples to _Blocking 2023-06-24 21:48:25 +02:00
jgromes ac78f31532 [CC1101] Renamed basic examples to _Blocking 2023-06-24 19:51:09 +02:00
jgromes 9472d5b635 [PHY] Added interface showcase example (#773) 2023-06-21 22:25:31 +02:00
jgromes 1f6acc8347 [SX128x] Implemented generic IRQ actions 2023-06-21 22:23:43 +02:00
jgromes 787ebde43e [SX126x] Implemented generic IRQ actions (#773) 2023-06-21 22:21:55 +02:00
jgromes 46e1af764e [Si443x] Implemented generic IRQ actions 2023-06-21 22:17:48 +02:00
jgromes df126c92f9 [RF69] Implemented generic actions 2023-06-21 22:15:54 +02:00
jgromes 291251ea72 [nRF24] Implemented generic actions 2023-06-21 22:11:36 +02:00
jgromes 8567c77641 [CC1101] Implemented generic actions 2023-06-21 22:07:24 +02:00
jgromes a6ba423c73 [SX127x] Implemented generic actions 2023-06-21 22:03:07 +02:00
jgromes 27ef744edf [SX127x] Fixed references to 256 byte packets 2023-06-07 20:41:14 +02:00
jgromes cb7b282c9b Updae ESP-IFD example (#748) 2023-06-04 13:25:08 +02:00
jgromes 4e2ff97afc Added ESP-IDF example (#748) 2023-05-21 18:24:18 +02:00
jgromes b02a5c1867 Updated raspberry example 2023-05-18 20:52:28 +01:00
jgromes 1a55220020 Updated non-Arduino example 2023-05-16 17:12:45 +01:00
jgromes 0c40aa7f85 [Pager] Added note about module pin 2023-05-08 20:12:51 +02:00
jgromes a797bef0d2 Fixed term order for RPi example 2023-05-07 07:17:47 +01:00
jgromes 32cef2699d Update Raspberry example 2023-05-06 18:34:41 +01:00
jgromes a21cabf3e3 Make build scripts executable 2023-05-06 18:02:12 +01:00
jgromes e1853ddf04 Added CMake for NonArduino example 2023-04-30 22:10:48 +02:00
jgromes 54c1255646 [Bell] Added Bell modem example 2023-04-30 10:18:50 +02:00
jgromes d5fe5e3e2d [HAL] Cleaned up example and added comments 2023-04-22 18:07:47 +02:00
Mestery 94050efb1b add example 2023-04-18 19:21:01 +02:00
Mestery 9a68a3c901 use uint32 instead of uint8 for pin type 2023-04-16 21:39:00 +02:00
Mestery ec3d4eaf20 Improve hardware abstraction layer 2023-04-12 23:16:18 +02:00
jgromes cb385f5946 [SX126x] Remove standby before data read (#703) 2023-04-10 14:05:25 +02:00
jgromes c8b28887ee [SX127x] Fixed comment 2023-04-10 14:03:37 +02:00
jgromes 0f5b31aa3a [SX127x] Removed standby before data read 2023-04-10 13:57:00 +02:00
jgromes c10343e853 [SX126x] Added spectral scan in frequency 2023-03-27 18:48:32 +02:00
jgromes cfe6128656 [SX126x] Added frequency error reading 2023-03-18 10:56:00 +01:00
jgromes 0818230a7c [SX126x] Fixed incorrect variable names 2023-03-11 20:57:32 +01:00
jgromes 97ab0d357a [SX126x] Added spectral scan 2023-03-11 20:09:03 +01:00
jgromes ead59223fa [STM32WLx] Fixed end of table macro (CI_BUILD_ALL) 2023-03-05 20:33:27 +01:00
jgromes 25a5f7443c [SX127x] Fixed invalid sync word value in example 2023-03-05 14:57:20 +01:00
Branden Ghena 7c083e0796 Fix args to begin() in SX12xx settings examples 2023-03-02 22:28:40 -06:00
jgromes 455ce12eed [AFSK] Added SX126x to examples 2023-02-11 14:12:55 +01:00
Matthijs Kooijman e116a20d89 [STM32WLx] Add examples
Co-Authored-By: jgromes <jan.gromes@gmail.com>
2023-01-10 18:09:55 +01:00
jgromes 139a68dfd4 [EXT] Added support for external radios (646) 2023-01-08 15:12:49 +01:00