Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • AnW_STA5_SmartLink AnW_STA5_SmartLink
  • Project information
    • Project information
    • Activity
    • Members
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • Ervin Lan
  • AnW_STA5_SmartLinkAnW_STA5_SmartLink
  • Wiki
  • STA5 SmartLink command guidance

STA5 SmartLink command guidance · Changes

Page history
Update STA5 SmartLink command guidance authored Apr 18, 2022 by Ervin Lan's avatar Ervin Lan
Hide whitespace changes
Inline Side-by-side
Showing with 28 additions and 26 deletions
+28 -26
  • STA5-SmartLink-command-guidance.md STA5-SmartLink-command-guidance.md +28 -26
  • No files found.
STA5-SmartLink-command-guidance.md
View page @ 4b925d41
......@@ -356,19 +356,20 @@ if (ret < 0) {
- From BTSRV - Client
- When iAP2 connected, need to notify SmartLink.
| Data member | Value |
| -------------------------- | ---------------------------------------- |
| version | SML_MAJOR_VERSION |
| mode | E_DELEGATE |
| AppType | Refer to type APP_TYPE. |
| state | E_STATE_OK |
| AppClientID | Client ID. |
| srcAppName | Source application name in string. |
| dstAppName | "SML" |
| cmd | E_BT_IAP2_CONNECTED |
| len | Total length of message in bytes(288+6). |
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| Data member | Value |
| -------------------------- | ---------------------------------------------------------------- |
| version | SML_MAJOR_VERSION |
| mode | E_DELEGATE |
| AppType | Refer to type APP_TYPE. |
| state | E_STATE_OK |
| AppClientID | Client ID. |
| srcAppName | Source application name in string. |
| dstAppName | "SML" |
| cmd | E_BT_IAP2_CONNECTED |
| len | Total length of message in bytes(288+10). |
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| iAP2SessionHandle | 4 bytes int. Represents a handle of iAP2 Session over bluetooth. |
- From SmartLink: No return message.
......@@ -376,19 +377,20 @@ if (ret < 0) {
- From BTSRV - Client
- When iAP2 disconnected, need to notify SmartLink.
| Data member | Value |
| -------------------------- | ---------------------------------------- |
| version | SML_MAJOR_VERSION |
| mode | E_DELEGATE |
| AppType | Refer to type APP_TYPE. |
| state | E_STATE_OK |
| AppClientID | Client ID. |
| srcAppName | Source application name in string. |
| dstAppName | "SML" |
| cmd | E_BT_IAP2_DISCONNECTED |
| len | Total length of message in bytes(288+6). |
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| Data member | Value |
| -------------------------- | ---------------------------------------------------------------- |
| version | SML_MAJOR_VERSION |
| mode | E_DELEGATE |
| AppType | Refer to type APP_TYPE. |
| state | E_STATE_OK |
| AppClientID | Client ID. |
| srcAppName | Source application name in string. |
| dstAppName | "SML" |
| cmd | E_BT_IAP2_DISCONNECTED |
| len | Total length of message in bytes(288+10). |
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| iAP2SessionHandle | 4 bytes int. Represents a handle of iAP2 Session over bluetooth. |
- From SmartLink: No return message.
......
Clone repository
  • APIs
  • STA5 SmartLink command guidance
  • Home