... | @@ -357,7 +357,7 @@ if (ret < 0) { |
... | @@ -357,7 +357,7 @@ if (ret < 0) { |
|
- When iAP2 connected, need to notify SmartLink.
|
|
- When iAP2 connected, 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. |
|
... | @@ -366,9 +366,10 @@ if (ret < 0) { |
... | @@ -366,9 +366,10 @@ if (ret < 0) { |
|
| srcAppName | Source application name in string. |
|
|
| srcAppName | Source application name in string. |
|
|
| dstAppName | "SML" |
|
|
| dstAppName | "SML" |
|
|
| cmd | E_BT_IAP2_CONNECTED |
|
|
| cmd | E_BT_IAP2_CONNECTED |
|
|
| 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. |
|
|
|
|
| iAP2SessionHandle | 4 bytes int. Represents a handle of iAP2 Session over bluetooth. |
|
|
|
|
|
|
- From SmartLink: No return message.
|
|
- From SmartLink: No return message.
|
|
|
|
|
... | @@ -377,7 +378,7 @@ if (ret < 0) { |
... | @@ -377,7 +378,7 @@ if (ret < 0) { |
|
- When iAP2 disconnected, need to notify SmartLink.
|
|
- When iAP2 disconnected, 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. |
|
... | @@ -386,9 +387,10 @@ if (ret < 0) { |
... | @@ -386,9 +387,10 @@ if (ret < 0) { |
|
| srcAppName | Source application name in string. |
|
|
| srcAppName | Source application name in string. |
|
|
| dstAppName | "SML" |
|
|
| dstAppName | "SML" |
|
|
| cmd | E_BT_IAP2_DISCONNECTED |
|
|
| cmd | E_BT_IAP2_DISCONNECTED |
|
|
| 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. |
|
|
|
|
| iAP2SessionHandle | 4 bytes int. Represents a handle of iAP2 Session over bluetooth. |
|
|
|
|
|
|
- From SmartLink: No return message.
|
|
- From SmartLink: No return message.
|
|
|
|
|
... | | ... | |