An Empirical Study of Federated Learning on IoT–Edge Devices: Resource Allocation and Heterogeneity | AI Sec Watch