Skip to content

fix(iot-client): rename US region to AZ#7

Merged
heshaoqiong-tuya merged 1 commit into
masterfrom
fix/us-region
Jul 15, 2026
Merged

fix(iot-client): rename US region to AZ#7
heshaoqiong-tuya merged 1 commit into
masterfrom
fix/us-region

Conversation

@sedawwk

@sedawwk sedawwk commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

The US West (Oregon) data center's region string and token prefix is AZ, not US. Rename the enum member US→AZ, update iot_region_to_string(), host macros IOT_US_HOST/IOT_US_PRE_HOSTIOT_AZ_HOST/IOT_AZ_PRE_HOST, and all references in DNS resolution, onboarding, examples, and docs. Enum ordinal (1) is preserved so NVS-stored region values are unaffected.

The US West (Oregon) data center's region string and token prefix is AZ,
not US. Rename the enum member US→AZ, update iot_region_to_string(),
host macros IOT_US_HOST/IOT_US_PRE_HOST → IOT_AZ_HOST/IOT_AZ_PRE_HOST,
and all references in DNS resolution, onboarding, examples, and docs.
Enum ordinal (1) is preserved so NVS-stored region values are unaffected.
@heshaoqiong-tuya
heshaoqiong-tuya merged commit 5e2ce4e into master Jul 15, 2026
4 checks passed
@heshaoqiong-tuya
heshaoqiong-tuya deleted the fix/us-region branch July 15, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants