Agent issues?

i have some code that talks back and forth between the imp and the agent. it runs fine for a while but at some point the agent stats giving me “[Agent] ERROR: the index ‘send’ does not exist” on the following line:
imp.send(“resendConfig”,0);

what am i missing here? the ide tells me that the imp and agent are online. re-sending the firmware reboots the imp and agents and fixes the issue.

It’s not called “imp.send”: https://electricimp.com/docs/api/device/send/

Peter

well, thats embarrassing! thanks.