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 22, 2022 by Ervin Lan's avatar Ervin Lan
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 38 deletions
+0 -38
  • STA5-SmartLink-command-guidance.md STA5-SmartLink-command-guidance.md +0 -38
  • No files found.
STA5-SmartLink-command-guidance.md
View page @ 18dfb830
......@@ -19,8 +19,6 @@
- [E_DEVICE_PHONE_LINK_ON](#device-phone-link-on)
- [E_DEVICE_PHONE_LINK_OFF](#device-phone-link-off)
- [E_UI_PHONE_LINK_BTN](#ui-phone-link-software-button)
- [E_REQ_GET_PHONE_LINK_STATUS](#get-phone-link-connection-status)
- [E_RETURN_PHONE_LINK_CONNECTION_ALLOW/E_RETURN_PHONE_LINK_CONNECTION_REJECT](#return-phone-link-connection-status)
- [E_BT_IAP2_CONNECTED](#iap2-connected)
- [E_BT_IAP2_DISCONNECTED](#iap2-disconnected)
- [E_DISCONNECT_IPHONE_BT](#disconnect-bt-connection-with-iphone)
......@@ -317,42 +315,6 @@ if (ret < 0) {
- From SmartLink: No return message.
### Get Phone Link connection status
- From APPs - Client
- To get the Phone Link status from SmartLink. Send below message to 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_REQ_GET_PHONE_LINK_STATUS |
| len | Total length of message in bytes(288). |
- From SmartLink: Returned message, refer next section(Return Phone Link connection status).
### Return Phone Link connection status
- From SmartLink - Server
- Phone Link connection status returned from SmartLink:
- E_RETURN_PHONE_LINK_CONNECTION_ALLOW means Phone Link connection not exist, allow connection.
- E_RETURN_PHONE_LINK_CONNECTION_REJECT means Phone Link already exist, reject another connection.
| Data member | Value |
| ----------- | -------------------------------------------------------------------------- |
| version | SML_MAJOR_VERSION |
| mode | E_DELEGATE |
| AppType | Refer to type APP_TYPE. |
| state | E_STATE_OK |
| AppClientID | Client ID. |
| srcAppName | "SML" |
| dstAppName | Received Application name |
| cmd | E_RETURN_PHONE_LINK_CONNECTION_ALLOW/E_RETURN_PHONE_LINK_CONNECTION_REJECT |
| len | Total length of message in bytes(288). |
### iAP2 connected
- From BTSRV - Client
- When iAP2 connected, need to notify SmartLink.
......
Clone repository
  • APIs
  • STA5 SmartLink command guidance
  • Home