A client with PhoneGap was created and currently is working only the connect and disconnect events