Skip to content

Instantly share code, notes, and snippets.

View stilldavid's full-sized avatar
💽
minidisc'in

David Stillman stilldavid

💽
minidisc'in
View GitHub Profile
Benchmarking 84.194.241.161 (be patient).....done
Server Software:
Server Hostname: 84.194.241.161
Server Port: 8080
Document Path: /
Document Length: 269 bytes
$$KI6YMZ,128,2574900,4006514,-10521007,159260,17,25528,2056*0055
$$KI6YMZ,129,2580600,4006514,-10521008,159260,4,25528,2056*006D
$$KI6YMZ,130,2582300,4006514,-10521007,159260,6,25528,2062*0068
$$KI6YMZ,131,2584000,4006514,-10521007,159260,16,25528,2062*005D
$$KI6YMZ,132,2585700,4006512,-10521006,159260,15,25528,2056*005B
$$KI6YMZ,133,2591400,4006511,-10521005,159260,3,25528,2056*006B
$$KI6YMZ,134,2593100,4006510,-10521006,159260,4,25528,2056*006E
$$KI6YMZ,135,2594800,4006510,-10521006,159260,16,25528,2056*0052
$$KI6YMZ,136,3000500,4006512,-10521006,159260,14,25528,2056*0055
$$KI6YMZ,137,3002200,4006513,-10521007,159260,15,25528,2056*0050
uint8_t xor_checksum(char *string) {
size_t i;
uint8_t XOR;
uint8_t c;
XOR = 0;
// Calculate checksum ignoring the first two $s
for (i = 2; i < strlen(string); i++) {
c = string[i];
XOR ^= c;
}
// RADIO
#define RADIO_SPACE 10
#define RADIO_MARK 11
#define ASCII_BIT 8
void rtty_txstring (char * string) {
char c;
c = *string++;
while ( c != '\0') {
rtty_txbyte (c);