-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final code release from Fall 2023 launch
- Loading branch information
Showing
17 changed files
with
5,939 additions
and
5,929 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
#define SSID1 "RedRover" // Change as needed | ||
#define PASSWORD1 NULL // Change as needed | ||
|
||
#define SSID2 "iPhone" // Change as needed | ||
#define PASSWORD2 "radioclub" // Change as needed | ||
|
||
#include "localssids.h" // Can override SSID's above. This file will be empty in github. | ||
|
||
#define LORA_2_PAYLOAD_CALLSIGN "KD2EAT-11" | ||
#define MY_CALLSIGN "KD2EAT-10" | ||
|
||
//#define READONLY_STATION | ||
|
||
#define BROADCAST_MASK (uint32_t)0x000000ff // Be dumb and assume /24 networks for now | ||
#define PAYLOAD_SUMMARY_PORT 55673 | ||
//#define PAYLOAD_SUMMARY_PORT 5000 | ||
#define UDP_LOGGING_PORT 5010 | ||
#define PAYLOAD_SUMMARY_INTERVAL 10000 // Interval for UDP packet sending (ms) | ||
|
||
#define DROP_SWITCH 32 | ||
#define SAFETY_SWITCH 33 | ||
#define SWITCH_PARACHUTE 23 | ||
#define SWITCH_BUZZER 0 | ||
#define LED_DROP 12 // Blue | ||
#define LED_WARNING 13 // Yellow | ||
#define LED_SAFETY 17 // Red | ||
#define LED_WIFI_STATUS 2 | ||
#define LED_BUZZER 22 | ||
#define LED_PARACHUTE 25 | ||
#define SSID1 "RedRover" // Change as needed | ||
#define PASSWORD1 NULL // Change as needed | ||
|
||
#define SSID2 "iPhone" // Change as needed | ||
#define PASSWORD2 "radioclub" // Change as needed | ||
|
||
#include "localssids.h" // Can override SSID's above. This file will be empty in github. | ||
|
||
#define LORA_2_PAYLOAD_CALLSIGN "KD2EAT-11" | ||
#define MY_CALLSIGN "KD2EAT-10" | ||
|
||
//#define READONLY_STATION | ||
|
||
#define BROADCAST_MASK (uint32_t)0x000000ff // Be dumb and assume /24 networks for now | ||
#define PAYLOAD_SUMMARY_PORT 55673 | ||
//#define PAYLOAD_SUMMARY_PORT 5000 | ||
#define UDP_LOGGING_PORT 5010 | ||
#define PAYLOAD_SUMMARY_INTERVAL 10000 // Interval for UDP packet sending (ms) | ||
|
||
#define DROP_SWITCH 32 | ||
#define SAFETY_SWITCH 33 | ||
#define SWITCH_PARACHUTE 23 | ||
#define SWITCH_BUZZER 0 | ||
#define LED_DROP 12 // Blue | ||
#define LED_WARNING 13 // Yellow | ||
#define LED_SAFETY 17 // Red | ||
#define LED_WIFI_STATUS 2 | ||
#define LED_BUZZER 22 | ||
#define LED_PARACHUTE 25 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// This file can be pulled into your source tree and modified to match your own wifi configuration We do this so that your SSIDs and passwords won't leak into github. | ||
// If you uncomment defines below, they will override the ones set in config.h | ||
|
||
//#define SSID1 "CHANGEME" // Change as needed | ||
//#define PASSWORD1 "CHANGEME" // Change as needed | ||
|
||
//#define SSID2 "CHANGEME" // Change as needed | ||
//#define PASSWORD2 "CHANGEME" // Change as needed | ||
// This file can be pulled into your source tree and modified to match your own wifi configuration We do this so that your SSIDs and passwords won't leak into github. | ||
// If you uncomment defines below, they will override the ones set in config.h | ||
|
||
#define SSID1 "The Hojos" // Change as needed | ||
#define PASSWORD1 "quiltsail1" // Change as needed | ||
|
||
#define SSID2 "Thehojos mobile 2.4" // Change as needed | ||
#define PASSWORD2 "Ball00nZ!" // Change as needed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
#define LORA_GROUND_STATION 0xbb | ||
#define LORA_BROADCAST 0xff | ||
#define LORA_TRACKER 0xaa | ||
|
||
typedef struct TelemetryData { //Tbeam to Ground Station | ||
byte DestinationAddr; | ||
byte SourceAddr; | ||
int16_t TrackerRSSI; | ||
uint32_t MsgCount; | ||
int32_t Lat; | ||
int32_t Lng; | ||
int32_t Hdop; | ||
float TrackerSNR; | ||
int16_t Millivolts; | ||
int16_t TempTenths; | ||
uint16_t Altitude; | ||
uint16_t MaxAltitude; | ||
uint16_t LastCommandReceived; | ||
uint16_t BadPacketsReceived; | ||
uint16_t Year; | ||
uint8_t Month; | ||
uint8_t Day; | ||
uint8_t Hour; | ||
uint8_t Minute; | ||
uint8_t Second; | ||
uint8_t Satellites; | ||
uint8_t BearDropped; //being sent back from the bear | ||
uint8_t ParachuteDropped; //being sent back from the bear | ||
uint8_t GoodFix; | ||
uint8_t OverrideReceived; // don't need Tbeam to communicate this to ground but need vise versa? | ||
uint8_t BuzzerReceived; // don't need Tbeam to communicate this to ground but need vise versa? | ||
uint8_t Checksum[2]; // Calculated just before we send the packet | ||
}; | ||
|
||
|
||
typedef struct TeleCommand { | ||
byte DestinationAddr; | ||
byte SourceAddr; | ||
uint16_t CommandCount; | ||
uint8_t dropSwitchState; | ||
uint8_t parachuteSwitchState; | ||
uint8_t overrideSwitchState; | ||
uint8_t buzzerSwitchState; | ||
uint8_t Checksum[2]; // Calculated just before we send the packet | ||
|
||
}; | ||
#define LORA_GROUND_STATION 0xbb | ||
#define LORA_BROADCAST 0xff | ||
#define LORA_TRACKER 0xaa | ||
|
||
typedef struct TelemetryData { //Tbeam to Ground Station | ||
byte DestinationAddr; | ||
byte SourceAddr; | ||
int16_t TrackerRSSI; | ||
uint32_t MsgCount; | ||
int32_t Lat; | ||
int32_t Lng; | ||
int32_t Hdop; | ||
float TrackerSNR; | ||
int16_t Millivolts; | ||
int16_t TempTenths; | ||
uint16_t Altitude; | ||
uint16_t MaxAltitude; | ||
uint16_t LastCommandReceived; | ||
uint16_t BadPacketsReceived; | ||
uint16_t Year; | ||
uint8_t Month; | ||
uint8_t Day; | ||
uint8_t Hour; | ||
uint8_t Minute; | ||
uint8_t Second; | ||
uint8_t Satellites; | ||
uint8_t BearDropped; //being sent back from the bear | ||
uint8_t ParachuteDropped; //being sent back from the bear | ||
uint8_t GoodFix; | ||
uint8_t OverrideReceived; // don't need Tbeam to communicate this to ground but need vise versa? | ||
uint8_t BuzzerReceived; // don't need Tbeam to communicate this to ground but need vise versa? | ||
uint8_t Checksum[2]; // Calculated just before we send the packet | ||
}; | ||
|
||
|
||
typedef struct TeleCommand { | ||
byte DestinationAddr; | ||
byte SourceAddr; | ||
uint16_t CommandCount; | ||
uint8_t dropSwitchState; | ||
uint8_t parachuteSwitchState; | ||
uint8_t overrideSwitchState; | ||
uint8_t buzzerSwitchState; | ||
uint8_t Checksum[2]; // Calculated just before we send the packet | ||
|
||
}; |
Oops, something went wrong.