John-Mark Gurney
a3eb1e8b4d
get the basic rs485 to cdc gateway working...
This follows the same protocol as the lora code, so the same
server should just work.
2 years ago
John-Mark Gurney
3d9d8a3d9c
add wrapper, si_usb.h, clean up si_usb a little, and use wrapper
2 years ago
John-Mark Gurney
606ba3ea78
use SYSINIT and break things out/make more generic and modular...
This gets USB CDC printing working..
2 years ago
John-Mark Gurney
c171ea44b0
make sysinit's work, required a make to the linker script..
add some more missing files now that it includes the symbols..
2 years ago
John-Mark Gurney
ac1a5177b4
add framework to get things started...
2 years ago
John-Mark Gurney
2a35f5648e
use funopen/stdio to buffer output, "fix" for FreeBSD...
convert to using stdio to line buffer usb output... This reduces
usb traffic like when doing hexdump...
The delay works, but could be a problem on slower systems... It's
been reported, so hopefully a fix will happen..
3 years ago
John-Mark Gurney
5baba3ad59
add memory debug buffer.. Fix FreeBSD by adding a delay..
3 years ago
John-Mark Gurney
a9aa658b55
reenable seeding prng w/ rssi.. up preamble from 4 to 8 for reliability...
Before this, I was VERY frequently having to retry.. changing just
the gw improved things significantly, but changing it on both results
is no observable retries.. This is also the default that the example
apps in loramac uses..
3 years ago
John-Mark Gurney
0875be381d
make sure we filp back to rx after we're done tx'ing...
eliminate the strobe code as it isn't used, this just pushes
packets back and forth..
3 years ago
John-Mark Gurney
d6c8ef06ab
add pin description, and use the analog pin to provide randomness..
3 years ago
John-Mark Gurney
d0cc4dd2c9
use the radio RSSI for a source... we may want to shorten this as it takes
3-4 seconds to gather all this... need to add a blinking light to this
so it's clear that it's still starting..
3 years ago
John-Mark Gurney
adc9427e22
remove unused parameters..
3 years ago
John-Mark Gurney
20f123cfc9
move _rng_save earlier, drop some register debugging...
3 years ago
John-Mark Gurney
9db30b71f0
add support for saving PRNG state to EEPROM...
This is better than using RAM, as it keeps the state between power
cycles...
3 years ago
John-Mark Gurney
0415edce83
add copyright statement to various files as needed..
3 years ago
John-Mark Gurney
ecec669bf5
fix return to return false, not -1...
3 years ago
John-Mark Gurney
0835e16706
add ability to send arbitrary packets that are hex encoded..
3 years ago
John-Mark Gurney
36967b2146
init rx/tx from same set of parameters...
3 years ago
John-Mark Gurney
90ff8701a8
get tx/rx working between two Node151's..
3 years ago
John-Mark Gurney
adafb3a411
print out some randomness when starting up for now.. shows it's
all working...
3 years ago
John-Mark Gurney
ab2637258f
get basic usb CDC working, and basic strobe working...
3 years ago
John-Mark Gurney
eda0e27068
add the code to initalize the RNG w/ SRAM..
3 years ago