... | @@ -265,7 +265,7 @@ if (ret < 0) { |
... | @@ -265,7 +265,7 @@ if (ret < 0) { |
|
| srcAppName | "SML" |
|
|
| srcAppName | "SML" |
|
|
| dstAppName | Received Application name |
|
|
| dstAppName | Received Application name |
|
|
| cmd | E_DEVICE_PHONE_LINK_ON |
|
|
| 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--- | |
|
|
| ---Outside of 288 bytes--- | |
|
|
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
|
|
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
|
|
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
|
|
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
|
... | @@ -284,7 +284,7 @@ if (ret < 0) { |
... | @@ -284,7 +284,7 @@ if (ret < 0) { |
|
| srcAppName | "SML" |
|
|
| srcAppName | "SML" |
|
|
| dstAppName | Received Application name |
|
|
| dstAppName | Received Application name |
|
|
| cmd | E_DEVICE_PHONE_LINK_OFF |
|
|
| 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--- | |
|
|
| ---Outside of 288 bytes--- | |
|
|
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
|
|
| BtMacAddress[6] | 6 bytes, the BT MAC address of MD. |
|
|
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
|
|
| SupportedAPP | 4 bytes, refer to APP_TYPE. |
|
... | @@ -293,17 +293,19 @@ if (ret < 0) { |
... | @@ -293,17 +293,19 @@ if (ret < 0) { |
|
- From UI - Client
|
|
- From UI - Client
|
|
- The Phone Link software button pressed, need to notify SmartLink.
|
|
- The Phone Link software button pressed, need to notify SmartLink.
|
|
|
|
|
|
| Data member | Value |
|
|
| Data member | Value |
|
|
| ----------- | -------------------------------------- |
|
|
| -------------------------- | ---------------------------------------- |
|
|
| version | SML_MAJOR_VERSION |
|
|
| version | SML_MAJOR_VERSION |
|
|
| mode | E_DELEGATE |
|
|
| mode | E_DELEGATE |
|
|
| AppType | Refer to type APP_TYPE. |
|
|
| AppType | Refer to type APP_TYPE. |
|
|
| state | E_STATE_OK |
|
|
| state | E_STATE_OK |
|
|
| AppClientID | Client ID. |
|
|
| AppClientID | Client ID. |
|
|
| srcAppName | Source application name in string. |
|
|
| srcAppName | Source application name in string. |
|
|
| dstAppName | "SML" |
|
|
| dstAppName | "SML" |
|
|
| cmd | E_UI_PHONE_LINK_BTN |
|
|
| cmd | E_UI_PHONE_LINK_BTN |
|
|
| len | Total length of message in bytes(288). |
|
|
| 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.
|
|
- From SmartLink: No return message.
|
|
|
|
|
... | | ... | |