-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the RADIO peripheral in the COM example #27
Comments
Code to initialize the radio, and to send and receive packets has been pushed to https://github.com/CMUAbstract/tab/tree/issue-27-exploratory |
Code works with one COM board set up as transmitter and the other set up as a receiver, bytes get recovered correctly and can be seen on UART. (I hard coded the UART transfer to test, it is currently commented out and needs to be removed later) |
Commit ccb298c adds support for sending TAB commands over radio and the forwarding functions necessary to make this useful. The main file has been adjusted to a demo where one COM board receives the command over UART, then forwards it over RADIO to the next board which again forwards to UART, emulating the progression of a command from GND to the CDH. This gives the following output:
|
I also quickly tried experimenting with routing and have a commit (f4d05d5) that appears to work, though the CDH board on the FlatSat is currently unplugged, so I tested with the COM's TX plugged back into my laptop. (So it is not clear if CDH replies get sent back correctly by COM) I had the following output:
Successful GND->CDH forward:
|
init_radio
function to use the radio peripheral (without BLE mode)The text was updated successfully, but these errors were encountered: