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 13, 2022 by Ervin Lan's avatar Ervin Lan
Hide whitespace changes
Inline Side-by-side
Showing with 15 additions and 13 deletions
+15 -13
  • STA5-SmartLink-command-guidance.md STA5-SmartLink-command-guidance.md +15 -13
  • No files found.
STA5-SmartLink-command-guidance.md
View page @ 2ef1bf6d
......@@ -265,7 +265,7 @@ if (ret < 0) {
| srcAppName | "SML" |
| dstAppName | Received Application name |
| cmd | E_DEVICE_PHONE_LINK_ON |
| len | Total length of message in bytes(288+6). |
| len | Total length of message in bytes(288+10).|
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
......@@ -284,7 +284,7 @@ if (ret < 0) {
| srcAppName | "SML" |
| dstAppName | Received Application name |
| cmd | E_DEVICE_PHONE_LINK_OFF |
| len | Total length of message in bytes(288+6). |
| len | Total length of message in bytes(288+10).|
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
......@@ -293,17 +293,19 @@ if (ret < 0) {
- From UI - Client
- The Phone Link software button pressed, 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_UI_PHONE_LINK_BTN |
| len | Total length of message in bytes(288). |
| 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_UI_PHONE_LINK_BTN |
| len | Total length of message in bytes(288+6). |
| ---Outside of 288 bytes--- | |
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
- From SmartLink: No return message.
......
Clone repository
  • APIs
  • STA5 SmartLink command guidance
  • Home