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