Jonathan Bennett
00d4c011c7
Fix sx126x error log logic
2024-04-14 16:44:28 -05:00
Jonathan Bennett
0a246bfe9b
Add more useful error output in radio interfaces ( #3615 )
...
* Add more useful error output in radio interfaces
* trunk
2024-04-14 00:29:42 -05:00
Ben Meadors
794e99c2f9
Log warning cleanup and truth ( #3466 )
2024-03-21 20:45:48 -05:00
Jonathan Bennett
4a867c81c0
Portduino work ( #3049 )
...
* Move to Portduino's getMacAddr()
* Add ST7735/S screen support
* Push Raspbian support into native target
* Remove latent pigpio references.
* CardKB defensive programming
* Adds configurable spidev
* Fixes to build on Fedora 40
* ENUMs are not #defines. Pull latest portduino
* Add more configuration options for SPI displays
* Add config.yaml option to set DIO3_TCXO_VOLTAGE
* change tft clear() to fillScreen()
Maintains compatability with ESPI driver.
* Adds TXen and RXen pins to portduino
* Add -c --config options to specify config file
* Fail when a specified config file is unavailable
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-01-12 02:00:31 -06:00
S5NC
d401040e51
Remove old SX126x and SX128x boosted gain commented-out code ( #2976 )
...
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-12-27 08:18:26 -06:00
S5NC
2544733ad4
Standardise order for setting GPIO pin default values ( #2942 )
...
* Update SX126xInterface.cpp
* Update GPS.cpp
* Update TFTDisplay.cpp
* Update SX128xInterface.cpp
* Update EInkDisplay2.cpp
* trunk fmt
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2023-12-02 07:40:31 -06:00
Thomas Göttgens
6fa026a78b
fix radiolib API for 6.3.0 release
2023-11-30 10:59:01 +01:00
Jonathan Bennett
4af90eeb39
Revamp yaml config for Raspbian
2023-11-19 14:53:49 -06:00
Ben Meadors
46bd6ca7ba
YAML based config for PI / Portduino ( #2943 )
...
* Add configuration via /etc/meshtastic/config.yaml
* Move example config, support more locations
* Fix config check
* Use access() to check for config file presence
* Throw an error and exit on radio init fail
* Adds error check for reading Bluetooth MAC
* Settle on meshtasticd, add install script
* Shell fixes
* Fine. I'll put it back and then disable you
* Get wrekt, shellchekt
* Firat attempt at adding raspbian CI build
* Tickle the workflow
* Beatings will continue til morale improves
* Permissions are overrated
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2023-11-18 08:12:34 -06:00
S5NC
0b9accc3b6
Remove redundant checks for power of 0 ( #2934 )
...
* Add comment explaining necessity for second 0 check
Thank you @GUVWAF
* Update RF95Interface.cpp
* Update STM32WLE5JCInterface.cpp
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
* remove whitespace...
* Update SX128xInterface.cpp
2023-11-13 06:19:02 -06:00
S5NC
4e3576ae48
Simplify SX126x variant configuration ( #2813 )
...
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update SX126xInterface.cpp
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update pins_arduino.h
* Update pins_arduino.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
Specify behavior
* Update variant.h
Maintain behavior
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-09-27 16:01:40 -05:00
andrew-moroz
1c74479555
xiao-ble: add initial support for the Xiao BLE + Ebyte E22-900M30S ( #2633 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-07-21 20:37:00 -05:00
luzpaz
003047baaf
Fix various typos ( #2607 )
...
* Fix various typos
Found via `codespell -q 3 -L acount,clen,dout`
* Trunk reformatting
---------
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-07-14 16:25:20 -05:00
IhorNehrutsa
9c683f4c87
Fix LOG_DEBUG messages when no DEBUG_PORT. ( #2485 )
...
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
2023-05-13 05:33:14 -05:00
Ben Meadors
6cdf2817f4
Put this back in place
2023-05-11 20:09:34 -05:00
Ben Meadors
75504793e8
Skip setting dio2 as rf switch altogether if txen is defined
2023-05-11 06:52:27 -05:00
Thomas Göttgens
c1a1b450e3
RadioLib6 support
2023-05-08 14:40:10 +02:00
GUVWAF
8c68d888c8
SX126x: Try next Interface when chip not found ( #2363 )
...
* If chip was not found, return false for init()
* SX1268: Only overwrite frequency when out of bounds
Happens when region is still UNSET
2023-03-18 07:23:37 -05:00
GUVWAF
6d443d2c67
SX126x/8x: Also use PREAMBLE_DETECTED IRQ flag for actively receiving check ( #2349 )
...
* Use startReceive() instead of startReceiveDutyCycleAuto()
* Add preamble detected IRQ
* Escape from 'freeze' state when packet should have been received
* Use RADIOLIB_GODMODE for access to clearIrqStatus
* SX126x: Better handling of false preamble detections
* SX128x: Add preamble IRQ and false detection handling to active receiving check
* Remove unnecessary function declaration
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-11 12:59:29 -06:00
GUVWAF
3ca1e62b1f
SX126x/8x: Add HEADER_VALID IRQ flag for actively receiving check ( #2333 )
...
* Add HEADER_VALID IRQ flag for SX126x/8x to detect actively receiving
Needs new RadioLib commit
* Update comments
* Use latest RadioLib release
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-03-06 15:53:59 -06:00
GUVWAF
83e6cea280
RadioLib's startChannel returns LORA_DETECTED for SX126x and SX128x ( #2293 )
2023-02-20 14:11:54 -06:00
Ben Meadors
d51aa60864
Missed one
2023-01-25 15:03:59 -06:00
Ben Meadors
9b18d5d85f
Fmt
2023-01-25 14:59:12 -06:00
Ben Meadors
25096c5c63
Use radiolib native tx/rx_en switch control
2023-01-25 14:58:50 -06:00
Ben Meadors
2df81810ec
Merge branch 'master' into sx126x-rx-boosted-gain
2023-01-23 06:06:22 -06:00
Ben Meadors
2c1b7840c5
Make this pr great again
2023-01-23 09:22:40 +01:00
Thomas Göttgens
e9acf413fb
After thoroughly reading schematics and documentation, i conclude that this is theoretically the right definition for this hookup.
2023-01-23 09:22:40 +01:00
Thomas Göttgens
6fdb93cd16
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
...
Checking in generated on purpose.
2023-01-21 21:23:24 +01:00
Thomas Göttgens
51b2c431d9
trunk roundhouse kick
2023-01-21 21:23:24 +01:00
Andrew Moroz
0a2539650e
sx126x-rx-boosted-gain: add support for setting Rx gain mode on SX126x chipsets
2023-01-17 00:56:15 -05:00
Ben Meadors
e7d425ef6e
Until we figure out what's going on
2023-01-09 16:19:42 -06:00
Ben Meadors
f1cdfd163d
Replaced all of the logging with proper log levels
2022-12-30 10:27:07 -06:00
Ben Meadors
0b5cae5393
Log levels refactoring
2022-12-29 20:41:37 -06:00
Ben Meadors
71c0cf9b9a
Don't set DIO2 switch if TXEN is defined
2022-11-26 08:11:32 -06:00
Ihor Nehrutsa
6507683909
Squashed commit of the following:
...
commit c8d1bcf04fae5f7ac5b639ddd15a738045014c95
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:11:18 2022 +0200
Revert "variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS"
This reverts commit 8d225ced9c
.
commit 1c37097448393ea9364c2b9bf10522802c61d5c4
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Fri Nov 25 15:04:09 2022 +0200
Some little debugs added
commit f1b55e11af
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 15:24:58 2022 +0200
Update variant.h
commit 8d225ced9c
Author: Ihor Nehrutsa <Ihor.Nehrutsa@gmail.com>
Date: Wed Nov 23 13:06:49 2022 +0200
variants\tbeam\variant.h: Use LORA_CS instead of RF95_NSS
2022-11-25 15:17:24 +02:00
Ben Meadors
53cd6bdf15
Merge branch 'master' into develop
2022-11-21 07:35:46 -06:00
Thomas Göttgens
5bfc58ed64
testing issues with RAK11200/13300
2022-11-15 21:55:27 +01:00
Thomas Göttgens
50a301899e
start to sort radiolib out. If we have macros, use them! :-)
...
Also we need Godmode for the SX1280 for now, hopefully can revert to more sane operation.
2022-11-14 09:49:50 +01:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
Jm Casler
46e13d23d9
Add debug to monitor radio reconfiguration for #1014 -
2022-06-21 21:51:45 -07:00
Ben Meadors
0767c0b0e8
Converted to jgromes/RadioLib upstream and pegged to latest ref ( #1472 )
...
* Converted to jgromes/RadioLib upstream and pegged to latest ref
2022-05-29 19:30:20 -05:00
Ben Meadors
53cc090814
Move sx1262 fixes upstream ( #1421 )
2022-04-29 07:46:44 -05:00
GUVWAF
6d01f9aa89
Add isChannelActive() function to radio interface
2022-04-20 20:04:44 +02:00
Vladislav Osmanov
cb42440963
fix module frequency overriding
...
The `RadioInterface::freq` member was encapsulated with the `RadioInterface::getFreq()` function,
which could be overridden in child classes for some LoRa-modules.
2021-09-13 22:13:51 +03:00
Vladislav Osmanov
098f38fb83
New base class for SX126x modules. Added new SX1268 module support.
2021-09-12 00:35:16 +03:00