- Posts: 60
Serial out for LRS boxes
- Elmtree
- Topic Author
- Offline
I don't have a crossfire module to test, but it looks like implementing that serial protocol (IDK about telmetry) would be pretty easy as well.
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
For now I've attached the two changed files. It's just an edited version of ppmout.c to use serial.
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
github.com/Elmeerkat/deviation
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Convention is to make pull requests from branches, so best to move the changes to a branch before making a PR. Makes it easier for others to test and keeps history cleaner.
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
edit: I can't remember the exact reason, but I had an issue with resetting extended audio on deinit. It was somehow connected with Protocol_Init() first calling Protocol_DeInit()...
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
so I should keep my fork, but put the changes in BRANCH_5.0? Is that right? And then when the code it ready a pull request is made?
EDIT: wait, do I make my own branch under my fork called something like serialout? and then once it's done I submit a pull request from there? Sorry for all the questions!
Right now I just set the baudrate to 0 on deinit because that's what I saw in the FRSky protocol that has s.port out on the serial port. Should I also do
CLOCK_StopTimer();
@Moeder I don't have audio on my TX. Is there a way I can test that with the emulator or something? Or should I just leave it to the next protocol load?
Please Log in or Create an account to join the conversation.
- hexfet
- Offline
- Posts: 1868
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
EDIT: I think I've done it correctly.
github.com/Elmeerkat/deviation/tree/serialout
Please Log in or Create an account to join the conversation.
- Moeder
- Offline
- Posts: 796
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
Then maybe I can start attacking another protocol that I am able to test.
Please Log in or Create an account to join the conversation.
- sbstnp
- Offline
- Posts: 649
Devo 10 + 4in1
FrSky Taranis + TBS Crossfire
Please Log in or Create an account to join the conversation.
- Macklemore
- Offline
- Posts: 4
www.rcgroups.com/forums/showthread.php?1...=Serial#post38822305
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
Please Log in or Create an account to join the conversation.
- Macklemore
- Offline
- Posts: 4
Please Log in or Create an account to join the conversation.
- Fernandez
- Offline
- Posts: 983
It would be great if we could, natively support it, without serial or ppm links.
(Further more LRS systems are using LORA,such as TBS Crossfire, with very good results)
Please Log in or Create an account to join the conversation.
- xfapv
- Offline
- Posts: 23
thx for working on deviation. Just flashed my 12S last week. Works great!
Elmtree mentioned CRSF would also be possible.
I have a crossfire module laying around here. I cannot code good enough to implement the CRSF protocol myself, but if it is done, I could run some testing on it.
Please Log in or Create an account to join the conversation.
- Elmtree
- Topic Author
- Offline
- Posts: 60
Please Log in or Create an account to join the conversation.
- Whiffles
- Offline
- Posts: 22
Please Log in or Create an account to join the conversation.
- 3D Ambitions
- Offline
- Posts: 7
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Protocol Development
- Serial out for LRS boxes