XBee Wifi receiver
STiGMa
Posts: 7
Problem: I have an XBee S6B wifi module attached on a propeller activity board. How can I send data to a software running on a laptop (in the same network) if the communication(e.g., socket) link starts from the activity board?
Additional Details:The XBee (with static IP address) communicates through a router with a minimal program running on my laptop. The program sends some commands to the board when needed and the board sends a heartbeat at frequent intervals. This runs fine, provided that the laptop is the initiator of this communication. I wonder whether it is possible to make the XBee module the initiator of this activity. For example, is there any command (I'm using C) to specify the IP address of the receiver? I could only find xbee = fdserial_open(6,5,0,9600); // P6 connected to DO, P5 connected to DI
I assume that the xbee stores the IP address of the laptop after the latter starts the communication, but is it possible to go the other way around?
Additional Details:The XBee (with static IP address) communicates through a router with a minimal program running on my laptop. The program sends some commands to the board when needed and the board sends a heartbeat at frequent intervals. This runs fine, provided that the laptop is the initiator of this communication. I wonder whether it is possible to make the XBee module the initiator of this activity. For example, is there any command (I'm using C) to specify the IP address of the receiver? I could only find xbee = fdserial_open(6,5,0,9600); // P6 connected to DO, P5 connected to DI
I assume that the xbee stores the IP address of the laptop after the latter starts the communication, but is it possible to go the other way around?
Comments
https://www.parallax.com/news/2015-01-26/wireless-programming-and-propeller-activity-board-wx-software-and-hardware