flipperdevices / flipperzero-firmware

Flipper Zero firmware source code
https://flipperzero.one
GNU General Public License v3.0
12.62k stars 2.69k forks source link

Incorrect subghz frequency bands for Thailand region (TH) #3650

Closed panangam closed 4 months ago

panangam commented 4 months ago

Describe the bug.

The subghz module does not allow transmitting frequencies in the range ~433Mhz, saying "Transmission is blocked". According to the Thai website, this range is allowed for amateur radio. In fact, I live in Thailand, and have been receiving signals in this frequency range from various of my RF remotes already, so it seems to be widely used.

Screenshot_20240516_142504

IMG20240516142750

Reproduction

  1. Update firmware to the latest version using the mobile app while in Thailand (not sure how the app figures out the region).
  2. Navigate to Subghz -> Region Information and see that the ~433Mhz range is not listed.

Target

No response

Logs

No response

Anything else?

It seems to be using the same frequency bands as the Japanese region. I would try to open a pull request, but somehow could not find anywhere in the source code where the "TH" region is even defined.

CookiePLMonster commented 4 months ago

The region database indeed seems to assign Japanese frequencies to Thailand: https://update.flipperzero.one/regions/api/v0/bundle "TH":["F_JP_312","F_JP_920"]

panangam commented 4 months ago

The region database indeed seems to assign Japanese frequencies to Thailand: https://update.flipperzero.one/regions/api/v0/bundle "TH":["F_JP_312","F_JP_920"]

Interesting. Is there anyway to contribute to this list?

CookiePLMonster commented 4 months ago

Interesting. Is there anyway to contribute to this list?

Not that I am aware.

skotopes commented 4 months ago

The region database indeed seems to assign Japanese frequencies to Thailand: https://update.flipperzero.one/regions/api/v0/bundle "TH":["F_JP_312","F_JP_920"]

Interesting. Is there anyway to contribute to this list?

This repository is exactly where it should be done. I'll take a look on provided papers tomorrow and update list if our certification lab accepts it.

skotopes commented 4 months ago

I've updated region data, should be correct now