1355 Commits
Author SHA1 Message Date
Mike Ryan acdf7124f7 lib: the plural of ubertooth is uberteeth 2018-06-21 21:05:11 -07:00
Mike Ryan 3c23d50e1d le: memset the entire channel map
This was causing intermittent hard faults.
2018-06-19 12:34:12 -07:00
Mike Ryan 8756e626b4 le: handle channel map updates during connections 2018-06-19 12:34:12 -07:00
Mike Ryan 1af59e2d3d le: fix channel mapping in LE
This had been indexing into empty memory in certain scenarios for high
numbered channel indices. This fix ensures that the mapping index is
always one of the appropriately mapped channels.

Fixes #314
2018-06-19 12:34:12 -07:00
Mike Ryan ac380fcadf le: use requested channel in new PHY
Allow the user to specify which advertising channel to listen on.
2018-06-19 12:34:12 -07:00
Mike Ryan 86e8ec0dfd le: disable DMA without fully powering off DMA controller
Leave the DMA controller functioning between packets so we can use it
for other tasks, such as debug UART.
2018-06-19 12:34:12 -07:00
Mike Ryan 2d512176ad le: add missing include to silence warning 2018-06-19 12:34:12 -07:00
Mike Ryan cba81f8dc1 le: handle partial channel maps on CONNECT_REQ
Still to be implemented: channel map update procedure
2018-06-19 12:34:12 -07:00
Mike Ryan 2c1d800532 le: implement supervision timeout for when connections are dropped 2018-06-19 12:34:12 -07:00
Mike Ryan e26045fca9 le: allow two access code violations 2018-06-19 12:34:12 -07:00
Mike Ryan 6bfda52c0a le: follow connections
Shortcomings:
 - never returns to advertising channel
 - does not support connection parameter updates
 - all the other shortcomings of existing hopping code
2018-06-19 12:34:12 -07:00
Mike Ryan 0b805e3219 le: do not allow LNA and mixer to power down (addresses errata)
Refer to CC2400 Errata Note 002
2018-06-19 12:34:12 -07:00
Mike Ryan 6e01ee273a le: parenthesize timer macros 2018-06-19 12:34:12 -07:00
Mike Ryan a51718c416 le: use a single 8-bit preamble
This change does not impact RX mode, but if we ever implement TX mode
this modem config is extremely important to meet timing requirements.
2018-06-19 12:34:11 -07:00
Mike Ryan c8a7fed1ad le: sample timestamp as early as possible in DMA handler 2018-06-19 12:34:11 -07:00
Mike Ryan f411b3c781 le: scaffolding for hopping code, will hop to first data channel
Code remains on first data channel indefinitely until the device is
reset.
2018-06-19 12:34:11 -07:00
Mike Ryan 865bab3870 le: filter advertising packets 2018-06-19 12:34:11 -07:00
Mike Ryan 550400f12b le: wait for FS_LOCK in the background using timer interrupts 2018-06-19 12:34:11 -07:00
Mike Ryan 6ba0e8a6bc le: packet timestamp is before preamble 2018-06-19 12:34:11 -07:00
Mike Ryan 47769406d4 le: macros for milliseconds and microseconds 2018-06-19 12:34:11 -07:00
Mike Ryan 0c44bb2fc9 le: track RSSI 2018-06-19 12:34:11 -07:00
Mike Ryan 85450e2664 le: buffer clearing helper 2018-06-19 12:34:11 -07:00
Mike Ryan aabbfa5462 le: select peripheral clock for timer 1
The default value for the timer 1 peripheral clock yields a timer that
is half the speed that it needs to be.
2018-06-19 12:34:11 -07:00
Mike Ryan 7d5735c104 le: whitespace and comments cleanup 2018-06-19 12:34:11 -07:00
Mike Ryan 218a24d35d le: basic advertising-only LE PHY 2018-06-19 12:34:11 -07:00
Mike Ryan d0643dff2f host: resolve u8/u16/u32/u64 to stdint types 2018-06-02 20:15:16 -07:00
Dominic Spill 1e45cf2d0b Travis-ci: fix libusb install error on OS X 2018-05-01 09:06:03 -06:00
Dominic Spill f9708cf698 Merge pull request #269 from Nerade/iss57
Added hint in README for library not found issue
2018-05-01 07:38:01 -06:00
Mike Ryan 287303cca6 debug uart: use DMA for debug_printf
This implementation co-opts DMA channel 7 for exclusive use by the debug
UART. Don't like it? Write your congressman.
2017-12-26 21:16:15 -08:00
Mike Ryan 80b72d9a71 debug uart: import tinyprintf to save on code space
tinyprintf is fairly fully featured and reduces our code size by
something like 50% compared to vanilla printf. Best of all it's LGPL,
which is compatible with our GPL.
2017-12-26 21:16:15 -08:00
Mike Ryan bb94fd163c firmware: debug UART 2017-12-26 21:16:10 -08:00
Mike Ryan 0681ef60c7 firmware: disable individual DMA channels instead of whole controller
Previously the code shut down the entire DMA controller when it wanted
to reset state on an individual channel. This un-neighborly behavior
makes it impossible for other firmware components to make use of DMA.

