Commit Graph
59 Commits
Author SHA1 Message Date
Peter Freeman Foot a5e8217743 Various samples work in progress 2022-07-24 10:36:47 +01:00
Peter Freeman Foot b71c2bd823 changes for .NET 6.0 iOS 2022-06-10 18:33:54 +01:00
Peter Freeman Foot d7d5b7b3fe .NET 6.0 MAUI support 2022-05-24 13:36:25 +01:00
Peter Freeman Foot 50782cd37a WinRT platform code now supports UWP picker in console applications 2022-05-10 18:05:56 +01:00
Peter Freeman Foot 697a738456 4.0.29 - reintroduced monoandroid90 support (with older Xamarin.Essentials) and added .NET 4.5.2 for broader compatibility. 2022-04-14 10:24:30 +01:00
Peter Freeman Foot 3d523d74cb 4.0.28 - Win32 BluetoothRadio.Mode fix for disabled radio. 2022-03-29 13:16:13 +01:00
Peter Foot 68be8394f6 Consistent platform identifiers, latest Xamarin NuGet references. removed unused CLSCompliant attributes and other minor warnings. 2022-03-03 22:58:42 +00:00
Peter Foot 73a3fc215f 4.0.27 - WinRT/UWP release 2022-02-13 15:57:13 +00:00
Peter Foot 8ecf346d79 4.0.26 UWP implementation 2022-02-13 15:41:58 +00:00
Peter Foot ff1e9dff91 Bug fix for BeginConnect on Win32. Added original overrides for address and uuid as well as Endpoint and associated ConnectAsync. Added consistent exception for calling async methods on Mono implementation. 2022-02-01 22:18:08 +00:00
Peter Foot 7ec77b60ad project file updates, older minimum windows version for WinRT consuming libraries 2021-12-30 21:55:35 +00:00
Peter Foot 3998e78e46 4.0.25 .net 5.0 windows build 2021-12-17 17:35:57 +00:00
Peter Foot b5acb1808b BluetoothLE 4.0.22. .NET 5.0 and MTU support 2021-12-14 11:17:43 +00:00
Peter Foot cbc6e43da3 documentation fix 2021-12-01 14:55:58 +00:00
Peter Foot a3a0c2c710 4.0.23 2021-12-01 14:48:50 +00:00
Peter Foot b97edd0452 Authentication/Callback hang issue fix. 2021-12-01 14:19:35 +00:00
Peter Foot ee4930bd94 Added public Remembered field to BluetoothDeviceInfo on Win32 2021-12-01 14:17:52 +00:00
Peter Foot 6bf34029ab 4.0.22 release 2021-10-14 13:30:24 +01:00
TravisRo f8162f59fd Fix Windows bluetooth classic discovery issue
When using the Windows BluetoothFindFirstDevice & BluetoothFindNextDevice APIs, the "LastSeen" time is not updated properly. A work-a-round is to call the BluetoothGetDeviceInfo API which correctly sets the "LastSeen" member of BLUETOOTH_DEVICE_INFO
2021-10-11 16:39:27 -06:00
TravisRo 1be8c69e6a Revert "Work-a-round for Windows bluetooth discovery API"
This reverts commit 097b84b9ef.
2021-10-11 16:35:42 -06:00
TravisRo 097b84b9ef Work-a-round for Windows bluetooth discovery API
When using the Windows BluetoothFindFirstDevice & BluetoothFindNextDevice APIs, the "LastSeen" time is not updated properly.  A work-a-round is to call the BluetoothGetDeviceInfo API which correctly sets the "LastSeen" member of BLUETOOTH_DEVICE_INFO
2021-10-11 16:29:24 -06:00
Peter Freeman Foot f262a90eea BT Classic 4.0.21, IrDA 4.02 2021-09-11 17:01:52 +01:00
Peter Foot d853e7db35 Merge pull request #140 from qmfrederik/fixes/hid-sdp-attributes
Add Bluetooth HID SDP Attributes added in version 1.1 of the HID Profile Standard
2021-07-22 16:12:17 +01:00
Peter Foot bcc00a2a25 Merge pull request #139 from qmfrederik/features/service-record-xml
Support serializing service records to their XML representation
2021-07-22 16:08:39 +01:00
Frederik Carlier f74bd0960d Add Bluetooth HID SDP Attributes added in version 1.1 of the Human Interface Device Profile standard. 2021-07-21 22:44:08 +02:00
Frederik Carlier 7afc6e98d5 Support serializing service records to their XML representation
This PR adds the `ServiceRecordXmlCreator` class, which takes a `ServiceRecord` object and serializes it to its XML representation.

