UNPKG

lavva.webbluetooth

Version:

Library implementing WebBluetooth custom functionality if underlying platform does support it

2 lines 1.77 kB
(()=>{"use strict";var e,o,t,n,i,r;!function(e){e.Lavva="lavva",e.Exalus="exalus"}(e||(e={})),function(e){e.En="en",e.De="de",e.Pl="pl",e.It="it",e.Es="es",e.Fr="fr",e.Ro="ro",e.Hu="hu",e.Lt="lt",e.No="no",e.Fi="fi",e.Sv="sv",e.Nl="nl",e.Pt="pt",e.Cz="cz",e.Unknown="en"}(o||(o={})),function(e){e[e.Unknown=0]="Unknown",e[e.Remote=1]="Remote",e[e.BlindController=2]="BlindController",e[e.LightController=3]="LightController",e[e.HeatingController=4]="HeatingController",e[e.FacadeBlindController=5]="FacadeBlindController",e[e.GateController=6]="GateController",e[e.DoorController=7]="DoorController",e[e.GatewayController=8]="GatewayController",e[e.Sensor=9]="Sensor",e[e.SwitchController=10]="SwitchController",e[e.Meters=11]="Meters",e[e.Cameras=12]="Cameras",e[e.Intercoms=13]="Intercoms"}(t||(t={})),function(e){e[e.NoDeviceHasBeenSelected=0]="NoDeviceHasBeenSelected",e[e.AnotherDeviceIsAlreadyConnected=1]="AnotherDeviceIsAlreadyConnected",e[e.FailedToConnectToGattServer=2]="FailedToConnectToGattServer",e[e.FailedToGetPrimaryService=3]="FailedToGetPrimaryService",e[e.FailedToDiscoverService=4]="FailedToDiscoverService",e[e.FailedToGetCharacteristic=5]="FailedToGetCharacteristic",e[e.FailedToStartNotifications=6]="FailedToStartNotifications"}(n||(n={})),function(e){e[e.NoDeviceConnected=0]="NoDeviceConnected",e[e.FailedToForgetDevice=1]="FailedToForgetDevice",e[e.FailedToDisconnect=2]="FailedToDisconnect",e[e.FailedToStopNotifications=3]="FailedToStopNotifications",e[e.DisconnectedSuccesfully=4]="DisconnectedSuccesfully"}(i||(i={})),function(e){e[e.Sucess=0]="Sucess",e[e.DataIsEmpty=1]="DataIsEmpty",e[e.NoDeviceConnected=2]="NoDeviceConnected",e[e.FailedToWriteValue=3]="FailedToWriteValue"}(r||(r={}))})(); //# sourceMappingURL=lavva-webbluetooth.js.map