Motorola g20 Developer's Manual page 302

At commands
Hide thumbs Also See for g20:
Table of Contents

Advertisement

Using the Commands
5.11.1.1
Open Service
The API Open Service MIP and MUI procedures are as follows:
• MIP: Use API TS0710_open_all_MUX_channels().
• MUI:
1. Send establish for control channel (07.10 SABM command frame for Channel 0).
2. Wait for ACK (07.10 UA command frame).
3. Send establish for the first channel (07.10 SABM command frame for Channel 1).
4. Wait for ACK (07.10 UA command frame).
5. Send establish for the second channel (07.10 SABM command frame for Channel 2).
6. Wait for ACK (07.10 UA command frame).
5.11.1.2
Close Service
The API Close Service MIP and MUI procedures are as follows:
• MIP:
1. Use API TS0710_close_all_MUX_channels().
2. Wait for third ACK (07.10 UA command frame).
• MUI:
1. Send release for second channel (07.10 DISC command frame for Channel 2).
2. Wait for ACK (07.10 UA command frame).
3. Send release for first channel (07.10 DISC command frame for Channel 1).
4. Wait for ACK (07.10 UA command frame).
5. Send release for control channel (07.10 DISC command frame for Channel 0) or 07.10 CLD command frame.
6. Wait for ACK (07.10 UA command frame).
5.11.1.3
Sending Data Service
The API Sending Data Service MIP and MUI procedures are as follows:
• MIP: Use API TS0710_application_send_data (MUX_CHANNEL dlc, BYTE data_length, BYTE *data_body).
• MUI:
1. Use UIH frame with the data encapsulated for sending Channel 1 data.
2. Use UIH frame with the data encapsulated for sending Channel 2 data.
288
98-08901C68-O

Advertisement

Table of Contents
loading

Table of Contents