The XML representation is used by BlueZ (e.g. org.bluez.ProfileManager1.RegisterProfile takes an XML representation of the service record in its options dictionary).

I haven't found any formal documentation of the format, but the `convert_raw_data_to_xml` function (in src/sdp-xml.c in the BlueZ source code) provides a good overview.
2021-07-21 22:30:18 +02:00
Peter Foot f75312b520 more intelligent handling of failed connect() on Android 2021-07-20 14:43:26 +01:00
Peter Foot 0eaa77024a 4.0.20. Android SDK 31 support. Fix for null radio on Android Emulator. 2021-07-19 11:16:58 +01:00
Peter Foot b91d809540 Added missing overrides to AndroidNetworkStream. Added NotImplementedException to .NET Standard dll 2021-07-04 14:43:50 +01:00
Peter Foot 7912d118bb Win32 P/Invoke fixes - v4.0.18 2021-05-09 15:28:06 +01:00
Peter Foot 54d33db222 Corrected package version 2021-05-03 20:02:01 +01:00
Peter Foot 1710e545a9 4.0.17 - implemented missing Async overrides on AndroidNetworkStream. Implemented Length property 2021-05-03 14:10:12 +01:00
Peter Foot fe8c762fb1 updated dependencies. Expose Win32 BluetoothRadio properties 2021-04-22 17:30:33 +01:00
Peter Foot e7146c2ed9 Starting implementation of Bluetooth events 2021-03-09 11:50:13 +00:00
Peter Foot b38d84160c BluetoothClient.InquiryLength (Win32 only). Added some missing documentation tags. 4.0.16 2021-03-04 11:08:54 +00:00
Peter Foot 5880971096 Fix for BluetoothListener. V4.0.15 2021-02-15 14:28:05 +00:00
Peter Foot 58480b9459 Merge pull request #101 from tylersouthard/main
Resolve issues with BluetoothListener.win32 for 64-bit processes
2020-12-21 14:47:14 +00:00
Peter Foot 870d63a861 Introduced placeholders for UWP support 2020-12-21 14:44:38 +00:00
Tyler Southard 3aa0eddd33 Fixed BluetoothListener.Stop()
The blob.size needed to be one larger to account for the char *pRecord.

Also, re-arranged Stop() to mirror Start() a bit more.
2020-12-21 09:40:38 -05:00
Tyler Southard fb878fcec3 Resolve issues with BluetoothListener.win32 for 64-bit processes 2020-12-18 12:16:29 -05:00
Peter Foot 1d4a726d75 Fix for Win32Socket Close stack overflow. Reworked BluetoothListener.win32 to correctly handle both Socket/Win32Socket depending on platform. Added Port to BluetoothEndpoint and support in associated Create/Serialize etc. 2020-12-02 13:09:43 +00:00
Peter Foot 2c2cd6ea35 Strong naming, SDP code clean. Windows build uses regular .NET Socket unless running on Mono where it will use the limited Win32 wrapper. 2020-10-29 12:51:59 +00:00
Peter Foot edacf8ce41 Fixed samples. Cleared code formatting issues. 2020-09-29 10:38:13 +01:00
Peter Foot dcbf565938 Adding .NET Core with Windows runtime identifier 2020-09-14 17:28:46 +01:00
Peter Foot 37c4bdb758 More code tidying. Removing old XP compatibility 2020-08-18 16:48:49 +01:00
Peter Foot 86c212a477 Switched Android dependency to Xamarin.Essentials rather than Plugin.CurrentActivity. 2020-08-06 21:10:56 +01:00
Peter Foot 1dc825b357 4.0.8 2020-08-05 12:20:27 +01:00
Peter Foot ed96f4caa1 Moved RadioMode to separate file. Added RadioMode support to Android. Added explicit casts to native BluetoothAdaptor to Android. Win32 socket fixed for Mono use 2020-08-05 11:59:31 +01:00
Peter Foot f9bc834b78 Fixed project file 2020-08-01 18:05:01 +01:00
Peter Foot f6551ea507 Documentation updated 2020-07-25 00:48:30 +01:00