eddystone-characteristics.js
function TxPowerLevelCharateristic(opts) {
	TxPowerLevelCharateristic.super_.call(this, objectAssign({
		uuid: 'ee0c2084-8786-40ba-ab96-99b91ac981d8',
		properties: ['read', 'write'],
	}, opts));

	this.on('beforeWrite', function(data, res) {
		res(data.length == 4 ? Results.Success : Results.InvalidAttributeLength);
	});

	this.toBuffer = arr2buf;
	this.fromBuffer = buf2arr;
}
function TxPowerLevelCharateristic(opts) {
	TxPowerLevelCharateristic.super_.call(this, objectAssign({
		uuid: 'ee0c2084-8786-40ba-ab96-99b91ac981d8',
		properties: ['read', 'write'],
	}, opts));

	this.on('beforeWrite', function(data, res) {
		res(data.length == 4 ? Results.Success : Results.InvalidAttributeLength);
	});

	this.toBuffer = arr2buf;
	this.fromBuffer = buf2arr;
}
function TxPowerLevelCharateristic ( opts ) { TxPowerLevelCharateristic . super_ . call ( this , objectAssign ( { uuid : 'ee0c2084-8786-40ba-ab96-99b91ac981d8' , properties : [ 'read' , 'write' ] , } , opts ) ) ; this . on ( 'beforeWrite' , function ( data , res ) { res ( data . length == 4 ? Results . Success : Results . InvalidAttributeLength ) ; } ) ; this . toBuffer = arr2buf ; this . fromBuffer = buf2arr ; }
tx power characteristic
tx power characteristic