import { SERVICE_CALLS } from './service-calls';
import { AbstractService } from '@iotize/tap';
export class BleService extends AbstractService {
    constructor() {
        super(...arguments);
        this.resources = SERVICE_CALLS;
    }
    /**
     * Get BLE MAC address
     *
     * LWM2M path: /1024//22
     *
     * @tapVersion(">=")
     * @return
     */
    getAddress() {
        return this.serviceCallRunner.execute(this.getAddressCall());
    }
    /**
     *
     *
     * LWM2M path: /1024//22
     *
     * @tapVersion(">=")
     * @return call options
     */
    getAddressCall() {
        const callOptions = Object.assign({}, this.resources.getAddress);
        return callOptions;
    }
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NlcnZpY2UvaW1wbC9ibGUvc3JjL2xpYi9nZW5lcmF0ZWQvc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFaEQsT0FBTyxFQUFFLGVBQWUsRUFBbUIsTUFBTSxhQUFhLENBQUM7QUFFL0QsTUFBTSxPQUFPLFVBQVcsU0FBUSxlQUFlO0lBQS9DOztRQUNTLGNBQVMsR0FBRyxhQUFhLENBQUM7SUEyQm5DLENBQUM7SUF6QkM7Ozs7Ozs7T0FPRztJQUNILFVBQVU7UUFDUixPQUFPLElBQUksQ0FBQyxpQkFBaUIsQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLGNBQWMsRUFBRSxDQUFDLENBQUM7SUFDL0QsQ0FBQztJQUVEOzs7Ozs7O09BT0c7SUFDSCxjQUFjO1FBQ1osTUFBTSxXQUFXLHFCQUFRLElBQUksQ0FBQyxTQUFTLENBQUMsVUFBVSxDQUFFLENBQUM7UUFFckQsT0FBTyxXQUFXLENBQUM7SUFDckIsQ0FBQztDQUNGIn0=