Zend certified PHP/Magento developer

How can I view traffic from a Android or iOS device to a IoT device? [migrated]

I need to troubleshoot/debug some data being sent from an Android and/or iPhone to an IoT device using 802.11n w/WPA2. I’ve proxied traffic from a mobile phone to a web server exposed to the public Internet before using tools such as Charles proxy and Wireshark. However, in those cases, my computer was connected to the Internet and the mobile device connected to my computer and used it as a proxy. Since the mobile must be connected to the IoT device rather than my computer, I have no option of sitting my computer “in the middle” to observe traffic. Also, the mobile app sending the data can tell if it’s connected to the IoT device and won’t allow connections from it to my computer to proxy traffic. Is there any other solution?

To clarify: the relationship is that the IoT device hosts its own WiFi Access Point which the mobile device connects to. I am NOT talking about two devices connected to a router as in most “home networks.” Here, the IoT device broadcasts the WiFi signal that the mobile device connects to.