# Various SUB files I've found or created. Some tested, some not.
Special thanks to [FalsePhilosopher](https://github.com/FalsePhilosopher) for organization help and everyone else that shares files!
## How are the raw SUB files are formatted? (Adapted from a chat with Olivi55!)
This is a very quick and dirty explanation of the Flipper "raw" SUB format. Enough to figure out more at least.
Each numerical value is the duration of a pulse in microseconds. Positive is `1` and negative is `0`.
Example: `3607 -100 1789 -66` means 1 (positive) during the `3607µs` then 0 (negative) during the `100µs`, etc.
## NOTE: The deBruijn and OpenSesame files have moved to the [Garages subfolder](https://github.com/UberGuidoZ/Flipper/tree/main/Sub-GHz/Garages/deBruijn).
You can generate MANY of your own SUBs, such as MegaCode and Firefly, over at [Flipper Maker](https://flippermaker.github.io/).
Looking to mess with garage doors? You can try the OpenSesame/deBruijn files above.
(Also check out more info at [RemoteDup](https://www.ifoedit.com/RemoteDup.html), [GarageHack](https://www.ifoedit.com/garagehack.html), and [Learn Button coding](https://support.dealer.liftmaster.com/articles/Knowledge/Determine-the-Color-of-the-Learn-Button-on-Your-Garage-Door-Opener).
# Frequency limitations and caveats
Officially supported frequencies: 300-348 MHz, 387-464 MHz, and 779-928 MHz (from [CC1101 chip docs](https://www.ti.com/product/CC1101))
Unofficially supported frequencies: 281-361 MHz, 378-481 MHz, and 749-962 MHz (from [YARD Stick One](https://greatscottgadgets.com/yardstickone/) CC1111 docs)
Official does not allow anything outside of the officially supported CC1101 specs.
RogueMaster & CodeGrabber (Unleashed) allows unofficially supported frequencies with the `extend_range` and `dangerous_settings` files.
**NOTE: Going outside the officially supported frequencies may DAMAGE YOUR FLIPPER AMP.
Please understand what you're doing if trying to break out of official frequencies.**
You'll need to edit some code and recompile if you want to break outside of the officially supported frequencies. [Proceed with caution.](https://github.com/UberGuidoZ/Flipper/blob/main/Sub-GHz/Restaurant_Pagers/SubGHz_changes.md)
`Allowed to transmit (MHz):`
`R01: 433.05-434.79; 868.15-868.55`
`R02: 304.10-321.95; 433.05-434.79; 915.00-928.00`
`R03: 312.00-315.25; 920.50-923.50`
`Shipped to:`
`R01: EU, UK, RU, UA, BY, BA, PF, VA, IS, KZ, LI, MD, MK, NO, RS, CH, TR`
`R02: US, CA, AU, NZ, MX, BR, CL, AR, UM`
`R03: rest of the world`
# Modulation (AM/FM)
AM650 and FM650 modulation tries to cover more range of frequencies at the cost of less pickup distance.
AM270 and FM270 modulation offer a more narrow range, but have a cleaner pickup and slightly better distance.
[Official documentation is an excellent read!](https://docs.flipperzero.one/sub-ghz/modulation)