I am experimenting with "Device->Host" communication using the GZLL library. I am also reading in data from I2C ADC.
1. Communicating with I2C ADC works well alone.
2. GZLL device->host works well alone.
3. When done together, I2C still works (I2C is at the device end), but the host does not receive any data. In fact host starts weird behavior immediately after the call to RFduinoGZLL.begin(role);
Before getting into the detail of the issue, has any one successfully tried GZLL and I2C together? It seems weird but does GZLL have any dependency on GPIO pins, apparently it doesn't seem that GZLL should depend on any GPIO pins. Just curious as I2C is running on the default pins 5,6.
The problem begins much earlier in the setup. Here's a snippet of the setup() function. Before calling RFduinoGZLL.begin(role), the Serial.println produces the correct output i.e. "Before begin()". But after the call, even the Serial.println only writes a partial string i.e. "Aft" and not "After begin()"
Serial.println("Before begin()") ;
// start the GZLL stack
Serial.println("After begin()") ;
Thanks for the help!!