This patch rejiggers things so that only individual channels are
disabled when they are not needed. The GPDMA controller fully powered on
at boot time, for a small power penalty when idle. But since when did
this project care about power savings?

Note that this is only lightly tested and possibly has weird corner
case side effects.
2017-12-24 20:28:08 -08:00
Mike Ryan 3356e5b920 firmware: concurrent-safe queue 2017-11-13 20:36:09 -08:00
Mike Ryan 3416ea2b40 firmware: clkn_disable (new) and dma_disable (newly public) 2017-11-13 20:31:18 -08:00
Mike Ryan 550d190d97 le: btle_channel_index sensibly takes physical channel as input 2017-11-12 13:58:43 -08:00
Mike Ryan ab5fd25a5c firmware: rename USB queue functions 2017-11-12 13:53:04 -08:00
xbarte14 831ded2d4a Memory leak fix (#274)
* Memory leak fix
2017-06-23 10:35:51 -06:00
Nerade 6da6061c0a Added hint in README for library not found issue 2017-06-09 09:42:57 +02:00
Mike Ryan 743e9e8765 release checklist: update README + channel topic 2017-04-15 10:06:41 -07:00
Dominic Spill 21e2064fb7 Merge pull request #260 from tomsaul/patch-1
Update README.md
2017-04-15 05:59:30 +02:00
Tom Saul c5a2ca0c18 Update README.md 2017-04-14 17:41:42 -07:00
Dominic Spill b2a87d3ebd Update release notes for 2017-03-R2 2017-03-R2 2017-03-13 16:07:02 -06:00
Dominic Spill 90980e2f7e Add changelog file 2017-03-13 16:04:54 -06:00
Dominic Spill f7aad96c34 Update release procedure to match new version system 2017-03-13 15:49:29 -06:00
Dominic Spill c01def2752 Set release version number based on a hierarchy of:
1) RELEASE_STRING
2) git commit
3) defined release
2017-03-13 15:47:00 -06:00
Dominic Spill 697209b16d Ignore editor settings/backups/etc 2017-03-13 15:45:37 -06:00
Dominic Spill fb05b2cafd Udate documentation to reflect fix to ubertooth-debug arg parsing 2017-03-13 15:34:20 -06:00
Dominic Spill 63479bfd08 Make sweep mode default for ubertooth-rx 2017-03-13 15:22:13 -06:00
Mike Ryan 55a65ad7aa host: -debug works with registers > 0x10, plus case insensitive! 2017-03-13 14:17:55 -07:00
Dominic Spill 6ce6adac0b Tweak ubertooth-debug help output 2017-03-13 15:10:13 -06:00