Commit graph

49 commits

Author SHA1 Message Date
Morgan 'ARR\!' Allen
6ad9cba796 add primary enable/disable functions for FHSS 2021-12-02 10:01:37 -08:00
Morgan 'ARR\!' Allen
c8beb458f6 set header mode during init based on lora32_cfg_t->implicitHeader state 2021-11-19 10:53:01 -08:00
Morgan 'ARR\!' Allen
7ec011f15a debug log setting header mode 2021-11-19 10:52:22 -08:00
Morgan 'ARR\!' Allen
db9b74ec76 renamed idle to standby to better reflect datasheet
lowered some log levels
2021-11-17 19:33:44 -08:00
Morgan 'ARR\!' Allen
14cd5df1e3 implement single RX, still needs timeout handling 2021-11-17 19:31:10 -08:00
Morgan 'ARR\!' Allen
8f07873624 reimplementing semephore and bus locking seems to have helped overall stability, particularly on first init 2021-11-17 19:30:01 -08:00
Morgan 'ARR\!' Allen
dc78e9b137 remove assert(REG_VERSION) in favor of returning error so application recovery is possible 2021-11-17 19:28:46 -08:00
Morgan 'ARR\!' Allen
7141d87680 functional multi-device support 2021-11-17 13:49:32 -08:00
Morgan 'ARR\!' Allen
a445ed539f WIP dump of multidev support 2021-07-22 21:32:06 -07:00
Morgan 'ARR\!' Allen
04768f460a actually take default values from Kconfig 2020-05-24 11:30:08 -07:00
Morgan 'ARR\!' Allen
58cd70d9ba adding get_bandwidth, get_spreadfactor, reverted bandwidths to ...e3 numbers 2020-04-30 09:47:00 -07:00
Morgan 'ARR\!' Allen
50d7497c0f reworking power level and lna code 2020-04-16 20:57:50 -07:00
Morgan 'ARR\!' Allen
a062ed4dcb add datarate calculation, could probably be useful. right? 2020-03-02 21:16:33 -08:00
Morgan 'ARR\!' Allen
d987072745 use proper enum for default BW 2020-03-02 21:08:25 -08:00
Morgan 'ARR\!' Allen
499acd3976 add 500kHz BW and lowered BW const values by 1000x 2020-03-02 21:07:09 -08:00
Morgan 'ARR\!' Allen
2e721f68da change bandwidth enum to typedef 2020-03-01 07:41:11 -08:00
Morgan 'ARR\!' Allen
04da5a472d remove some redundent logging 2020-03-01 07:40:53 -08:00
Morgan 'ARR\!' Allen
50269c878f set spreading factor on init 2020-02-29 16:09:00 -08:00
Morgan 'ARR\!' Allen
795dabfd06 set BW, CR on init 2020-02-29 16:05:32 -08:00
Morgan 'ARR\!' Allen
f581b74251 oh yeah, make idf compat 2020-02-29 15:56:47 -08:00
Morgan 'ARR\!' Allen
862d8eeadd add long missing set bandwidth function 2020-02-27 08:44:41 -08:00
Morgan 'ARR\!' Allen
8a172eac86 add header row to dump_reg 2020-02-27 08:18:23 -08:00
Morgan 'ARR\!' Allen
ac7b6a0561 remove some over the top verbose logging 2020-02-26 20:30:10 -08:00
Morgan 'ARR\!' Allen
48f7f611dc change variable names in CR (totally didnt just copy/paste that) 2020-02-26 07:46:39 -08:00
Morgan 'ARR\!' Allen
d6104bde39 adding log to coding rate 2020-02-26 07:43:35 -08:00
Morgan 'ARR\!' Allen
38377d32af log spreadfactor after value has been forced into range 2020-02-26 07:43:00 -08:00
Morgan 'ARR\!' Allen
6d19731274 clarify and remove old logging 2020-02-22 11:07:02 -08:00
Morgan 'ARR\!' Allen
2d1a05d447 CAD! 2020-02-22 08:56:41 -08:00
Morgan 'ARR\!' Allen
26dd375b9d change read IRQ log to DEBUG 2020-02-22 08:35:15 -08:00
Morgan 'ARR\!' Allen
95d6bef66b change SPI read/write log message to VERBOSE 2020-02-22 08:34:26 -08:00
Morgan 'ARR\!' Allen
0c394d30a7 make TX done async 2020-02-22 07:54:14 -08:00
Morgan 'ARR\!' Allen
a9f4e42746 change logging message to reflect handle_receive 2020-02-21 09:14:42 -08:00
Morgan 'ARR\!' Allen
2507305ee5 explicity set DIO0 mapping, will need to be changed when DIO1+ are implemented 2020-02-21 09:14:26 -08:00
Morgan 'ARR\!' Allen
89facad220 break receive functionality into own function, call from dio0_task 2020-02-21 08:59:40 -08:00
Morgan 'ARR\!' Allen
9bb9eb0a41 move DIO mapping into receive enable 2020-02-21 08:55:23 -08:00
Morgan 'ARR\!' Allen
1e1c34bac8 check IRQ flags that this is actually a receive 2020-02-21 08:55:01 -08:00
Morgan 'ARR\!' Allen
d0e394a4af renaming receive task to reflect dio0 multi-functionality 2020-02-21 08:54:01 -08:00
Morgan 'ARR\!' Allen
d436955132 remove stale code, parse_packet wasn't used (or useful?) 2020-02-20 22:25:58 -08:00
Morgan 'ARR\!' Allen
721deec13e stop putting radio into rx mode, should be user controlled 2020-02-20 22:18:20 -08:00
Morgan 'ARR\!' Allen
bb0163fa99 fixed spelling in enable_continuous_rx 2020-02-20 22:16:06 -08:00
Morgan 'ARR\!' Allen
80d3b56313 large changeset
change EventQueue to EventGroup
decoupled reading FIFO from receive handler
added explicit function to read incoming data
change create/init functionality, might have been causing heap issues
improved dump_regs
removed poll_rx
2020-02-20 22:05:24 -08:00
Morgan 'ARR\!' Allen
7e8fa65339 dont pass ->spi to read_reg, pass lora 2020-02-11 19:58:11 -08:00
Morgan 'ARR\!' Allen
e74fa454db use proper reference to spi in logd 2020-01-01 22:29:23 -08:00
Morgan 'ARR\!' Allen
0071044ae0 reenable some logging with proper DEBUG log level 2020-01-01 21:17:04 -08:00
Morgan 'ARR\!' Allen
d273598d4f dont reset the address pointer, it only results in lost data 2020-01-01 20:32:16 -08:00
Morgan Allen
4917cc4f0a very.... 2018-08-02 18:13:41 -07:00
Morgan Allen
0d0935c995 added set coding rate with tests 2018-07-29 14:00:59 -07:00
Morgan Allen
fca72ac0f1 reenable rx after sending 2018-07-29 00:46:33 -07:00
Morgan Allen
1906e8f46d initial commit.... after 6 months 2018-07-28 11:33:15 -07:00