| Commit message (Collapse) | Author | Age |
| ... | |
| |
|
|
|
|
| |
two sync bytes for packet mode, disable sync for rdf/aprs mode.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This involved figuring out which GPIO signal would reliably indicate
that the transmitter was finished; I ended up using the PA_PD bit for
this.
This also converts all of the radio users to the long packet support
as the CC115L has only a 64-byte fifo, not large enough to hold either
an RDF tone or a regular AltOS telemetry packet.
This also renames the public API for sending APRS packets from
ao_radio_send_lots to ao_radio_send_aprs, which is at least more
accurate. The workings of that API haven't changed, just the name.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
|
| |
These expose the raw cc115l and rfpa0133 register settings so that we
can calibrate them against measured power outputs.
I've tested them to verify that they change how much power the board
consumes, so they're clearly doing something...
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
Generalizes the FAT code to deal with either 16-bit or 32-bit
versions. The testing code now runs over a variety of disk images to
check for compatibility on all of them.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
This improves sequential file performance by taking advantage of any
previous cached cluster/offset pair and starting from there when the
cluster changes rather than starting from scratch at the begining again.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This improves read/write performance with large files by not
re-walking the cluster chain for every operation
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
| |
Make FAT api provide reasonable error return values, change the tests
to write and then read a pile of files, checking that the contents are
correct (using md5sum).
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Make sure the busy counts don't underflow or overflow.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
The check for no pyro config is to compare npyros against zero rather
than check the length of the pyros array as the latter may be null.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
|
|
| |
The newer(?) chips in telegps didn't like the previous programming
scheme, so go back to fixed time for write, which does an implicit
erase before every write. Also clear the DATA bit, which is only
needed for double word erase/programming.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Otherwise, lots of random code won't know about the radio..
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Allow the bufio code to signal a fatal error if someone misuses the API
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
| |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
This adds a fairly primitive FAT16 file system implementation
along with support for SD cards.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Use the new radio recv define to skip disabling the receiver when
there isn't a receiver.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
The CC115L is xmit only, so split out the functions and provide
defines to check for xmit or recv separately as needed.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
SD cards require 0xff when fetching data
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Still no data, but at least the carrier comes up on frequency now.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
No configuration of power level yet, just the bare driver.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Doesn't actually do anything yet, but should initialize the chip at least
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Includes support for sending telemetry, RDF and APRS tones
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Set baud rate to 9600, look for FTDI-style names
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Just lights up the GPS and USB
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
| |
Dumps out a µP log. Useful for µPusb bring-up
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |
|
|
|
|
|
| |
Add text explaining that the LED and phototransistor must be
touching to both the doc and the UI.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\ |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Allows reliable fetching of a GoogleMap handle.
* Set map options, initial location (NCR North for now, temporarily)
* Add some info fields below map, and update them accordingly
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |\ |
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |\| |
|
| | | |
| | |
| | |
| | | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |/
|/|
| |
| |
| |
| | |
This makes stm-demo run on the discovery board again.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This lets you edit a telemetry file. The only current editing
available is to change the pad location, allowing a flight to be
replayed anywhere in the world.
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| |
| |
| | |
This takes a telemetry structure and generates a string version
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| | |
| |
| |
| | |
Signed-off-by: Keith Packard <keithp@keithp.com>
|
| |\| |
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Includes TabsAdapter class borrowed from Support Library sample code
* New "GoNoGoLights" class for dealing with the red/green/gray LEDs
* extra required strings in strings.xml
* Couple of support functions in AltosDroid.java
* rudimentary Maps tab - does nothing at present.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
DAMN my OCD.
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| | |
* Will be used from tabs that display lat/lon
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| |
| |
| |
| |
| | |
* Rename target
* Add dependency on unsigned release APK
* use $(ZIPALIGN) variable
Signed-off-by: Mike Beattie <mike@ethernal.org>
|
| | |
| |
| |
| | |
Signed-off-by: Mike Beattie <mike@ethernal.org>
|