... | ... | @@ -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.
|
... | ... | |