Versions in this module Expand all Collapse all v0 v0.3.4 Oct 25, 2021 v0.3.3 Oct 25, 2021 Changes in this version + var IID_IBluetoothLEAdvertisementReceivedEventArgs = ole.NewGUID("27987DDF-E596-41BE-8D43-9E6731D4A913") + var IID_IBluetoothLEAdvertisementWatcherStoppedEventArgs = ole.NewGUID("DD40F84D-E7B9-43E3-9C04-0685D085FD8C") + type Event struct + Callback func(*Event, *ole.IInspectable) + IID *ole.GUID + func NewEvent(iid *ole.GUID, callback func(*Event, *ole.IInspectable)) *Event + type IBluetoothLEAdvertisement struct + func (v *IBluetoothLEAdvertisement) DataSections() (vector *IVector) + func (v *IBluetoothLEAdvertisement) LocalName() string + func (v *IBluetoothLEAdvertisement) VTable() *IBluetoothLEAdvertisementVtbl + type IBluetoothLEAdvertisementDataSection struct + func (v *IBluetoothLEAdvertisementDataSection) DataType() (value byte) + func (v *IBluetoothLEAdvertisementDataSection) VTable() *IBluetoothLEAdvertisementDataSectionVtbl + type IBluetoothLEAdvertisementDataSectionVtbl struct + GetData uintptr + GetDataType uintptr + SetData uintptr + SetDataType uintptr + type IBluetoothLEAdvertisementReceivedEventArgs struct + func (v *IBluetoothLEAdvertisementReceivedEventArgs) Advertisement() (advertisement *IBluetoothLEAdvertisement) + func (v *IBluetoothLEAdvertisementReceivedEventArgs) BluetoothAddress() (address uint64) + func (v *IBluetoothLEAdvertisementReceivedEventArgs) RawSignalStrengthInDBm() (rssi int16) + func (v *IBluetoothLEAdvertisementReceivedEventArgs) VTable() *IBluetoothLEAdvertisementReceivedEventArgsVtbl + type IBluetoothLEAdvertisementReceivedEventArgsVtbl struct + Advertisement uintptr + AdvertisementType uintptr + BluetoothAddress uintptr + RawSignalStrengthInDBm uintptr + Timestamp uintptr + type IBluetoothLEAdvertisementVtbl struct + GetDataSections uintptr + GetFlags uintptr + GetLocalName uintptr + GetManufacturerData uintptr + GetManufacturerDataByCompanyId uintptr + GetSectionsByType uintptr + GetServiceUuids uintptr + SetFlags uintptr + SetLocalName uintptr + type IBluetoothLEAdvertisementWatcher struct + func NewBluetoothLEAdvertisementWatcher() (*IBluetoothLEAdvertisementWatcher, error) + func (v *IBluetoothLEAdvertisementWatcher) AddReceivedEvent(...) (err error) + func (v *IBluetoothLEAdvertisementWatcher) AddStoppedEvent(handler func(*IBluetoothLEAdvertisementWatcher, ...)) (err error) + func (v *IBluetoothLEAdvertisementWatcher) Start() error + func (v *IBluetoothLEAdvertisementWatcher) Status() WatcherStatus + func (v *IBluetoothLEAdvertisementWatcher) Stop() error + func (v *IBluetoothLEAdvertisementWatcher) VTable() *IBluetoothLEAdvertisementWatcherVtbl + type IBluetoothLEAdvertisementWatcherStoppedEventArgs struct + type IBluetoothLEAdvertisementWatcherVtbl struct + AddReceivedEvent uintptr + AddStoppedEvent uintptr + GetAdvertisementFilter uintptr + GetMaxOutOfRangeTimeout uintptr + GetMaxSamplingInterval uintptr + GetMinOutOfRangeTimeout uintptr + GetMinSamplingInterval uintptr + GetScanningMode uintptr + GetSignalStrengthFilter uintptr + GetStatus uintptr + RemoveReceivedEvent uintptr + RemoveStoppedEvent uintptr + SetAdvertisementFilter uintptr + SetScanningMode uintptr + SetSignalStrengthFilter uintptr + Start uintptr + Stop uintptr + type IVector struct + func (v *IVector) At(index int) (element unsafe.Pointer) + func (v *IVector) Size() int + func (v *IVector) VTable() *IVectorVtbl + type IVectorVtbl struct + Append uintptr + Clear uintptr + GetAt uintptr + GetMany uintptr + GetSize uintptr + GetView uintptr + IndexOf uintptr + InsertAt uintptr + RemoveAt uintptr + RemoveAtEnd uintptr + ReplaceAll uintptr + SetAt uintptr + type WatcherStatus uint32 + const WatcherStatusAborted + const WatcherStatusCreated + const WatcherStatusStarted + const WatcherStatusStopped + const WatcherStatusStopping