Can a device with Zigbee Light Link ZLL connect to a Zigbee Home Automation HA network
Yes.  That's kinda the whole point behind ZLL.  

Update to Update:
That's why I don't use third party APIs. When something goes wrong it's not worth the effort to figure out someone else's code to fix the bug.