github.com/primecitizens/pcz/std@v0.2.1/plat/js/webext/bluetoothlowenergy/bindings/import_wasm.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build wasm
     5  
     6  package bindings
     7  
     8  import (
     9  	"unsafe"
    10  
    11  	"github.com/primecitizens/pcz/std/ffi/js"
    12  )
    13  
    14  type (
    15  	_ unsafe.Pointer
    16  	_ js.Ref
    17  )
    18  
    19  //go:wasmimport plat/js/webext/bluetoothlowenergy constof_AdvertisementType
    20  //go:noescape
    21  func ConstOfAdvertisementType(str js.Ref) uint32
    22  
    23  //go:wasmimport plat/js/webext/bluetoothlowenergy store_ManufacturerData
    24  //go:noescape
    25  func ManufacturerDataJSStore(
    26  	ptr unsafe.Pointer, ref js.Ref)
    27  
    28  //go:wasmimport plat/js/webext/bluetoothlowenergy load_ManufacturerData
    29  //go:noescape
    30  func ManufacturerDataJSLoad(
    31  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    32  
    33  //go:wasmimport plat/js/webext/bluetoothlowenergy store_ServiceData
    34  //go:noescape
    35  func ServiceDataJSStore(
    36  	ptr unsafe.Pointer, ref js.Ref)
    37  
    38  //go:wasmimport plat/js/webext/bluetoothlowenergy load_ServiceData
    39  //go:noescape
    40  func ServiceDataJSLoad(
    41  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    42  
    43  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Advertisement
    44  //go:noescape
    45  func AdvertisementJSStore(
    46  	ptr unsafe.Pointer, ref js.Ref)
    47  
    48  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Advertisement
    49  //go:noescape
    50  func AdvertisementJSLoad(
    51  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    52  
    53  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Service
    54  //go:noescape
    55  func ServiceJSStore(
    56  	ptr unsafe.Pointer, ref js.Ref)
    57  
    58  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Service
    59  //go:noescape
    60  func ServiceJSLoad(
    61  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    62  
    63  //go:wasmimport plat/js/webext/bluetoothlowenergy constof_CharacteristicProperty
    64  //go:noescape
    65  func ConstOfCharacteristicProperty(str js.Ref) uint32
    66  
    67  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Characteristic
    68  //go:noescape
    69  func CharacteristicJSStore(
    70  	ptr unsafe.Pointer, ref js.Ref)
    71  
    72  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Characteristic
    73  //go:noescape
    74  func CharacteristicJSLoad(
    75  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    76  
    77  //go:wasmimport plat/js/webext/bluetoothlowenergy store_ConnectProperties
    78  //go:noescape
    79  func ConnectPropertiesJSStore(
    80  	ptr unsafe.Pointer, ref js.Ref)
    81  
    82  //go:wasmimport plat/js/webext/bluetoothlowenergy load_ConnectProperties
    83  //go:noescape
    84  func ConnectPropertiesJSLoad(
    85  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
    86  
    87  //go:wasmimport plat/js/webext/bluetoothlowenergy constof_DescriptorPermission
    88  //go:noescape
    89  func ConstOfDescriptorPermission(str js.Ref) uint32
    90  
    91  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Descriptor
    92  //go:noescape
    93  func DescriptorJSStore(
    94  	ptr unsafe.Pointer, ref js.Ref)
    95  
    96  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Descriptor
    97  //go:noescape
    98  func DescriptorJSLoad(
    99  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   100  
   101  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Device
   102  //go:noescape
   103  func DeviceJSStore(
   104  	ptr unsafe.Pointer, ref js.Ref)
   105  
   106  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Device
   107  //go:noescape
   108  func DeviceJSLoad(
   109  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   110  
   111  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Notification
   112  //go:noescape
   113  func NotificationJSStore(
   114  	ptr unsafe.Pointer, ref js.Ref)
   115  
   116  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Notification
   117  //go:noescape
   118  func NotificationJSLoad(
   119  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   120  
   121  //go:wasmimport plat/js/webext/bluetoothlowenergy store_NotificationProperties
   122  //go:noescape
   123  func NotificationPropertiesJSStore(
   124  	ptr unsafe.Pointer, ref js.Ref)
   125  
   126  //go:wasmimport plat/js/webext/bluetoothlowenergy load_NotificationProperties
   127  //go:noescape
   128  func NotificationPropertiesJSLoad(
   129  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   130  
   131  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Request
   132  //go:noescape
   133  func RequestJSStore(
   134  	ptr unsafe.Pointer, ref js.Ref)
   135  
   136  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Request
   137  //go:noescape
   138  func RequestJSLoad(
   139  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   140  
   141  //go:wasmimport plat/js/webext/bluetoothlowenergy store_Response
   142  //go:noescape
   143  func ResponseJSStore(
   144  	ptr unsafe.Pointer, ref js.Ref)
   145  
   146  //go:wasmimport plat/js/webext/bluetoothlowenergy load_Response
   147  //go:noescape
   148  func ResponseJSLoad(
   149  	ptr unsafe.Pointer, create, ref js.Ref) js.Ref
   150  
   151  //go:wasmimport plat/js/webext/bluetoothlowenergy has_Connect
   152  //go:noescape
   153  func HasFuncConnect() js.Ref
   154  
   155  //go:wasmimport plat/js/webext/bluetoothlowenergy func_Connect
   156  //go:noescape
   157  func FuncConnect(fn unsafe.Pointer)
   158  
   159  //go:wasmimport plat/js/webext/bluetoothlowenergy call_Connect
   160  //go:noescape
   161  func CallConnect(
   162  	retPtr unsafe.Pointer,
   163  	deviceAddress js.Ref,
   164  	properties unsafe.Pointer)
   165  
   166  //go:wasmimport plat/js/webext/bluetoothlowenergy try_Connect
   167  //go:noescape
   168  func TryConnect(
   169  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   170  	deviceAddress js.Ref,
   171  	properties unsafe.Pointer) (ok js.Ref)
   172  
   173  //go:wasmimport plat/js/webext/bluetoothlowenergy has_CreateCharacteristic
   174  //go:noescape
   175  func HasFuncCreateCharacteristic() js.Ref
   176  
   177  //go:wasmimport plat/js/webext/bluetoothlowenergy func_CreateCharacteristic
   178  //go:noescape
   179  func FuncCreateCharacteristic(fn unsafe.Pointer)
   180  
   181  //go:wasmimport plat/js/webext/bluetoothlowenergy call_CreateCharacteristic
   182  //go:noescape
   183  func CallCreateCharacteristic(
   184  	retPtr unsafe.Pointer,
   185  	characteristic unsafe.Pointer,
   186  	serviceId js.Ref)
   187  
   188  //go:wasmimport plat/js/webext/bluetoothlowenergy try_CreateCharacteristic
   189  //go:noescape
   190  func TryCreateCharacteristic(
   191  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   192  	characteristic unsafe.Pointer,
   193  	serviceId js.Ref) (ok js.Ref)
   194  
   195  //go:wasmimport plat/js/webext/bluetoothlowenergy has_CreateDescriptor
   196  //go:noescape
   197  func HasFuncCreateDescriptor() js.Ref
   198  
   199  //go:wasmimport plat/js/webext/bluetoothlowenergy func_CreateDescriptor
   200  //go:noescape
   201  func FuncCreateDescriptor(fn unsafe.Pointer)
   202  
   203  //go:wasmimport plat/js/webext/bluetoothlowenergy call_CreateDescriptor
   204  //go:noescape
   205  func CallCreateDescriptor(
   206  	retPtr unsafe.Pointer,
   207  	descriptor unsafe.Pointer,
   208  	characteristicId js.Ref)
   209  
   210  //go:wasmimport plat/js/webext/bluetoothlowenergy try_CreateDescriptor
   211  //go:noescape
   212  func TryCreateDescriptor(
   213  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   214  	descriptor unsafe.Pointer,
   215  	characteristicId js.Ref) (ok js.Ref)
   216  
   217  //go:wasmimport plat/js/webext/bluetoothlowenergy has_CreateService
   218  //go:noescape
   219  func HasFuncCreateService() js.Ref
   220  
   221  //go:wasmimport plat/js/webext/bluetoothlowenergy func_CreateService
   222  //go:noescape
   223  func FuncCreateService(fn unsafe.Pointer)
   224  
   225  //go:wasmimport plat/js/webext/bluetoothlowenergy call_CreateService
   226  //go:noescape
   227  func CallCreateService(
   228  	retPtr unsafe.Pointer,
   229  	service unsafe.Pointer)
   230  
   231  //go:wasmimport plat/js/webext/bluetoothlowenergy try_CreateService
   232  //go:noescape
   233  func TryCreateService(
   234  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   235  	service unsafe.Pointer) (ok js.Ref)
   236  
   237  //go:wasmimport plat/js/webext/bluetoothlowenergy has_Disconnect
   238  //go:noescape
   239  func HasFuncDisconnect() js.Ref
   240  
   241  //go:wasmimport plat/js/webext/bluetoothlowenergy func_Disconnect
   242  //go:noescape
   243  func FuncDisconnect(fn unsafe.Pointer)
   244  
   245  //go:wasmimport plat/js/webext/bluetoothlowenergy call_Disconnect
   246  //go:noescape
   247  func CallDisconnect(
   248  	retPtr unsafe.Pointer,
   249  	deviceAddress js.Ref)
   250  
   251  //go:wasmimport plat/js/webext/bluetoothlowenergy try_Disconnect
   252  //go:noescape
   253  func TryDisconnect(
   254  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   255  	deviceAddress js.Ref) (ok js.Ref)
   256  
   257  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetCharacteristic
   258  //go:noescape
   259  func HasFuncGetCharacteristic() js.Ref
   260  
   261  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetCharacteristic
   262  //go:noescape
   263  func FuncGetCharacteristic(fn unsafe.Pointer)
   264  
   265  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetCharacteristic
   266  //go:noescape
   267  func CallGetCharacteristic(
   268  	retPtr unsafe.Pointer,
   269  	characteristicId js.Ref)
   270  
   271  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetCharacteristic
   272  //go:noescape
   273  func TryGetCharacteristic(
   274  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   275  	characteristicId js.Ref) (ok js.Ref)
   276  
   277  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetCharacteristics
   278  //go:noescape
   279  func HasFuncGetCharacteristics() js.Ref
   280  
   281  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetCharacteristics
   282  //go:noescape
   283  func FuncGetCharacteristics(fn unsafe.Pointer)
   284  
   285  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetCharacteristics
   286  //go:noescape
   287  func CallGetCharacteristics(
   288  	retPtr unsafe.Pointer,
   289  	serviceId js.Ref)
   290  
   291  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetCharacteristics
   292  //go:noescape
   293  func TryGetCharacteristics(
   294  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   295  	serviceId js.Ref) (ok js.Ref)
   296  
   297  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetDescriptor
   298  //go:noescape
   299  func HasFuncGetDescriptor() js.Ref
   300  
   301  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetDescriptor
   302  //go:noescape
   303  func FuncGetDescriptor(fn unsafe.Pointer)
   304  
   305  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetDescriptor
   306  //go:noescape
   307  func CallGetDescriptor(
   308  	retPtr unsafe.Pointer,
   309  	descriptorId js.Ref)
   310  
   311  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetDescriptor
   312  //go:noescape
   313  func TryGetDescriptor(
   314  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   315  	descriptorId js.Ref) (ok js.Ref)
   316  
   317  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetDescriptors
   318  //go:noescape
   319  func HasFuncGetDescriptors() js.Ref
   320  
   321  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetDescriptors
   322  //go:noescape
   323  func FuncGetDescriptors(fn unsafe.Pointer)
   324  
   325  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetDescriptors
   326  //go:noescape
   327  func CallGetDescriptors(
   328  	retPtr unsafe.Pointer,
   329  	characteristicId js.Ref)
   330  
   331  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetDescriptors
   332  //go:noescape
   333  func TryGetDescriptors(
   334  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   335  	characteristicId js.Ref) (ok js.Ref)
   336  
   337  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetIncludedServices
   338  //go:noescape
   339  func HasFuncGetIncludedServices() js.Ref
   340  
   341  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetIncludedServices
   342  //go:noescape
   343  func FuncGetIncludedServices(fn unsafe.Pointer)
   344  
   345  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetIncludedServices
   346  //go:noescape
   347  func CallGetIncludedServices(
   348  	retPtr unsafe.Pointer,
   349  	serviceId js.Ref)
   350  
   351  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetIncludedServices
   352  //go:noescape
   353  func TryGetIncludedServices(
   354  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   355  	serviceId js.Ref) (ok js.Ref)
   356  
   357  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetService
   358  //go:noescape
   359  func HasFuncGetService() js.Ref
   360  
   361  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetService
   362  //go:noescape
   363  func FuncGetService(fn unsafe.Pointer)
   364  
   365  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetService
   366  //go:noescape
   367  func CallGetService(
   368  	retPtr unsafe.Pointer,
   369  	serviceId js.Ref)
   370  
   371  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetService
   372  //go:noescape
   373  func TryGetService(
   374  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   375  	serviceId js.Ref) (ok js.Ref)
   376  
   377  //go:wasmimport plat/js/webext/bluetoothlowenergy has_GetServices
   378  //go:noescape
   379  func HasFuncGetServices() js.Ref
   380  
   381  //go:wasmimport plat/js/webext/bluetoothlowenergy func_GetServices
   382  //go:noescape
   383  func FuncGetServices(fn unsafe.Pointer)
   384  
   385  //go:wasmimport plat/js/webext/bluetoothlowenergy call_GetServices
   386  //go:noescape
   387  func CallGetServices(
   388  	retPtr unsafe.Pointer,
   389  	deviceAddress js.Ref)
   390  
   391  //go:wasmimport plat/js/webext/bluetoothlowenergy try_GetServices
   392  //go:noescape
   393  func TryGetServices(
   394  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   395  	deviceAddress js.Ref) (ok js.Ref)
   396  
   397  //go:wasmimport plat/js/webext/bluetoothlowenergy has_NotifyCharacteristicValueChanged
   398  //go:noescape
   399  func HasFuncNotifyCharacteristicValueChanged() js.Ref
   400  
   401  //go:wasmimport plat/js/webext/bluetoothlowenergy func_NotifyCharacteristicValueChanged
   402  //go:noescape
   403  func FuncNotifyCharacteristicValueChanged(fn unsafe.Pointer)
   404  
   405  //go:wasmimport plat/js/webext/bluetoothlowenergy call_NotifyCharacteristicValueChanged
   406  //go:noescape
   407  func CallNotifyCharacteristicValueChanged(
   408  	retPtr unsafe.Pointer,
   409  	characteristicId js.Ref,
   410  	notification unsafe.Pointer)
   411  
   412  //go:wasmimport plat/js/webext/bluetoothlowenergy try_NotifyCharacteristicValueChanged
   413  //go:noescape
   414  func TryNotifyCharacteristicValueChanged(
   415  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   416  	characteristicId js.Ref,
   417  	notification unsafe.Pointer) (ok js.Ref)
   418  
   419  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnCharacteristicReadRequest
   420  //go:noescape
   421  func HasFuncOnCharacteristicReadRequest() js.Ref
   422  
   423  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnCharacteristicReadRequest
   424  //go:noescape
   425  func FuncOnCharacteristicReadRequest(fn unsafe.Pointer)
   426  
   427  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnCharacteristicReadRequest
   428  //go:noescape
   429  func CallOnCharacteristicReadRequest(
   430  	retPtr unsafe.Pointer,
   431  	callback js.Ref)
   432  
   433  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnCharacteristicReadRequest
   434  //go:noescape
   435  func TryOnCharacteristicReadRequest(
   436  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   437  	callback js.Ref) (ok js.Ref)
   438  
   439  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffCharacteristicReadRequest
   440  //go:noescape
   441  func HasFuncOffCharacteristicReadRequest() js.Ref
   442  
   443  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffCharacteristicReadRequest
   444  //go:noescape
   445  func FuncOffCharacteristicReadRequest(fn unsafe.Pointer)
   446  
   447  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffCharacteristicReadRequest
   448  //go:noescape
   449  func CallOffCharacteristicReadRequest(
   450  	retPtr unsafe.Pointer,
   451  	callback js.Ref)
   452  
   453  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffCharacteristicReadRequest
   454  //go:noescape
   455  func TryOffCharacteristicReadRequest(
   456  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   457  	callback js.Ref) (ok js.Ref)
   458  
   459  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnCharacteristicReadRequest
   460  //go:noescape
   461  func HasFuncHasOnCharacteristicReadRequest() js.Ref
   462  
   463  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnCharacteristicReadRequest
   464  //go:noescape
   465  func FuncHasOnCharacteristicReadRequest(fn unsafe.Pointer)
   466  
   467  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnCharacteristicReadRequest
   468  //go:noescape
   469  func CallHasOnCharacteristicReadRequest(
   470  	retPtr unsafe.Pointer,
   471  	callback js.Ref)
   472  
   473  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnCharacteristicReadRequest
   474  //go:noescape
   475  func TryHasOnCharacteristicReadRequest(
   476  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   477  	callback js.Ref) (ok js.Ref)
   478  
   479  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnCharacteristicValueChanged
   480  //go:noescape
   481  func HasFuncOnCharacteristicValueChanged() js.Ref
   482  
   483  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnCharacteristicValueChanged
   484  //go:noescape
   485  func FuncOnCharacteristicValueChanged(fn unsafe.Pointer)
   486  
   487  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnCharacteristicValueChanged
   488  //go:noescape
   489  func CallOnCharacteristicValueChanged(
   490  	retPtr unsafe.Pointer,
   491  	callback js.Ref)
   492  
   493  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnCharacteristicValueChanged
   494  //go:noescape
   495  func TryOnCharacteristicValueChanged(
   496  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   497  	callback js.Ref) (ok js.Ref)
   498  
   499  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffCharacteristicValueChanged
   500  //go:noescape
   501  func HasFuncOffCharacteristicValueChanged() js.Ref
   502  
   503  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffCharacteristicValueChanged
   504  //go:noescape
   505  func FuncOffCharacteristicValueChanged(fn unsafe.Pointer)
   506  
   507  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffCharacteristicValueChanged
   508  //go:noescape
   509  func CallOffCharacteristicValueChanged(
   510  	retPtr unsafe.Pointer,
   511  	callback js.Ref)
   512  
   513  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffCharacteristicValueChanged
   514  //go:noescape
   515  func TryOffCharacteristicValueChanged(
   516  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   517  	callback js.Ref) (ok js.Ref)
   518  
   519  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnCharacteristicValueChanged
   520  //go:noescape
   521  func HasFuncHasOnCharacteristicValueChanged() js.Ref
   522  
   523  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnCharacteristicValueChanged
   524  //go:noescape
   525  func FuncHasOnCharacteristicValueChanged(fn unsafe.Pointer)
   526  
   527  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnCharacteristicValueChanged
   528  //go:noescape
   529  func CallHasOnCharacteristicValueChanged(
   530  	retPtr unsafe.Pointer,
   531  	callback js.Ref)
   532  
   533  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnCharacteristicValueChanged
   534  //go:noescape
   535  func TryHasOnCharacteristicValueChanged(
   536  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   537  	callback js.Ref) (ok js.Ref)
   538  
   539  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnCharacteristicWriteRequest
   540  //go:noescape
   541  func HasFuncOnCharacteristicWriteRequest() js.Ref
   542  
   543  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnCharacteristicWriteRequest
   544  //go:noescape
   545  func FuncOnCharacteristicWriteRequest(fn unsafe.Pointer)
   546  
   547  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnCharacteristicWriteRequest
   548  //go:noescape
   549  func CallOnCharacteristicWriteRequest(
   550  	retPtr unsafe.Pointer,
   551  	callback js.Ref)
   552  
   553  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnCharacteristicWriteRequest
   554  //go:noescape
   555  func TryOnCharacteristicWriteRequest(
   556  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   557  	callback js.Ref) (ok js.Ref)
   558  
   559  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffCharacteristicWriteRequest
   560  //go:noescape
   561  func HasFuncOffCharacteristicWriteRequest() js.Ref
   562  
   563  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffCharacteristicWriteRequest
   564  //go:noescape
   565  func FuncOffCharacteristicWriteRequest(fn unsafe.Pointer)
   566  
   567  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffCharacteristicWriteRequest
   568  //go:noescape
   569  func CallOffCharacteristicWriteRequest(
   570  	retPtr unsafe.Pointer,
   571  	callback js.Ref)
   572  
   573  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffCharacteristicWriteRequest
   574  //go:noescape
   575  func TryOffCharacteristicWriteRequest(
   576  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   577  	callback js.Ref) (ok js.Ref)
   578  
   579  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnCharacteristicWriteRequest
   580  //go:noescape
   581  func HasFuncHasOnCharacteristicWriteRequest() js.Ref
   582  
   583  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnCharacteristicWriteRequest
   584  //go:noescape
   585  func FuncHasOnCharacteristicWriteRequest(fn unsafe.Pointer)
   586  
   587  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnCharacteristicWriteRequest
   588  //go:noescape
   589  func CallHasOnCharacteristicWriteRequest(
   590  	retPtr unsafe.Pointer,
   591  	callback js.Ref)
   592  
   593  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnCharacteristicWriteRequest
   594  //go:noescape
   595  func TryHasOnCharacteristicWriteRequest(
   596  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   597  	callback js.Ref) (ok js.Ref)
   598  
   599  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnDescriptorReadRequest
   600  //go:noescape
   601  func HasFuncOnDescriptorReadRequest() js.Ref
   602  
   603  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnDescriptorReadRequest
   604  //go:noescape
   605  func FuncOnDescriptorReadRequest(fn unsafe.Pointer)
   606  
   607  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnDescriptorReadRequest
   608  //go:noescape
   609  func CallOnDescriptorReadRequest(
   610  	retPtr unsafe.Pointer,
   611  	callback js.Ref)
   612  
   613  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnDescriptorReadRequest
   614  //go:noescape
   615  func TryOnDescriptorReadRequest(
   616  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   617  	callback js.Ref) (ok js.Ref)
   618  
   619  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffDescriptorReadRequest
   620  //go:noescape
   621  func HasFuncOffDescriptorReadRequest() js.Ref
   622  
   623  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffDescriptorReadRequest
   624  //go:noescape
   625  func FuncOffDescriptorReadRequest(fn unsafe.Pointer)
   626  
   627  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffDescriptorReadRequest
   628  //go:noescape
   629  func CallOffDescriptorReadRequest(
   630  	retPtr unsafe.Pointer,
   631  	callback js.Ref)
   632  
   633  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffDescriptorReadRequest
   634  //go:noescape
   635  func TryOffDescriptorReadRequest(
   636  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   637  	callback js.Ref) (ok js.Ref)
   638  
   639  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnDescriptorReadRequest
   640  //go:noescape
   641  func HasFuncHasOnDescriptorReadRequest() js.Ref
   642  
   643  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnDescriptorReadRequest
   644  //go:noescape
   645  func FuncHasOnDescriptorReadRequest(fn unsafe.Pointer)
   646  
   647  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnDescriptorReadRequest
   648  //go:noescape
   649  func CallHasOnDescriptorReadRequest(
   650  	retPtr unsafe.Pointer,
   651  	callback js.Ref)
   652  
   653  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnDescriptorReadRequest
   654  //go:noescape
   655  func TryHasOnDescriptorReadRequest(
   656  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   657  	callback js.Ref) (ok js.Ref)
   658  
   659  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnDescriptorValueChanged
   660  //go:noescape
   661  func HasFuncOnDescriptorValueChanged() js.Ref
   662  
   663  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnDescriptorValueChanged
   664  //go:noescape
   665  func FuncOnDescriptorValueChanged(fn unsafe.Pointer)
   666  
   667  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnDescriptorValueChanged
   668  //go:noescape
   669  func CallOnDescriptorValueChanged(
   670  	retPtr unsafe.Pointer,
   671  	callback js.Ref)
   672  
   673  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnDescriptorValueChanged
   674  //go:noescape
   675  func TryOnDescriptorValueChanged(
   676  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   677  	callback js.Ref) (ok js.Ref)
   678  
   679  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffDescriptorValueChanged
   680  //go:noescape
   681  func HasFuncOffDescriptorValueChanged() js.Ref
   682  
   683  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffDescriptorValueChanged
   684  //go:noescape
   685  func FuncOffDescriptorValueChanged(fn unsafe.Pointer)
   686  
   687  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffDescriptorValueChanged
   688  //go:noescape
   689  func CallOffDescriptorValueChanged(
   690  	retPtr unsafe.Pointer,
   691  	callback js.Ref)
   692  
   693  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffDescriptorValueChanged
   694  //go:noescape
   695  func TryOffDescriptorValueChanged(
   696  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   697  	callback js.Ref) (ok js.Ref)
   698  
   699  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnDescriptorValueChanged
   700  //go:noescape
   701  func HasFuncHasOnDescriptorValueChanged() js.Ref
   702  
   703  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnDescriptorValueChanged
   704  //go:noescape
   705  func FuncHasOnDescriptorValueChanged(fn unsafe.Pointer)
   706  
   707  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnDescriptorValueChanged
   708  //go:noescape
   709  func CallHasOnDescriptorValueChanged(
   710  	retPtr unsafe.Pointer,
   711  	callback js.Ref)
   712  
   713  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnDescriptorValueChanged
   714  //go:noescape
   715  func TryHasOnDescriptorValueChanged(
   716  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   717  	callback js.Ref) (ok js.Ref)
   718  
   719  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnDescriptorWriteRequest
   720  //go:noescape
   721  func HasFuncOnDescriptorWriteRequest() js.Ref
   722  
   723  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnDescriptorWriteRequest
   724  //go:noescape
   725  func FuncOnDescriptorWriteRequest(fn unsafe.Pointer)
   726  
   727  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnDescriptorWriteRequest
   728  //go:noescape
   729  func CallOnDescriptorWriteRequest(
   730  	retPtr unsafe.Pointer,
   731  	callback js.Ref)
   732  
   733  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnDescriptorWriteRequest
   734  //go:noescape
   735  func TryOnDescriptorWriteRequest(
   736  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   737  	callback js.Ref) (ok js.Ref)
   738  
   739  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffDescriptorWriteRequest
   740  //go:noescape
   741  func HasFuncOffDescriptorWriteRequest() js.Ref
   742  
   743  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffDescriptorWriteRequest
   744  //go:noescape
   745  func FuncOffDescriptorWriteRequest(fn unsafe.Pointer)
   746  
   747  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffDescriptorWriteRequest
   748  //go:noescape
   749  func CallOffDescriptorWriteRequest(
   750  	retPtr unsafe.Pointer,
   751  	callback js.Ref)
   752  
   753  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffDescriptorWriteRequest
   754  //go:noescape
   755  func TryOffDescriptorWriteRequest(
   756  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   757  	callback js.Ref) (ok js.Ref)
   758  
   759  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnDescriptorWriteRequest
   760  //go:noescape
   761  func HasFuncHasOnDescriptorWriteRequest() js.Ref
   762  
   763  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnDescriptorWriteRequest
   764  //go:noescape
   765  func FuncHasOnDescriptorWriteRequest(fn unsafe.Pointer)
   766  
   767  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnDescriptorWriteRequest
   768  //go:noescape
   769  func CallHasOnDescriptorWriteRequest(
   770  	retPtr unsafe.Pointer,
   771  	callback js.Ref)
   772  
   773  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnDescriptorWriteRequest
   774  //go:noescape
   775  func TryHasOnDescriptorWriteRequest(
   776  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   777  	callback js.Ref) (ok js.Ref)
   778  
   779  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnServiceAdded
   780  //go:noescape
   781  func HasFuncOnServiceAdded() js.Ref
   782  
   783  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnServiceAdded
   784  //go:noescape
   785  func FuncOnServiceAdded(fn unsafe.Pointer)
   786  
   787  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnServiceAdded
   788  //go:noescape
   789  func CallOnServiceAdded(
   790  	retPtr unsafe.Pointer,
   791  	callback js.Ref)
   792  
   793  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnServiceAdded
   794  //go:noescape
   795  func TryOnServiceAdded(
   796  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   797  	callback js.Ref) (ok js.Ref)
   798  
   799  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffServiceAdded
   800  //go:noescape
   801  func HasFuncOffServiceAdded() js.Ref
   802  
   803  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffServiceAdded
   804  //go:noescape
   805  func FuncOffServiceAdded(fn unsafe.Pointer)
   806  
   807  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffServiceAdded
   808  //go:noescape
   809  func CallOffServiceAdded(
   810  	retPtr unsafe.Pointer,
   811  	callback js.Ref)
   812  
   813  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffServiceAdded
   814  //go:noescape
   815  func TryOffServiceAdded(
   816  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   817  	callback js.Ref) (ok js.Ref)
   818  
   819  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnServiceAdded
   820  //go:noescape
   821  func HasFuncHasOnServiceAdded() js.Ref
   822  
   823  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnServiceAdded
   824  //go:noescape
   825  func FuncHasOnServiceAdded(fn unsafe.Pointer)
   826  
   827  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnServiceAdded
   828  //go:noescape
   829  func CallHasOnServiceAdded(
   830  	retPtr unsafe.Pointer,
   831  	callback js.Ref)
   832  
   833  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnServiceAdded
   834  //go:noescape
   835  func TryHasOnServiceAdded(
   836  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   837  	callback js.Ref) (ok js.Ref)
   838  
   839  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnServiceChanged
   840  //go:noescape
   841  func HasFuncOnServiceChanged() js.Ref
   842  
   843  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnServiceChanged
   844  //go:noescape
   845  func FuncOnServiceChanged(fn unsafe.Pointer)
   846  
   847  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnServiceChanged
   848  //go:noescape
   849  func CallOnServiceChanged(
   850  	retPtr unsafe.Pointer,
   851  	callback js.Ref)
   852  
   853  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnServiceChanged
   854  //go:noescape
   855  func TryOnServiceChanged(
   856  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   857  	callback js.Ref) (ok js.Ref)
   858  
   859  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffServiceChanged
   860  //go:noescape
   861  func HasFuncOffServiceChanged() js.Ref
   862  
   863  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffServiceChanged
   864  //go:noescape
   865  func FuncOffServiceChanged(fn unsafe.Pointer)
   866  
   867  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffServiceChanged
   868  //go:noescape
   869  func CallOffServiceChanged(
   870  	retPtr unsafe.Pointer,
   871  	callback js.Ref)
   872  
   873  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffServiceChanged
   874  //go:noescape
   875  func TryOffServiceChanged(
   876  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   877  	callback js.Ref) (ok js.Ref)
   878  
   879  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnServiceChanged
   880  //go:noescape
   881  func HasFuncHasOnServiceChanged() js.Ref
   882  
   883  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnServiceChanged
   884  //go:noescape
   885  func FuncHasOnServiceChanged(fn unsafe.Pointer)
   886  
   887  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnServiceChanged
   888  //go:noescape
   889  func CallHasOnServiceChanged(
   890  	retPtr unsafe.Pointer,
   891  	callback js.Ref)
   892  
   893  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnServiceChanged
   894  //go:noescape
   895  func TryHasOnServiceChanged(
   896  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   897  	callback js.Ref) (ok js.Ref)
   898  
   899  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OnServiceRemoved
   900  //go:noescape
   901  func HasFuncOnServiceRemoved() js.Ref
   902  
   903  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OnServiceRemoved
   904  //go:noescape
   905  func FuncOnServiceRemoved(fn unsafe.Pointer)
   906  
   907  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OnServiceRemoved
   908  //go:noescape
   909  func CallOnServiceRemoved(
   910  	retPtr unsafe.Pointer,
   911  	callback js.Ref)
   912  
   913  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OnServiceRemoved
   914  //go:noescape
   915  func TryOnServiceRemoved(
   916  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   917  	callback js.Ref) (ok js.Ref)
   918  
   919  //go:wasmimport plat/js/webext/bluetoothlowenergy has_OffServiceRemoved
   920  //go:noescape
   921  func HasFuncOffServiceRemoved() js.Ref
   922  
   923  //go:wasmimport plat/js/webext/bluetoothlowenergy func_OffServiceRemoved
   924  //go:noescape
   925  func FuncOffServiceRemoved(fn unsafe.Pointer)
   926  
   927  //go:wasmimport plat/js/webext/bluetoothlowenergy call_OffServiceRemoved
   928  //go:noescape
   929  func CallOffServiceRemoved(
   930  	retPtr unsafe.Pointer,
   931  	callback js.Ref)
   932  
   933  //go:wasmimport plat/js/webext/bluetoothlowenergy try_OffServiceRemoved
   934  //go:noescape
   935  func TryOffServiceRemoved(
   936  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   937  	callback js.Ref) (ok js.Ref)
   938  
   939  //go:wasmimport plat/js/webext/bluetoothlowenergy has_HasOnServiceRemoved
   940  //go:noescape
   941  func HasFuncHasOnServiceRemoved() js.Ref
   942  
   943  //go:wasmimport plat/js/webext/bluetoothlowenergy func_HasOnServiceRemoved
   944  //go:noescape
   945  func FuncHasOnServiceRemoved(fn unsafe.Pointer)
   946  
   947  //go:wasmimport plat/js/webext/bluetoothlowenergy call_HasOnServiceRemoved
   948  //go:noescape
   949  func CallHasOnServiceRemoved(
   950  	retPtr unsafe.Pointer,
   951  	callback js.Ref)
   952  
   953  //go:wasmimport plat/js/webext/bluetoothlowenergy try_HasOnServiceRemoved
   954  //go:noescape
   955  func TryHasOnServiceRemoved(
   956  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   957  	callback js.Ref) (ok js.Ref)
   958  
   959  //go:wasmimport plat/js/webext/bluetoothlowenergy has_ReadCharacteristicValue
   960  //go:noescape
   961  func HasFuncReadCharacteristicValue() js.Ref
   962  
   963  //go:wasmimport plat/js/webext/bluetoothlowenergy func_ReadCharacteristicValue
   964  //go:noescape
   965  func FuncReadCharacteristicValue(fn unsafe.Pointer)
   966  
   967  //go:wasmimport plat/js/webext/bluetoothlowenergy call_ReadCharacteristicValue
   968  //go:noescape
   969  func CallReadCharacteristicValue(
   970  	retPtr unsafe.Pointer,
   971  	characteristicId js.Ref)
   972  
   973  //go:wasmimport plat/js/webext/bluetoothlowenergy try_ReadCharacteristicValue
   974  //go:noescape
   975  func TryReadCharacteristicValue(
   976  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   977  	characteristicId js.Ref) (ok js.Ref)
   978  
   979  //go:wasmimport plat/js/webext/bluetoothlowenergy has_ReadDescriptorValue
   980  //go:noescape
   981  func HasFuncReadDescriptorValue() js.Ref
   982  
   983  //go:wasmimport plat/js/webext/bluetoothlowenergy func_ReadDescriptorValue
   984  //go:noescape
   985  func FuncReadDescriptorValue(fn unsafe.Pointer)
   986  
   987  //go:wasmimport plat/js/webext/bluetoothlowenergy call_ReadDescriptorValue
   988  //go:noescape
   989  func CallReadDescriptorValue(
   990  	retPtr unsafe.Pointer,
   991  	descriptorId js.Ref)
   992  
   993  //go:wasmimport plat/js/webext/bluetoothlowenergy try_ReadDescriptorValue
   994  //go:noescape
   995  func TryReadDescriptorValue(
   996  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
   997  	descriptorId js.Ref) (ok js.Ref)
   998  
   999  //go:wasmimport plat/js/webext/bluetoothlowenergy has_RegisterAdvertisement
  1000  //go:noescape
  1001  func HasFuncRegisterAdvertisement() js.Ref
  1002  
  1003  //go:wasmimport plat/js/webext/bluetoothlowenergy func_RegisterAdvertisement
  1004  //go:noescape
  1005  func FuncRegisterAdvertisement(fn unsafe.Pointer)
  1006  
  1007  //go:wasmimport plat/js/webext/bluetoothlowenergy call_RegisterAdvertisement
  1008  //go:noescape
  1009  func CallRegisterAdvertisement(
  1010  	retPtr unsafe.Pointer,
  1011  	advertisement unsafe.Pointer)
  1012  
  1013  //go:wasmimport plat/js/webext/bluetoothlowenergy try_RegisterAdvertisement
  1014  //go:noescape
  1015  func TryRegisterAdvertisement(
  1016  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1017  	advertisement unsafe.Pointer) (ok js.Ref)
  1018  
  1019  //go:wasmimport plat/js/webext/bluetoothlowenergy has_RegisterService
  1020  //go:noescape
  1021  func HasFuncRegisterService() js.Ref
  1022  
  1023  //go:wasmimport plat/js/webext/bluetoothlowenergy func_RegisterService
  1024  //go:noescape
  1025  func FuncRegisterService(fn unsafe.Pointer)
  1026  
  1027  //go:wasmimport plat/js/webext/bluetoothlowenergy call_RegisterService
  1028  //go:noescape
  1029  func CallRegisterService(
  1030  	retPtr unsafe.Pointer,
  1031  	serviceId js.Ref)
  1032  
  1033  //go:wasmimport plat/js/webext/bluetoothlowenergy try_RegisterService
  1034  //go:noescape
  1035  func TryRegisterService(
  1036  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1037  	serviceId js.Ref) (ok js.Ref)
  1038  
  1039  //go:wasmimport plat/js/webext/bluetoothlowenergy has_RemoveService
  1040  //go:noescape
  1041  func HasFuncRemoveService() js.Ref
  1042  
  1043  //go:wasmimport plat/js/webext/bluetoothlowenergy func_RemoveService
  1044  //go:noescape
  1045  func FuncRemoveService(fn unsafe.Pointer)
  1046  
  1047  //go:wasmimport plat/js/webext/bluetoothlowenergy call_RemoveService
  1048  //go:noescape
  1049  func CallRemoveService(
  1050  	retPtr unsafe.Pointer,
  1051  	serviceId js.Ref)
  1052  
  1053  //go:wasmimport plat/js/webext/bluetoothlowenergy try_RemoveService
  1054  //go:noescape
  1055  func TryRemoveService(
  1056  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1057  	serviceId js.Ref) (ok js.Ref)
  1058  
  1059  //go:wasmimport plat/js/webext/bluetoothlowenergy has_ResetAdvertising
  1060  //go:noescape
  1061  func HasFuncResetAdvertising() js.Ref
  1062  
  1063  //go:wasmimport plat/js/webext/bluetoothlowenergy func_ResetAdvertising
  1064  //go:noescape
  1065  func FuncResetAdvertising(fn unsafe.Pointer)
  1066  
  1067  //go:wasmimport plat/js/webext/bluetoothlowenergy call_ResetAdvertising
  1068  //go:noescape
  1069  func CallResetAdvertising(
  1070  	retPtr unsafe.Pointer)
  1071  
  1072  //go:wasmimport plat/js/webext/bluetoothlowenergy try_ResetAdvertising
  1073  //go:noescape
  1074  func TryResetAdvertising(
  1075  	retPtr unsafe.Pointer, errPtr unsafe.Pointer) (ok js.Ref)
  1076  
  1077  //go:wasmimport plat/js/webext/bluetoothlowenergy has_SendRequestResponse
  1078  //go:noescape
  1079  func HasFuncSendRequestResponse() js.Ref
  1080  
  1081  //go:wasmimport plat/js/webext/bluetoothlowenergy func_SendRequestResponse
  1082  //go:noescape
  1083  func FuncSendRequestResponse(fn unsafe.Pointer)
  1084  
  1085  //go:wasmimport plat/js/webext/bluetoothlowenergy call_SendRequestResponse
  1086  //go:noescape
  1087  func CallSendRequestResponse(
  1088  	retPtr unsafe.Pointer,
  1089  	response unsafe.Pointer)
  1090  
  1091  //go:wasmimport plat/js/webext/bluetoothlowenergy try_SendRequestResponse
  1092  //go:noescape
  1093  func TrySendRequestResponse(
  1094  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1095  	response unsafe.Pointer) (ok js.Ref)
  1096  
  1097  //go:wasmimport plat/js/webext/bluetoothlowenergy has_SetAdvertisingInterval
  1098  //go:noescape
  1099  func HasFuncSetAdvertisingInterval() js.Ref
  1100  
  1101  //go:wasmimport plat/js/webext/bluetoothlowenergy func_SetAdvertisingInterval
  1102  //go:noescape
  1103  func FuncSetAdvertisingInterval(fn unsafe.Pointer)
  1104  
  1105  //go:wasmimport plat/js/webext/bluetoothlowenergy call_SetAdvertisingInterval
  1106  //go:noescape
  1107  func CallSetAdvertisingInterval(
  1108  	retPtr unsafe.Pointer,
  1109  	minInterval int32,
  1110  	maxInterval int32)
  1111  
  1112  //go:wasmimport plat/js/webext/bluetoothlowenergy try_SetAdvertisingInterval
  1113  //go:noescape
  1114  func TrySetAdvertisingInterval(
  1115  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1116  	minInterval int32,
  1117  	maxInterval int32) (ok js.Ref)
  1118  
  1119  //go:wasmimport plat/js/webext/bluetoothlowenergy has_StartCharacteristicNotifications
  1120  //go:noescape
  1121  func HasFuncStartCharacteristicNotifications() js.Ref
  1122  
  1123  //go:wasmimport plat/js/webext/bluetoothlowenergy func_StartCharacteristicNotifications
  1124  //go:noescape
  1125  func FuncStartCharacteristicNotifications(fn unsafe.Pointer)
  1126  
  1127  //go:wasmimport plat/js/webext/bluetoothlowenergy call_StartCharacteristicNotifications
  1128  //go:noescape
  1129  func CallStartCharacteristicNotifications(
  1130  	retPtr unsafe.Pointer,
  1131  	characteristicId js.Ref,
  1132  	properties unsafe.Pointer)
  1133  
  1134  //go:wasmimport plat/js/webext/bluetoothlowenergy try_StartCharacteristicNotifications
  1135  //go:noescape
  1136  func TryStartCharacteristicNotifications(
  1137  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1138  	characteristicId js.Ref,
  1139  	properties unsafe.Pointer) (ok js.Ref)
  1140  
  1141  //go:wasmimport plat/js/webext/bluetoothlowenergy has_StopCharacteristicNotifications
  1142  //go:noescape
  1143  func HasFuncStopCharacteristicNotifications() js.Ref
  1144  
  1145  //go:wasmimport plat/js/webext/bluetoothlowenergy func_StopCharacteristicNotifications
  1146  //go:noescape
  1147  func FuncStopCharacteristicNotifications(fn unsafe.Pointer)
  1148  
  1149  //go:wasmimport plat/js/webext/bluetoothlowenergy call_StopCharacteristicNotifications
  1150  //go:noescape
  1151  func CallStopCharacteristicNotifications(
  1152  	retPtr unsafe.Pointer,
  1153  	characteristicId js.Ref)
  1154  
  1155  //go:wasmimport plat/js/webext/bluetoothlowenergy try_StopCharacteristicNotifications
  1156  //go:noescape
  1157  func TryStopCharacteristicNotifications(
  1158  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1159  	characteristicId js.Ref) (ok js.Ref)
  1160  
  1161  //go:wasmimport plat/js/webext/bluetoothlowenergy has_UnregisterAdvertisement
  1162  //go:noescape
  1163  func HasFuncUnregisterAdvertisement() js.Ref
  1164  
  1165  //go:wasmimport plat/js/webext/bluetoothlowenergy func_UnregisterAdvertisement
  1166  //go:noescape
  1167  func FuncUnregisterAdvertisement(fn unsafe.Pointer)
  1168  
  1169  //go:wasmimport plat/js/webext/bluetoothlowenergy call_UnregisterAdvertisement
  1170  //go:noescape
  1171  func CallUnregisterAdvertisement(
  1172  	retPtr unsafe.Pointer,
  1173  	advertisementId int32)
  1174  
  1175  //go:wasmimport plat/js/webext/bluetoothlowenergy try_UnregisterAdvertisement
  1176  //go:noescape
  1177  func TryUnregisterAdvertisement(
  1178  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1179  	advertisementId int32) (ok js.Ref)
  1180  
  1181  //go:wasmimport plat/js/webext/bluetoothlowenergy has_UnregisterService
  1182  //go:noescape
  1183  func HasFuncUnregisterService() js.Ref
  1184  
  1185  //go:wasmimport plat/js/webext/bluetoothlowenergy func_UnregisterService
  1186  //go:noescape
  1187  func FuncUnregisterService(fn unsafe.Pointer)
  1188  
  1189  //go:wasmimport plat/js/webext/bluetoothlowenergy call_UnregisterService
  1190  //go:noescape
  1191  func CallUnregisterService(
  1192  	retPtr unsafe.Pointer,
  1193  	serviceId js.Ref)
  1194  
  1195  //go:wasmimport plat/js/webext/bluetoothlowenergy try_UnregisterService
  1196  //go:noescape
  1197  func TryUnregisterService(
  1198  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1199  	serviceId js.Ref) (ok js.Ref)
  1200  
  1201  //go:wasmimport plat/js/webext/bluetoothlowenergy has_WriteCharacteristicValue
  1202  //go:noescape
  1203  func HasFuncWriteCharacteristicValue() js.Ref
  1204  
  1205  //go:wasmimport plat/js/webext/bluetoothlowenergy func_WriteCharacteristicValue
  1206  //go:noescape
  1207  func FuncWriteCharacteristicValue(fn unsafe.Pointer)
  1208  
  1209  //go:wasmimport plat/js/webext/bluetoothlowenergy call_WriteCharacteristicValue
  1210  //go:noescape
  1211  func CallWriteCharacteristicValue(
  1212  	retPtr unsafe.Pointer,
  1213  	characteristicId js.Ref,
  1214  	value js.Ref)
  1215  
  1216  //go:wasmimport plat/js/webext/bluetoothlowenergy try_WriteCharacteristicValue
  1217  //go:noescape
  1218  func TryWriteCharacteristicValue(
  1219  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1220  	characteristicId js.Ref,
  1221  	value js.Ref) (ok js.Ref)
  1222  
  1223  //go:wasmimport plat/js/webext/bluetoothlowenergy has_WriteDescriptorValue
  1224  //go:noescape
  1225  func HasFuncWriteDescriptorValue() js.Ref
  1226  
  1227  //go:wasmimport plat/js/webext/bluetoothlowenergy func_WriteDescriptorValue
  1228  //go:noescape
  1229  func FuncWriteDescriptorValue(fn unsafe.Pointer)
  1230  
  1231  //go:wasmimport plat/js/webext/bluetoothlowenergy call_WriteDescriptorValue
  1232  //go:noescape
  1233  func CallWriteDescriptorValue(
  1234  	retPtr unsafe.Pointer,
  1235  	descriptorId js.Ref,
  1236  	value js.Ref)
  1237  
  1238  //go:wasmimport plat/js/webext/bluetoothlowenergy try_WriteDescriptorValue
  1239  //go:noescape
  1240  func TryWriteDescriptorValue(
  1241  	retPtr unsafe.Pointer, errPtr unsafe.Pointer,
  1242  	descriptorId js.Ref,
  1243  	value js.Ref) (ok js.Ref)