You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/FEATURE_BLE/targets/TARGET_CORDIO/doc/PortingGuide.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Compile the BLE Cordio port sources:
35
35
36
36
## Implement CordioHCIDriver:
37
37
38
-
Include an HCI driver for the BLE module used by the target, and a factory function which creates the BLE instance you use.
38
+
Include an HCI driver for the BLE module used by the target, and a factory function that creates the BLE instance you use.
39
39
40
40
### Create source folder
41
41
@@ -45,7 +45,7 @@ Include an HCI driver for the BLE module used by the target, and a factory funct
45
45
46
46
### Create the HCI driver
47
47
48
-
The HCI driver is split in two entities: one which handle HCI communication with the Bluetooth module and the other handling the initialization, reset sequence and memory dedicated for the Bluetooth controller.
48
+
The HCI driver is split in two entities. One handles HCI communication with the Bluetooth module. The other handles initialization, reset sequence, and memory dedicated to the Bluetooth controller.
49
49
50
50
More information about the architecture can be found in [HCI abstraction architecture](HCIAbstraction.md).
51
51
@@ -89,7 +89,7 @@ It inherits publicly from the base class `CordioHCITransportDriver`.
89
89
90
90
***Sending data**: The function `write` sends data in input to the Bluetooth controller and return the number of bytes in the `data` buffer sent. Depending on the type of transport you implement, you may need to send the packet `type` to the controller before the packet data.
91
91
92
-
***Receiving data**: Inject HCI data from the Bluetooth controller to the system by invoking the function `on_data_received`. This function is a static one and is provided by the base class.
92
+
***Receiving data**: Inject HCI data from the Bluetooth controller to the system by calling `on_data_received`. This is a static function provided by the base class.
0 commit comments