Hi, All
My project is create a wireless sensor network (wsn) based in Xbee S1 and using an arduino with xbee shield (wrl 09954) and wifly shield (wrl-10854). My wsn has more than one sensor and I am using the Xbee API mode because I need to indentify the origin of the informations. The arduino concentrate the information and transmit the information thru the wifly shield to cloud. When I monitory the information came from sensor (using the function 17 to polling)I have received the information normally:
Sensor network Greco
Arduino Base - 01
7E,0,14,97,1,0,13,A2,0,40,A1,B,9,50,3,49,53,0,1,2,0,3,FF,C9,
Function Code =97
Sensor Address =5003
AD0 value =1023
When I use the command below to create my adHoc network the base does not receive the information transmitted by sensor network
WiFly.createAdHocNetwork(ssid))
So I changed the parameter of the WiFly.createAdHocNetwork(ssid) routine library at wifly device library to not have flow control because the Xbee API work with no flow control but nothing happened .
sendCommand(F(“get uart”), false, “Flow=0x00”); // library modification
Follow bellow My network configuratio:
Sensor configuration:
ID PAN = 10
DL = 5001
MY = 5003
API = 0
D0 =2
Base (arduino) configuration:
ID PAN = 10
DL = 5003
MY = 5001
API = 1
Wifly configuration:
Using the default configuration give by WiFly.createAdHocNetwork(ssid)) give only the parameter ssid = Greco
Please, does anyone have any idea what’s going on?