diff --git a/en/readme/intelligent-soft-bus.md b/en/readme/intelligent-soft-bus.md old mode 100755 new mode 100644 index a5b6812dbcd2f5cea24cac4b11ccdfb40598c6e1..3626cc1ec11b547fcc88a1b3240d8b817b605a46 --- a/en/readme/intelligent-soft-bus.md +++ b/en/readme/intelligent-soft-bus.md @@ -38,23 +38,25 @@ You can use APIs of the distributed communication subsystem to implement fast an 1. **Device discovery** -When using device discovery, ensure that the device to perform a discovery and the device to discover are in the same LAN and the devices can receive packets from each other. + When using device discovery, ensure that the device to perform a discovery and the device to discover are in the same LAN and the devices can receive packets from each other. -a. After a device sends a discovery request, it uses Constrained Application Protocol \(CoAP\) to send a broadcast packet in the LAN. + a. After a device sends a discovery request, it uses Constrained Application Protocol \(CoAP\) to send a broadcast packet in the LAN. -b. The discovered device uses the **PublishService** API to publish services. After receiving the broadcast packet, the device sends a CoAP unicast packet to the device that performs the discovery. + b. The discovered device uses the **PublishService** API to publish services. After receiving the broadcast packet, the device sends a CoAP unicast packet to the device that performs the discovery. -c. After receiving the packet, the device that performs the discovery updates device information. + c. After receiving the packet, the device that performs the discovery updates device information. -**2. Transmission** +2. **Transmission** The soft bus provides unified session-based transmission. Services can receive and send data or obtain basic attributes through **sessionId**. Currently, services can determine whether to accept a received session based on the service requirements and session attributes. Currently, sessions cannot be enabled. ## Repositories Involved -communication\_softbus\_lite +**Intelligent Soft Bus subsystem** -communication\_ipc\_lite +[communication\_softbus\_lite](https://gitee.com/openharmony/communication_softbus_lite/blob/master/README.md) -communication\_wifi\_aware +[communication\_ipc\_lite](https://gitee.com/openharmony/communication_ipc_lite/blob/master/README.md) + +[communication\_wifi\_aware](https://gitee.com/openharmony/communication_wifi_aware/blob/master/README.md) diff --git "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" index 09abf298a409161f18453823d8194c61cd84222c..36386021d10ee9e0e71c771f997803137d24ff01 100644 --- "a/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" +++ "b/zh-cn/readme/\345\210\206\345\270\203\345\274\217\350\275\257\346\200\273\347\272\277\345\255\220\347\263\273\347\273\237.md" @@ -38,23 +38,25 @@ 1. **设备发现** -用户使用发现功能时,需要保证发现端设备与被发现端设备在同一个局域网内,并且互相能收到对方以下流程的报文。 + 用户使用发现功能时,需要保证发现端设备与被发现端设备在同一个局域网内,并且互相能收到对方以下流程的报文。 -(1)发现端设备,发起discover请求后,使用coap协议在局域网内发送广播。 + (1)发现端设备,发起discover请求后,使用coap协议在局域网内发送广播。 -(2)被发现端设备使用PublishService接口发布服务,接收端收到广播后,发送coap协议单播给发现端。 + (2)被发现端设备使用PublishService接口发布服务,接收端收到广播后,发送coap协议单播给发现端。 -(3)发现端设备收到报文会更新设备信息。 + (3)发现端设备收到报文会更新设备信息。 -**2. 传输** +2. **传输** 软总线提供统一的基于Session的传输功能,业务可以通过sessionId收发数据或获取其相关基本属性。当前本项目只实现被动接收Session连接的功能,业务可根据自身需要及Session自身属性判断是否接受此Session,如不接受,可以主动拒绝此连接。本项目暂未提供打开Session的相关能力。 ## 涉及仓 -communication\_softbus\_lite +**分布式软总线子系统** -communication\_ipc\_lite +[communication\_softbus\_lite](https://gitee.com/openharmony/communication_softbus_lite/blob/master/README_zh.md) -communication\_wifi\_aware +[communication\_ipc\_lite](https://gitee.com/openharmony/communication_ipc_lite/blob/master/README_zh.md) + +[communication\_wifi\_aware](https://gitee.com/openharmony/communication_wifi_aware/blob/master/README_zh.md)