hai007
306e5df90a
Automated Code Change
...
PiperOrigin-RevId: 871299383
2026-02-17 07:11:04 -08:00
Francis Tsui
fbf66ad7e3
Switch OutputStream::Write to use string_view.
...
PiperOrigin-RevId: 854225267
2026-01-09 09:37:00 -08:00
Guogang Li
47f2dfec28
Removed platform types dependency from windows platform codes
...
PiperOrigin-RevId: 676447748
2024-09-19 09:37:29 -07:00
Guogang Li
caa82a41d8
Added flag control to Bluetooth update
...
PiperOrigin-RevId: 599538193
2024-01-18 09:54:54 -08:00
Guogang Li
7dea977b74
Try to fix Bluetooth issue to get service
...
PiperOrigin-RevId: 570475245
2023-10-03 13:12:31 -07:00
Guogang Li
4b27e8c446
Fixed crash during BT connection
...
PiperOrigin-RevId: 527656444
2023-04-27 12:47:36 -07:00
Guogang Li
49aa73bbdd
Fixed bug of folder sharing
...
PiperOrigin-RevId: 524417795
2023-04-14 16:56:14 -07:00
Guogang Li
097ff07811
Added connect retry for Bluetooth
...
PiperOrigin-RevId: 522382120
2023-04-06 11:04:59 -07:00
Guogang Li
070609883f
Fixed the crashes in Bluetooth socket
...
PiperOrigin-RevId: 511615254
2023-02-22 15:37:43 -08:00
Aaron Yu
b8627563a0
Fix bluetooth socket crash during release of resource
...
From the crash call stack, the app crashed at the line `windows_socket = nullptr;` This is because the previous line `windows_socket_.Close();` has already released all unmanaged resources associated with the StreamSocket object.
https://learn.microsoft.com/en-us/uwp/api/windows.networking.sockets.streamsocket.close?view=winrt-22621#remarks
By RAII, assigning `windows_socket_` to nullptr is equivalent to calling `delete` on the StreamSocket allocated on the heap again, which results in null pointer exception `Exception infoEXCEPTION_ACCESS_VIOLATION_READ @0x00000000` because it has already been released in the previous line by Close().
PiperOrigin-RevId: 508454142
2023-02-09 13:05:29 -08:00
Guogang Li
26973fada5
Use read/write buffer in bluetooth socket
...
PiperOrigin-RevId: 506815067
2023-02-02 22:49:32 -08:00
Guogang Li
e261be1a16
Enable Bluetooth connection status track
...
PiperOrigin-RevId: 501334205
2023-01-11 11:31:27 -08:00
Guogang Li
350e76e690
Add flag to control connection timeout feature
...
PiperOrigin-RevId: 500822176
2023-01-09 15:26:59 -08:00
Guogang Li
06713fe918
Log Bluetooth connection status change
...
PiperOrigin-RevId: 500228494
2023-01-06 15:09:34 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Guogang Li
73c1fba668
Added connection timeout for Wi-Fi Lan and hotspot
...
PiperOrigin-RevId: 495155204
2022-12-13 16:25:16 -08:00
Guogang Li
8c8e5d7e6f
Updated the read method for Bluetooth classic
...
PiperOrigin-RevId: 487595432
2022-11-10 11:37:22 -08:00
Guogang Li
23a27d9384
Catch all socket exceptions
...
PiperOrigin-RevId: 487316606
2022-11-09 12:29:43 -08:00
Guogang Li
33c5f44ea1
Unified the exception handling in socket
...
PiperOrigin-RevId: 485457718
2022-11-01 17:15:51 -07:00
aaronyujiaze
199bbc9cd1
Add null checkers to Bluetooth Classic medium ConnectToService
...
PiperOrigin-RevId: 453542256
2022-06-07 15:44:41 -07:00
aaronyujiaze
71974b2c0b
Fix BlePeripheral pointer protection bug
...
PiperOrigin-RevId: 452884820
2022-06-03 19:08:15 -07:00
hai007
e9c4225443
Fix typo in the Nearby Sharing Windows Bluetooth classic socket logging.
...
PiperOrigin-RevId: 448113611
2022-05-11 16:42:58 -07:00
guogang
31b2aae6c5
Fixed crashes during bandwidth upgrade
...
PiperOrigin-RevId: 435192352
2022-03-16 16:36:09 -07:00
hais
f5fcd35ced
nearby sdk refactor
...
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00