diff --git a/.development b/.development new file mode 100644 index 0000000..e69de29 diff --git a/extras/MicroModem_Manual_v3.pdf b/extras/MicroModem_Manual_v3.pdf new file mode 100644 index 0000000..4c07a27 Binary files /dev/null and b/extras/MicroModem_Manual_v3.pdf differ diff --git a/library.properties b/library.properties new file mode 100644 index 0000000..a319b40 --- /dev/null +++ b/library.properties @@ -0,0 +1,10 @@ +name=LibAPRS +version=1.0 +author=Mark Qvist +maintainer=Mark Qvist +sentence=A library that turns the aruino into a Ax.25 Modem +paragraph="LibAPRS is a library for the Arduino IDE, that makes it easy to write your own APRS applications for a MicroModem, or compatible build. It allows you to send and receive APRS packets, location updates and messages using simple functions in the Arduino IDE. All the AFSK modulation/demodulation, AX.25 handling, and such is running transparently in the “background” in interrupts, so you can focus on implementing exactly what you want!" +category=Communication +url=http://unsigned.io/projects/libaprs/ +architectures=avr +includes=LibAPRS.h \ No newline at end of file diff --git a/AFSK.cpp b/src/AFSK.cpp similarity index 99% rename from AFSK.cpp rename to src/AFSK.cpp index 47a7e7c..07170fa 100644 --- a/AFSK.cpp +++ b/src/AFSK.cpp @@ -472,4 +472,4 @@ ISR(ADC_vect) { poll_timer = 0; APRS_poll(); } -} \ No newline at end of file +} diff --git a/AFSK.h b/src/AFSK.h similarity index 99% rename from AFSK.h rename to src/AFSK.h index fe2ebad..276ec93 100644 --- a/AFSK.h +++ b/src/AFSK.h @@ -135,4 +135,4 @@ void AFSK_poll(Afsk *afsk); void afsk_putchar(char c); int afsk_getchar(void); -#endif \ No newline at end of file +#endif diff --git a/AX25.cpp b/src/AX25.cpp similarity index 100% rename from AX25.cpp rename to src/AX25.cpp diff --git a/AX25.h b/src/AX25.h similarity index 99% rename from AX25.h rename to src/AX25.h index fdc85f0..10c2ff8 100644 --- a/AX25.h +++ b/src/AX25.h @@ -67,4 +67,4 @@ void ax25_poll(AX25Ctx *ctx); void ax25_sendRaw(AX25Ctx *ctx, void *_buf, size_t len); void ax25_init(AX25Ctx *ctx, ax25_callback_t hook); -#endif \ No newline at end of file +#endif diff --git a/CRC-CCIT.c b/src/CRC-CCIT.c similarity index 99% rename from CRC-CCIT.c rename to src/CRC-CCIT.c index df468b2..7ef215d 100644 --- a/CRC-CCIT.c +++ b/src/CRC-CCIT.c @@ -33,4 +33,4 @@ const uint16_t crc_ccit_table[256] PROGMEM = { 0x6b46, 0x7acf, 0x4854, 0x59dd, 0x2d62, 0x3ceb, 0x0e70, 0x1ff9, 0xf78f, 0xe606, 0xd49d, 0xc514, 0xb1ab, 0xa022, 0x92b9, 0x8330, 0x7bc7, 0x6a4e, 0x58d5, 0x495c, 0x3de3, 0x2c6a, 0x1ef1, 0x0f78, -}; \ No newline at end of file +}; diff --git a/CRC-CCIT.h b/src/CRC-CCIT.h similarity index 98% rename from CRC-CCIT.h rename to src/CRC-CCIT.h index a354ba7..10b3ddc 100644 --- a/CRC-CCIT.h +++ b/src/CRC-CCIT.h @@ -15,4 +15,4 @@ inline uint16_t update_crc_ccit(uint8_t c, uint16_t prev_crc) { } -#endif \ No newline at end of file +#endif diff --git a/FIFO.h b/src/FIFO.h similarity index 99% rename from FIFO.h rename to src/FIFO.h index b9850a1..9d7b41b 100644 --- a/FIFO.h +++ b/src/FIFO.h @@ -82,4 +82,4 @@ inline size_t fifo_len(FIFOBuffer *f) { return f->end - f->begin; } -#endif \ No newline at end of file +#endif diff --git a/HDLC.h b/src/HDLC.h similarity index 94% rename from HDLC.h rename to src/HDLC.h index 3ee0808..e0f1080 100644 --- a/HDLC.h +++ b/src/HDLC.h @@ -5,4 +5,4 @@ #define HDLC_RESET 0x7F #define AX25_ESC 0x1B -#endif \ No newline at end of file +#endif diff --git a/LibAPRS.cpp b/src/LibAPRS.cpp similarity index 100% rename from LibAPRS.cpp rename to src/LibAPRS.cpp diff --git a/LibAPRS.h b/src/LibAPRS.h similarity index 100% rename from LibAPRS.h rename to src/LibAPRS.h diff --git a/constants.h b/src/constants.h similarity index 79% rename from constants.h rename to src/constants.h index ee89fc3..f004414 100644 --- a/constants.h +++ b/src/constants.h @@ -3,4 +3,4 @@ #define m644p 0x03 #define REF_3V3 0x01 -#define REF_5V 0x02 \ No newline at end of file +#define REF_5V 0x02 diff --git a/device.h b/src/device.h similarity index 98% rename from device.h rename to src/device.h index 0e35eec..7ff2aa9 100644 --- a/device.h +++ b/src/device.h @@ -29,4 +29,4 @@ #define ADC_DDR DDRC #endif -#endif \ No newline at end of file +#endif diff --git a/src/src.ino b/src/src.ino new file mode 100644 index 0000000..b824cd3 --- /dev/null +++ b/src/src.ino @@ -0,0 +1,2 @@ +// Do not add to this file (src.ino) it only serves to allow users to easily open the underlying c/c++ and header files of LibAPRS to view/edit in arduino IDE +