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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvdGFwL3NlcnZpY2UvaW1wbC9ibGUvIiwic291cmNlcyI6WyJsaWIvZ2VuZXJhdGVkL3NlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBRWhELE9BQU8sRUFBRSxlQUFlLEVBQW1CLE1BQU0sYUFBYSxDQUFDO0FBRS9ELE1BQU0sT0FBTyxVQUFXLFNBQVEsZUFBZTtJQUEvQzs7UUFDUyxjQUFTLEdBQUcsYUFBYSxDQUFDO0lBMkJuQyxDQUFDO0lBekJDOzs7Ozs7O09BT0c7SUFDSCxVQUFVO1FBQ1IsT0FBTyxJQUFJLENBQUMsaUJBQWlCLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxjQUFjLEVBQUUsQ0FBQyxDQUFDO0lBQy9ELENBQUM7SUFFRDs7Ozs7OztPQU9HO0lBQ0gsY0FBYztRQUNaLE1BQU0sV0FBVyxxQkFBUSxJQUFJLENBQUMsU0FBUyxDQUFDLFVBQVUsQ0FBRSxDQUFDO1FBRXJELE9BQU8sV0FBVyxDQUFDO0lBQ3JCLENBQUM7Q0FDRiJ9