Commit Graph
17 Commits
Author SHA1 Message Date
hai007 00a2999269 Format all the files in CL786733783
PiperOrigin-RevId: 786873870
2025-07-24 16:25:18 -07:00
hai007 71cdf84236 Replace NEARBY_LOGS with LOG for all coding under google3/third_party/nearby/
PiperOrigin-RevId: 786733783
2025-07-24 09:34:17 -07:00
Guogang Li ed6562754b Enhance on keep alive
PiperOrigin-RevId: 719317678
2025-01-24 08:45:49 -08:00
Edwin Wu fb2e7e687b analytics: Modify OperationResultCode in C++ implementation
PiperOrigin-RevId: 704951400
2024-12-10 20:57:25 -08:00
Guogang Li 13e2f1a23b Make the default packet size of transmission changeable
PiperOrigin-RevId: 702411852
2024-12-03 11:37:20 -08:00
hai007 cb07eead88 Implement multiplex for WIFI_LAN
PiperOrigin-RevId: 694239460
2024-11-07 14:02:22 -08:00
Francis Tsui 2f4eb8649a Improve frame validation logging.
PiperOrigin-RevId: 674365762
2024-09-13 11:15:58 -07:00
Guogang Li d5b5d92f87 Internal logging update
PiperOrigin-RevId: 669420403
2024-08-30 13:08:35 -07:00
hai007 bc77c39d84 This CL logs the safe disconnection result in the analytics recorder.
PiperOrigin-RevId: 655757596
2024-07-24 17:41:00 -07:00
Janusz Sobczak 2c08cfc9e8 Close BaseEndpointChannel once
Closing the bluetoth socket and streams more than once is wasteful and error prone.

PiperOrigin-RevId: 549964135
2023-07-21 09:12:05 -07:00
Janusz Sobczak 6d5eab04d3 Work around race condition during encryption setup
The sending party may finish setting up encryption and start
sending encrypted packets while the receiving party is still configuring
encryption and expecting unencrypted packets

PiperOrigin-RevId: 549267838
2023-07-19 03:47:10 -07:00
Janusz Sobczak 1a78b33a89 Add InputStream::ReadExactly
Read() can return fewer bytes than requested.
ReadExactly() will call Read() repeatedly until we
have read as many bytes as we need.

PiperOrigin-RevId: 518719418
2023-03-22 17:45:50 -07:00
Suet-Fei Li 084f7ebd88 Remove location namespace in third_party/nearby.
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
hai007 8f681dece0 Throughput profiling
PiperOrigin-RevId: 477752265
2022-09-29 10:02:11 -07:00
hai007 0a7f68f382 Cap the output stream package size to kMaxAllowedReadBytes, which is 1048576
PiperOrigin-RevId: 459622727
2022-07-07 16:00:19 -07:00
nohle 463d391fcd [Nearby Connections][C++] Track bandwidth upgrade mediums for each endpoint (1/4)
This CL should be a no-op.

Provide better access to the service ID during bandwidth upgrade handling. Notably, 1) have the endpoint channel store its associated service ID, and 2) send the service ID on a connect/disconnect.

The service ID identifies the application, for example, "NearbySharing". In future CLs, we will use the service IDs to better handle bandwidth-upgrade bookkeeping when multiple services are running simultaneously. Specifically, we will better handle reverting a bandwidth-upgrade medium without interfering with other services.

PiperOrigin-RevId: 442019209
2022-04-15 08:15:53 -07:00
hais f5fcd35ced nearby sdk refactor
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00