Rethinking IoT for wireless connectivity, security, and AI