(function(f,c,e){var b="Rho.Bluetooth";var a=e.apiReqFor(b);function d(){var g=null;this.getId=function(){return g};if(1==arguments.length&&arguments[0][e.rhoIdParam()]){if(b!=arguments[0][e.rhoClassParam()]){throw"Wrong class instantiation!"}g=arguments[0][e.rhoIdParam()]}else{g=e.nextId()}}e.createPropsProxy(d.prototype,[],a,function(){return this.getId()});e.createMethodsProxy(d.prototype,[],a,function(){return this.getId()});e.createRawPropsProxy(d.prototype,[]);e.createPropsProxy(d,[],a);e.createMethodsProxy(d,[{methodName:"readData",nativeName:"readData",persistentCallbackIndex:0,valueCallbackIndex:2},{methodName:"writeData",nativeName:"writeData",persistentCallbackIndex:1,valueCallbackIndex:3},{methodName:"connect",nativeName:"connect",persistentCallbackIndex:2,valueCallbackIndex:4},{methodName:"disconnect",nativeName:"disconnect",persistentCallbackIndex:0,valueCallbackIndex:2}],a);e.namespace(b,d)})(Rho.jQuery,Rho,Rho.util);