Dmitri Gribenko
7103acb274
Use standard integer types
...
PiperOrigin-RevId: 585669976
2023-11-27 09:07:02 -08:00
hai007
7484132a95
Fix the following potential warnings:
...
* `-Wdeprecated-declarations`
* `-Wfinal-dtor-non-final-class`
* `-Werror=inconsistent-missing-override`
* `-Wignored-pragmas`
* `-Wint-to-void-pointer-cast`
* `-Winvalid-offsetof`
* `-Wmacro-redefined`
* `-Wmicrosoft-template`
* `-Wmicrosoft-cast`
* `-Wmicrosoft-exception-spec`
* `-Wmicrosoft-template-shadow`
* `-Wmicrosoft-unqualified-friend`
* `-Wmisleading-indentation`
* `-Werror=string-conversion`
* `-Wunused-result`
* `-Wunused-value`
* `-Wunused-variable`
* `-Wvla-extension`
* `-Wnon-virtual-dtor`
* `-Wimplicit-fallthrough`
PiperOrigin-RevId: 585621864
2023-11-27 05:24:59 -08:00
hai007
42043ee856
Add more log for Intel PIE API calling
...
PiperOrigin-RevId: 578409693
2023-10-31 23:20:48 -07:00
hai007
629e7ba7c9
Disable Intel PIE for github Opensource repo
...
PiperOrigin-RevId: 576593321
2023-10-25 11:34:34 -07:00
Hai Shang
f93959fd15
Add more logs for BT.
...
PiperOrigin-RevId: 576329921
2023-10-24 17:01:23 -07:00
Janusz Sobczak
5d4aab0185
Improve thread-safety in TaskRunnerImpl
...
PiperOrigin-RevId: 571981130
2023-10-12 04:47:48 +00:00
hai007
dfd3de80cf
Set a separate shorter timeout (10s) for REMOTE_DISCONNECTION
...
PiperOrigin-RevId: 570795839
2023-10-04 13:51:54 -07: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
3fdcbe4ddc
Added write timeout for Wi-Fi LAN socket
...
PiperOrigin-RevId: 570122181
2023-10-02 11:21:14 -07:00
hai007
d477a2d174
Apply GO frequency to NC that queries from Intel PIE SDK
...
PiperOrigin-RevId: 569558266
2023-09-29 12:25:01 -07:00
Aaron Yu
eba928e784
Fix bluetooth adapter null pointer exception
...
PiperOrigin-RevId: 568994552
2023-09-27 16:34:43 -07:00
Guogang Li
d095f505d3
Send payloads one by one
...
PiperOrigin-RevId: 568988147
2023-09-27 16:08:37 -07:00
Guogang Li
a1a442c8eb
Try to fix a crash when checking Bluetooth state
...
PiperOrigin-RevId: 568982667
2023-09-27 15:47:17 -07:00
hai007
77bc7311c6
Fix bug to work with PIE SDK version PHWFW07641_22.230.0.8PDK-20230707T202651Z-001
...
PiperOrigin-RevId: 567438343
2023-09-21 15:36:19 -07:00
Aaron Yu
7bde3abf8b
Harden ble v2 gatt server
...
PiperOrigin-RevId: 567069079
2023-09-20 13:48:56 -07:00
Guogang Li
1e5587e2db
Log the failure to get RF service
...
PiperOrigin-RevId: 567017321
2023-09-20 10:58:17 -07:00
Guogang Li
9774b5f53c
Fixed crash in Bluetooth Adapter
...
PiperOrigin-RevId: 566452194
2023-09-18 16:57:16 -07:00
hai007
091b4ebfa5
Hotspot Test Code
...
PiperOrigin-RevId: 565393814
2023-09-14 09:38:08 -07:00
Guogang Li
fe9c9f90b6
Refactored Bluetooth classic medium
...
PiperOrigin-RevId: 564813626
2023-09-12 13:21:47 -07:00
Guogang Li
533e145097
Added more logs for Wi-Fi socket
...
PiperOrigin-RevId: 564514790
2023-09-11 15:14:20 -07:00
hai007
c51830a97f
Port Intel PIE DLL, so we can query and control Intel WIFI directly
...
PiperOrigin-RevId: 563303511
2023-09-08 18:41:47 -07:00
Nick Bourdakos
197d3f8476
Fix weave bug for payloads that exceed the maximum write length
...
PiperOrigin-RevId: 563185164
2023-09-06 12:39:47 -07:00
Nick Bourdakos
aa0c06257f
Add macOS as an OS type
...
PiperOrigin-RevId: 561959449
2023-09-01 08:19:11 -07:00
Nick Bourdakos
16c6ef924b
Fix iOS BLE bugs and crashes
...
PiperOrigin-RevId: 561695661
2023-08-31 10:37:46 -07:00
Janusz Sobczak
263b1b4e85
Fix thread safety issue
...
The test could fail if threads needed a bit more time to spin up.
Test only change.
PiperOrigin-RevId: 561097187
2023-08-29 11:56:14 -07:00
hai007
55aedfb235
Implement Safe to Disconnect feature
...
PiperOrigin-RevId: 560119556
2023-08-25 09:51:44 -07:00
Nick Bourdakos
965cc0ecbc
Add implementation for async BLE start scan/advertise
...
PiperOrigin-RevId: 559863656
2023-08-24 14:07:46 -07:00
Nick Bourdakos
91fb4a9a3e
Add stop advertising and stop scanning BLE implementation for Apple platforms
...
PiperOrigin-RevId: 559838443
2023-08-24 12:45:23 -07:00
Nick Bourdakos
387393f1d6
Delete old BLE code for Apple platforms
...
PiperOrigin-RevId: 559515626
2023-08-23 12:54:15 -07:00
Nick Bourdakos
034865481a
Sanitize incoming file names
...
PiperOrigin-RevId: 559175545
2023-08-22 11:37:02 -07:00
Guogang Li
71b5c1d591
Put some logs in session manager
...
PiperOrigin-RevId: 558896551
2023-08-21 14:12:01 -07:00
Nick Bourdakos
9998093366
Add Objective-C++ BLE Medium wrapper
...
PiperOrigin-RevId: 558278732
2023-08-18 16:37:09 -07:00
Janusz Sobczak
e38ce96964
Replace AcceptedConnectionCallback structs with absl::AnyInvocable
...
PiperOrigin-RevId: 557949490
2023-08-17 15:14:25 -07:00
Janusz Sobczak
408344244f
Set thread status
...
PiperOrigin-RevId: 557942242
2023-08-17 14:47:35 -07:00
Nick Bourdakos
7933842c29
Add BLE Medium
...
PiperOrigin-RevId: 557933813
2023-08-17 14:17:28 -07:00
Nick Bourdakos
07a94a950d
Add Objective-C++ GATT client wrapper
...
PiperOrigin-RevId: 557925490
2023-08-17 13:48:48 -07:00
Nick Bourdakos
4aa52b45f9
Add GATT client
...
PiperOrigin-RevId: 557919250
2023-08-17 13:27:39 -07:00
Janusz Sobczak
2c55c0cdbd
Refactor Pipe implementation
...
* Remove Pipe classes
* Rename BasePipe to Pipe
* Hide Pipe class in anonymous namespace in pipe.cc
* Add CreatePipe static method
* Replace Payload(std::function<InputStream&()>) with Payload(std::unique_ptr<InputStream>)
* Find&Replace Pipe usages
PiperOrigin-RevId: 557276980
2023-08-15 15:53:58 -07:00
Janusz Sobczak
20db5da721
Extract SocketBase
...
Test only change.
Extracts a common base class for BluetoothSocket, BleSocket, BleV2Socket, WifiDirectSocket, WifiHotspotSocket and WifiLanSocket to reduce code duplication.
PiperOrigin-RevId: 557267937
2023-08-15 15:22:06 -07:00
Guogang Li
c8230a7ec3
Optimize application startup time
...
PiperOrigin-RevId: 557248394
2023-08-15 14:19:11 -07:00
Guogang Li
fabeff0d57
Added APIs to control device sleep
...
These APIs can be used to prevent device into sleep when sending supper big files.
PiperOrigin-RevId: 556809236
2023-08-14 09:05:11 -07:00
Janusz Sobczak
5393daf9f1
Merge logging and types build targets
...
Both "types" and "logging" build targets included "logging.h"
Merging them together avoids circular dependencies.
PiperOrigin-RevId: 555262816
2023-08-09 19:13:12 -07:00
Guogang Li
5b155f9a4a
Added data section filter in BLE scanning
...
PiperOrigin-RevId: 553660098
2023-08-09 19:11:48 -07:00
Guogang Li
0282ba7700
Changed the hotspot connection interval
...
PiperOrigin-RevId: 553319367
2023-08-09 19:06:53 -07:00
hai007
347d10b74f
Automated visibility attribute cleanup.
...
PiperOrigin-RevId: 553138950
2023-08-02 07:30:35 -07:00
Guogang Li
20f2291476
Added APIs to allow/prevent sleep in session manager
...
PiperOrigin-RevId: 552958620
2023-08-01 16:26:47 -07:00
Guogang Li
868d3ce046
Resolved the issue to monitor lock/unlock in platform SDK
...
PiperOrigin-RevId: 552655345
2023-07-31 19:13:27 -07:00
Nick Bourdakos
9d2cfc19c9
Add Objective-C++ GATT server wrapper
...
PiperOrigin-RevId: 552636264
2023-07-31 17:20:14 -07:00
Richard Levasseur
0d58ead61c
Internal change
...
PiperOrigin-RevId: 552574409
2023-07-31 13:22:20 -07:00
Nick Bourdakos
c1d74120a0
Add initial BLEv2 Bluetooth Adapter
...
PiperOrigin-RevId: 551922301
2023-07-28 12:32:27 -07:00